Hello All, I am trying to invoke a service using MTOM and I am getting an error with the SoapAction. The error is as follows:
Server did not recognize the value of HTTP Header SOAPAction: http://www.getFileResponse.org/GetFile" boundary="----=_Part_0_78236.1179356929716. When I run this through TCP MON, I get the following invocation and response: INVOCATION: POST /image/Service.asmx HTTP/1.1 SOAPAction: "http://www.getFileResponse.org/GetFile" Content-Type: multipart/related; type="application/xop+xml"; start="<[EMAIL PROTECTED]>"; start-info="text/xml"; boundary="----=_Part_0_78236.1179356929716" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; XFire Client +http://xfire.codehaus.org) Host: 165.189.102.74:5055 Expect: 100-continue Content-Length: 526 ------=_Part_0_78236.1179356929716 Content-Type: application/xop+xml; charset=UTF-8; type="text/xml" Content-Transfer-Encoding: 8bit Content-ID: <[EMAIL PROTECTED]> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><GetFile xmlns="http://www.getFileResponse.org/"><fileName>c:\little_c.jpg</fileName></GetFile></soap:Body></soap:Envelope> ------=_Part_0_78236.1179356929716-- RESPONSE: HTTP/1.1 100 Continue Server: Microsoft-IIS/5.1 Date: Wed, 16 May 2007 23:07:29 GMT X-Powered-By: ASP.NET HTTP/1.1 500 Internal Server Error Server: Microsoft-IIS/5.1 Date: Wed, 16 May 2007 23:07:29 GMT X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/xml; charset=utf-8 Content-Length: 489 <?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><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Server did not recognize the value of HTTP Header SOAPAction: http://www.getFileResponse.org/GetFile" boundary="----=_Part_0_78236.1179356929716.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope> I am not sure what to do at this point. I can disable MTOM in my xfire client and then everything works fine, however this will be inefficient. Is the xfire client generating an invalid request? Is the DOT NET server not handling the request appropriately? Any help would be appreciated. Thanks! Yogesh --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
