Hi
I have a wsdl (well… a fraction of it) file that is generated from a web service (soap-rpc) created in .Net. I know soap-rpc isn´t the best but it´s a 3rd party service so I cant do much about that.
When consuming the service from .Net, it works well but if I try to do the same using wm (by creating a ws connector) I get a soap fault:
“The ID attribute is not declared”
If looking at the wm generated soap body, the KS01710I element contains an “id” attribute whereas the .Net generated soap body does not.
Can anyone please explain why, or at least try
I have attached the wsdl file and the output from the tests using .Net and wm.
[WM Soap Message]
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/[/color][COLOR=#0000ff]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/[/color][COLOR=#0000ff]"
xmlns:xsd="http://www.w3.org/2001/XMLSchema[/color][COLOR=#0000ff]"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance[/color][COLOR=#0000ff]"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/[/color][COLOR=#0000ff]">
<SOAP-ENV:Body>
[SIZE=1]<ser-root:KS01710_Operation xmlns:ser-root="http://www.foo.com/webservices[COLOR=#0000ff]" SOAP-ENC:root='1’>
[/size]<KS01710I xsi:type="sc1:KS01710I" xmlns:sc1="http://www.foo.com" id="id1">
<PR_DATO xsi:type="xsd:string">12341234</PR_DATO>
</KS01710I>
</ser-root:KS01710_Operation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[/COLOR]
[.Net Soap Message]
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/[/color][COLOR=#0000ff]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance[/color][COLOR=#0000ff]" xmlns:xsd="http://www.w3.org/2001/XMLSchema[/color][COLOR=#0000ff]">
<soap:Body>
[SIZE=1]<KS01710_Operation xmlns="http://www.foo.com/webservices[COLOR=#0000ff]">
[/size]<KS01710I xmlns=“”>
<PR_DATO xmlns="http://www.foo.com">test</PR_DATO>
</KS01710I>
</KS01710_Operation>
</soap:Body>
</soap:Envelope>
Regards
Mikael
[/COLOR]