These look like RPC/encoded services, in which case you can, but I
think this means you'll have to parse and generate the XML messages
yourself. Forget about databinding. (Unless any of the non-JAXB
databinding methods can help here?)

Have a look at the docs for Provider services:
http://cwiki.apache.org/CXF20DOC/provider-services.html

Andrew.

2009/3/11 emilSverige <[email protected]>:
>
> Hi,
> I am working on a project where I am supposed to replace a 10 year old web
> service with a cxf web service.
> The existing web service have no wsdl file. The only thing I have is the xml
> that is being posted from the client to the web service.
> Is it possible to create a web service using this info only?
>
> This is the inbound message for one of the methods of the service:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>        <SOAP-ENV:Body>
>                <ns1:getCustomer xmlns:ns1="urn:Emil"
>                        
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>                        <pCustomerId xsi:type="ns1:EmilCustomerId">
>                                <id xsi:type="xsd:long">1</id>
>                        </pCustomerId>
>                </ns1:getCustomer>
>        </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> And here is another:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>        <SOAP-ENV:Body>
>                <ns1:getCustomerId xmlns:ns1="urn:Emil"
>                        
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
>                        <pPersonNumber xsi:type="ns1:EmilPersonNumber">
>                                <number 
> xsi:type="xsd:string">{PERSON_ID}</number>
>                        </pPersonNumber>
>                </ns1:getCustomerId>
>        </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> --
> View this message in context: 
> http://www.nabble.com/Generating-a-service-from-an-inbound-message-tp22457225p22457225.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>



-- 
:: http://biotext.org.uk/ ::

Reply via email to