Changing Namespace of An Envelope
Apologies from a newbie if this was discussed before.
I kept getting an error:
org.xml.sax.SAXException: Deserializing parameter
'SoapAccount': could not find deserializer for type
The SoapAccount is an object returned by a Webservice. However, the
client is using http://namespaces.soaplite.com/perl. I looked at the
envelope being sent and indeed it is using the aforementioned URI. My
question is, how can I change an entry in the Envelope being sent
while maintaining the other values? Someone suggested to me to use
the namespace from the Webservice but I do not know how to change the
The Envelope starts with:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
The one in question is the xmlns:namesp3. Or is there another
solution to fix the deserialization/serialization issue?