We're trying to get IBM Websphere Business Integration to talk to a .net
webservice. We're using document/literal. WBI is sending a soap request
that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Eric Moore
(Scholastic, Inc.) -->
<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>
<ns0:individualName xmlns:ns0="IndivName_Service">
<ELEMENT 1>
<ELEMENT2 ATTRIBUT1="X" ATTRIBUTE2="Y">
<ELEMENT3>VALUE</ELEMENT3>
</ELEMENT2>
</ELEMENT 1>
</ns0:individualName>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The ns0: being on the root, but not on all the rest of the elements is
causing .net to get a null object. If the ns0: is removed from the soap
message, everything works. If ns0: is added to every element, it works as
well. Is the above structure valid and/or is there some known issue with the
above structure?
Thanks,
Eric