Click here to Skip to main content
16,006,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to connect to a web service of our client which is returning me an error like below:

"Client found response content type of 'multipart/related; boundary="MIMEBoundaryurn_uuid_73277F90883C8B84131293668453833"; type="application/xop+xml"; start="<0.urn:uuid:73277F90883C8B84131293668453834@apache.org>"; start-info="text/xml"', but expected 'text/xml'.
The request failed with the error message:
--
--MIMEBoundaryurn_uuid_73277F90883C8B84131293668453833
Content-Type: application/xop+xml; charset=utf-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:73277F90883C8B84131293668453834@apache.org>

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns2:GetDocumentContentByIdResponse xmlns:ns2="http://service.integration.NBAD.ae/"><return><?xml version='1.0' encoding='UTF-8'?><WSResponse><methodResponse>Success</methodResponse><URL>http://p2flntwbv01:9080/Workplace/getContent?objectStoreName=NBADOS&vsId={5E907B3E-C502-4548-8689-62BC99ADB640}&id=CF5B0083-86C5-49E5-A7F9-FFA811CF6036&objectType=document&ut=symmetric%3Aalgorithm%3AQUVT%3Akeyid%3AOGJhMzdhNGM%3D%3Adata%3Ao%2FU1dzRN8O%2BcWH17tXwPwdHtxk3VvM0JJwW3WhI2ZUt8xfXSD3%2BgKRUqpsOaFkakLra0kws4cRDvNzcAqRGgrH5vOJkwg3LGPU8crCyHj1e01ssXMKKFqA2q%2BfDbYmqbwp0zV%2Bks6O6z%2FZNzCxgNfw%3D%3D</URL></WSResponse></return></ns2:GetDocumentContentByIdResponse></soapenv:Body></soapenv:Envelope>
--MIMEBoundaryurn_uuid_73277F90883C8B84131293668453833--
--."


Anyone have any ideas what I could do?

Is this because .NET cannot read the content-type "application/xop+xml"?

Thanks.
Posted
Updated 29-Dec-10 13:39pm
v2
Comments
Manfred Rudolf Bihy 29-Dec-10 19:40pm    
Edit: Added code tags for error message.

1 solution

Your problem doesn't seem new.See the links below.
Click here


Click here 2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900