[ http://issues.apache.org/jira/browse/AXIS2C-381?page=comments#action_12449212 ] Samisa Abeysinghe commented on AXIS2C-381: ------------------------------------------
If the fault is related to the incomming payload format, the service should be handling this case, meaning the service is responsible for creating up the Fault and setting it in the message context. If it is something related to the processing in the engine, then the fault should be parepared and sent by the relavant places dealing with the situation. > Simple Axis Server doesn't give proper faults > --------------------------------------------- > > Key: AXIS2C-381 > URL: http://issues.apache.org/jira/browse/AXIS2C-381 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Affects Versions: 0.95 > Reporter: Dinesh Premalal > Assigned To: Dinesh Premalal > > When I try to send improper content to echo service. simple axis server > didn't give any fault message... > request > ------------ > POST /axis/services/echo HTTP/1.1 > User-Agent: Axis2/C > Content-Length: 238 > Content-Type: application/soap+xml;charset=UTF-8; > Host: 127.0.0.1 > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Header></soapenv:Header> > <soapenv:Body> > <root> > <a>a</a> > <b>b</b> > <c> > <d>d</d> > </c> > </root> > </soapenv:Body> > </soapenv:Envelope> > response > --------------- > HTTP/1.1 500 Internal Server Error > Content-Type: application/soap+xml;charset=UTF-8 > Content-Length: 194 > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > <soapenv:Header></soapenv:Header> > <soapenv:Body></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]
