Re: How to resolve SOAP differences

Tech-Archive recommends: Fix windows errors by optimizing your registry



Are you sure that it's the "soap" instead of the "SOAP-ENV" that causes the
problem? After all these are just local namespace prefixes for
"http://schemas.xmlsoap.org/soap/envelope/";. As long as this URI is the same
for the prefixes defined it should make no difference.

I expect the problem could be the "submitOrderBatch" node. As "they" define
a NS with xmlns:ns1="urn:OrderOperations" but you define
xmlns="http://tempuri.org/";, which is another NS. So "your" node
sumbitOrderBatch is not the submitOrderBatch they expect.

Just a thought...
Stefan


"MR" <comconix@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:%23kUl5iBqFHA.3404@xxxxxxxxxxxxxxxxxxxxxxx
> my soap messages to a remote site are failing. as far as i can tell the
> only differences between what my SOAP message looks liek and what they
> want are in the SOAP envelope
> SInce they don't have a wsdl doc i created a localhost site based on their
> DTD documetns.
>
> How do I configure my site (and client proxy) to match thier envelope?
>
> Any help would be greatly appreciated
> thanks
> mr
>
> WHAT THEY WANT
>
> <?xml version="1.0" encoding="UTF-8" ?>
> - <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
> - <SOAP-ENV:Body>
> - <ns1:submitOrderBatch xmlns:ns1="urn:OrderOperations"
> SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml";>
>
> WHAT I AM SENDING
> <?xml version="1.0" encoding="utf-8" ?>
> - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> - <soap:Body>
> - <orderBatchElement xmlns="http://tempuri.org/";>
> - <submitOrderBatch CustomerBatchID="58"
> xmlns="http://tempuri.org/submitOrderBatch.xs";>
>
>


.



Relevant Pages

  • Re: How to resolve SOAP differences
    ... After all these are just local namespace prefixes for ... >> my soap messages to a remote site are failing. ... >> How do I configure my site to match thier envelope? ...
    (microsoft.public.dotnet.framework.webservices)
  • How to resolve SOAP differences
    ... my soap messages to a remote site are failing. ... differences between what my SOAP message looks liek and what they want are ... How do I configure my site to match thier envelope? ...
    (microsoft.public.dotnet.framework.webservices)