axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Premalal <xydin...@gmail.com>
Subject Re: SOAP fault not working in axis2c 1.4
Date Tue, 03 Jun 2008 16:58:14 GMT
Hi Naveen,

"naveen bhat" <naveenbhat04@googlemail.com> writes:

> Hi Dinesh,
>           
>              I hope the problem description in my previous mail was precise.
> Kindly let me know if you need more details.Let me know how can i solve the
> problem regarding SOAP fault.

I think there was a bug in Axis2/C 1.4.0 release. However it seems
fixed in the current svn head. Could you please test against svn head ?  

If you need more details.

my request
----------
POST /axis2/services/mtom HTTP/1.1
User-Agent: Axis2C/1.4.0
SOAPAction: ""
Content-Length: 764
Content-Type: multipart/related; boundary=MIMEBoundarydd4beea4-318d-1dd1-2c85-0014a427f4ad;
type="application/xop+xml"; start="<0.dd4bef44-318d-1dd1-2c86-0014a427f4ad@apache.org>";
start-info="text/xml"; charset="UTF-8"
Host: 127.0.0.1:9090

--MIMEBoundarydd4beea4-318d-1dd1-2c85-0014a427f4ad
content-transfer-encoding: binary
content-id: <0.dd4bef44-318d-1dd1-2c86-0014a427f4ad@apache.org>content-type: application/xop+xml;charset=UTF-8;type="text/xml";
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
         <wsa:To>http://localhost:9090/axis2/services/mtom</wsa:To>
         <wsa:Action>http://ws.apache.org/axis2/c/samples/mtomSample</wsa:Action>
         <wsa:MessageID>dd4bcf78-318d-1dd1-2c84-0014a427f4ad</wsa:MessageID>
      </soapenv:Header>
      <soapenv:Body>
         <ns1:mtomSample xmlns:ns1="http://ws.apache.org/axis2/c/samples/mtom"></ns1:mtomSample>
      </soapenv:Body>
   </soapenv:Envelope>--MIMEBoundarydd4beea4-318d-1dd1-2c85-0014a427f4ad--


response
---------
HTTP/1.1 500 Internal Server Error
Date: Tue Jun  3 22:25:26 2008 GMT
Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)
Content-Type: text/xml;charset=UTF-8
Content-Length: 691

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <wsa:Action>http://ws.apache.org/axis2/c/samples/mtomSample</wsa:Action>
      <wsa:MessageID>dd5081d0-318d-1dd1-35f4-0014a427f4ad</wsa:MessageID>
      <wsa:RelatesTo wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply">dd4bcf78-318d-1dd1-2c84-0014a427f4ad</wsa:RelatesTo>
   </soapenv:Header>
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Sender</faultcode>
         <faultstring>NULL parameter was passed when a non NULL parameter was expected</faultstring>
         <detail>
            <EchoServiceError></EchoServiceError>
         </detail>
      </soapenv:Fault>
   </soapenv:Body></soapenv:Envelope>


thanks,
Dinesh

-- 
http://nethu.org

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message