Wednesday, 10 December 2014

Need to understand the reason/cause of Extra / Redundant namespace in SOAP body nodes



I am new at web service implementations, so bear with me if question looks sily.


I am trying to invoke external web service using SOAP message, protocol used in SOAP 1.1 Although i am able to generate SOAP envelope using WSDL and XSD files provided but the outbound SOAP message nodes is generated with extra blank namespaces under



<soap:body>


nodes as below -



<soapenv:Body>
<urn2:test xmlns:urn2="example.com" xmlns:xsi="http://ift.tt/KyRS61 instance">
<urn2:node1 xmlns:urn2="">
<urn2:node2 xmlns:urn2="">25</urn2:node2>

.... so on ...

</urn2:node1>
</urn2:test>
</soapenv:Body>


I have no clue from where these extra/redundant namespaces are getting generated. And problem is that i don't have access to code which is generating this SOAP envelope to see what's going on.Appreciate quick help on this.


No comments:

Post a Comment