Wrong content type doesn't give proper fault
--------------------------------------------
Key: AXIS2C-497
URL: https://issues.apache.org/jira/browse/AXIS2C-497
Project: Axis2-C
Issue Type: Bug
Components: core/transport
Affects Versions: 0.96
Reporter: Dinesh Premalal
Fix For: 1.0.0
for request with wrong content type , simple axis server doesn't give proper
soap fault.
request
------------
POST /axis2/services/echo HTTP/1.1
User-Agent: Axis2/C
Content-Length: 108
Content-Type: application/TEST123
Host: 127.0.0.1:9090
<ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">
<text>Hello World !</text></ns1:echoString>
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:
https://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]