Hello,

I know that some folks have had success with an Apache Soap 2.2 client calling cand 
.NET web
service.
The following SOAP request worked beautifully with MSSOAP 2.0 sp 2.

<?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:PurchaseProduct
xmlns:ns1="http://tempuri.org/message/";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
<sXML xsi:type="xsd:string">
a bunch of stuff in here
</sXML>
</ns1:PurchaseProduct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Any ideas why the we now get the following response from the the .NET service ...
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Server was unable to read request. --> There is an error in XML document 
(4, 2). --> &lt;PurchaseProduct xmlns='http://tempuri.org/message/'>; was not 
expected.</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

Thanks,
Dave

Reply via email to