[ http://issues.apache.org/jira/browse/AXIS2-1410?page=comments#action_12442773 ] Eran Chinthaka commented on AXIS2-1410: ---------------------------------------
Just did a quick fix to this. Ruwan, can you please check again. > Axis2 sends SOAPFaults as a (SOAP message) when we are doing REST > ----------------------------------------------------------------- > > Key: AXIS2-1410 > URL: http://issues.apache.org/jira/browse/AXIS2-1410 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: core > Affects Versions: 1.1 > Reporter: Ruwan Linton > Assigned To: Eran Chinthaka > > I am doing REST with a HTTP GET, in case of a fault Axis2 sends an SOAPFault > as a SOAP message (ie. with soap header, body and all that). I think it > should send a REST fault in case of a fault...... (ie. without soap header > and body tags) > The response I got: > <soapenv:Envelope> > <soapenv:Header> > <wsa:ReplyTo> > <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address> > </wsa:ReplyTo> > <wsa:MessageID>urn:uuid:C248E047CE18A0F822116105740431526</wsa:MessageID> > <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action> > </soapenv:Header> > <soapenv:Body> > <soapenv:Fault> > <faultcode/> > <faultstring> > I can not find a service for this request to be serviced. Check the WSDL and > the request URI; nested exception is: > org.apache.axis2.AxisFault: I can not find a service for this request > to be serviced. Check the WSDL and the request URI > </faultstring> > <detail/> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
