[ 
https://issues.apache.org/jira/browse/AXIS2C-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dinesh Premalal reassigned AXIS2C-497:
--------------------------------------

    Assignee: Dinesh Premalal

> 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
>         Assigned To: 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to