Re: How to resolve SOAP differences
- From: "Stefan Misch" <stefan.misch@xxxxxxxxxxxxxxxxx>
- Date: Wed, 24 Aug 2005 14:04:28 +0200
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">
>
>
.
- Follow-Ups:
- Re: How to resolve SOAP differences
- From: MR
- Re: How to resolve SOAP differences
- References:
- How to resolve SOAP differences
- From: MR
- How to resolve SOAP differences
- Prev by Date: Re: How to resolve SOAP differences
- Next by Date: Re: How to resolve SOAP differences
- Previous by thread: Re: How to resolve SOAP differences
- Next by thread: Re: How to resolve SOAP differences
- Index(es):
Relevant Pages
|