alfredozn
Feb 23rd, 2009, 09:59 PM
Hi,
I'm building a WS to dispatch request from several old Axis clients.
I took the WSDL and if i try to send and receive messages using SoapUI i can do it without problems, but the old axis clients sends messages like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getOrden xmlns:ns1="CONFIN_WS_RCE"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<request href="#id0" />
</ns1:getOrden>
<multiRef xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="CONFIN_WS_RCE" id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:Request">
<contents href="#id1" />
<solicitud href="#id2" />
<userAddress xsi:type="soapenc:string">
127.0.0.1</userAddress>
<wsAddress xsi:type="soapenc:string">localhost</wsAddress>
<uri xsi:type="soapenc:string">/RceOnline/GetOrden</uri>
</multiRef>
.
.(more xml with hrefs declaration as multiref elements)
.
.
.
I'm using JaxB 2.1 to get the object representation but I don't know how to configure the bean in order to unmarshall correctly this kind of messages.
Any help??
Thanks.
I'm building a WS to dispatch request from several old Axis clients.
I took the WSDL and if i try to send and receive messages using SoapUI i can do it without problems, but the old axis clients sends messages like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getOrden xmlns:ns1="CONFIN_WS_RCE"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<request href="#id0" />
</ns1:getOrden>
<multiRef xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="CONFIN_WS_RCE" id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:Request">
<contents href="#id1" />
<solicitud href="#id2" />
<userAddress xsi:type="soapenc:string">
127.0.0.1</userAddress>
<wsAddress xsi:type="soapenc:string">localhost</wsAddress>
<uri xsi:type="soapenc:string">/RceOnline/GetOrden</uri>
</multiRef>
.
.(more xml with hrefs declaration as multiref elements)
.
.
.
I'm using JaxB 2.1 to get the object representation but I don't know how to configure the bean in order to unmarshall correctly this kind of messages.
Any help??
Thanks.