ASP.NET 2.0 web service (MTOM Enabled) problem

N

Narasimha Rao

Hi,

Can anyone help about this problem. Actually I am getting this problem when accessing the web service from Java(Axis2)MTOM enabled web service.
Internally it is working fine when I check with stub and other browsers. I observed the difference in IIS logs that the method is POST for external server and for our internal access the method is GET.

Will it create any problem? or Any other solution for this. Following is the total error log captured.

Total error log:
POST /Testservice /test.asmx HTTP/1.1
Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_5624FA9F907FEB3C2B1229668464176; type="application/xop+xml"; start="<0.urn:uuid:[email protected]>"; start-info="application/soap+xml"; action="urn:SmsMo"
User-Agent: Axis2
Host: 58.12.12.12
Content-Length: 1642

--MIMEBoundaryurn_uuid_5624FA9F907FEB3C2B1229668464176
Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:[email protected]>

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><Proper XML tags></soapenv:Body></soapenv:Envelope>
--MIMEBoundaryurn_uuid_5624FA9F907FEB3C2B1229668464176--HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.0
Date: Fri, 19 Dec 2008 06:44:37 GMT
X-Powered-By: ASP.NET

HTTP/1.1 500 Internal Server Error
Server: Microsoft-IIS/5.0
Date: Fri, 19 Dec 2008 06:44:43 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 509

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Server was unable to process request. ---&gt; Data at the root level is invalid. Line 1, position 1.</soap:Text></soap:Reason><soap:Detail /></soap:Fault></soap:Body></soap:Envelope>

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top