Hi again
I have a Apache SOAP web service that uses Castor for marshalling and
unmarshalling.
When a client (e.g. SOAPScope client ) not using Castor to generate the XML
for the parameters is used it appends xsi:type to the elements with the xsi
namespace declaration in the soap envelope.
When the body is passed to Castor's unmarshaller it does not know the xsi
namespace.
And now my question: is there anyway to tell the unmarshaller about the
missing namespace?
I have enclosed the envelope
<soap:Envelope
xmlns:mrns0="someNs"
xmlns:mrns1="someNs:service"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<mrns1:login>
-- it is only this part that ends up in my method that calls the
unmarshaller
<mrns0:login>
<mrns0:att1 xsi:type="mrns0:cvrtype"></mrns0:att1>
<mrns0:att2 xsi:type="mrns0:pnumbertype"></mrns0:att2>
</mrns0:login>
-----
</mrns1:login>
</soap:Body>
</soap:Envelope>
/Chr
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev