[
https://issues.apache.org/jira/browse/AXIS2C-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dinesh Premalal reassigned AXIS2C-715:
--------------------------------------
Assignee: Dinesh Premalal
> SOAP faults not always detected by Axis2/C client
> -------------------------------------------------
>
> Key: AXIS2C-715
> URL: https://issues.apache.org/jira/browse/AXIS2C-715
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi, core/receivers, xml/soap
> Affects Versions: 1.0.0, 1.1.0
> Environment: SOAP client based on Axis2/C 1.0.0 (couldn't test 1.1.0
> client yet) and different SOAP servers
> Reporter: Stefano Pettini
> Assignee: Dinesh Premalal
> Fix For: 1.2.0
>
>
> The first SOAP fault is detected by
> axis2_svc_client_get_last_response_has_fault. The second is not.
> 1) Here is an HTTP conversation between a SOAP client based on Axis2/C 1.0.0
> and a SOAP server based on J2EE JAX-WS default SOAP implementation over
> Tomcat over Apache. SOAP fault IS detected:
> Sent:
> POST /WebServiceTest/MMMC_Service HTTP/1.1
> User-Agent: Axis2/C
> SOAPAction: ""
> Content-Length: 166
> Content-Type: text/xml;charset=UTF-8
> Host: 10.3.4.169:8084
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header></soapenv:Header>
> <soapenv:Body>
> <hi></hi>
> </soapenv:Body>
> </soapenv:Envelope>
> Received:
> HTTP/1.1 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=utf-8
> Transfer-Encoding: chunked
> Date: Thu, 04 Oct 2007 09:05:36 GMT
> Connection: close
> 18a
> <?xml version="1.0" ?>
> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
> <S:Body>
> <ns2:Fault xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:ns3="http://www.w3.org/2003/05/soap-envelope">
> <faultcode>ns2:Client</faultcode>
> <faultstring>Cannot find dispatch method for {null}hi using "Payload
> QName-based Dispatcher"</faultstring>
> </ns2:Fault>
> </S:Body>
> </S:Envelope>
> 0
> 2) Here is an HTTP conversation between a SOAP client based on Axis2/C 1.0.0
> and a SOAP server based on Axis2/C 1.1.0 over Apache. SOAP fault IS NOT
> detected:
> Sent:
> POST /ws/services/mmmc HTTP/1.1
> User-Agent: Axis2/C
> SOAPAction: ""
> Content-Length: 166
> Content-Type: text/xml;charset=UTF-8
> Host: 10.3.1.198:80
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header></soapenv:Header>
> <soapenv:Body><hi></hi></soapenv:Body>
> </soapenv:Envelope>
> Received:
> HTTP/1.1 500 Internal Server Error
> Date: Tue, 27 Mar 2007 17:30:35 GMT
> Server: Apache/2.0.52 (Red Hat)
> Content-Length: 255
> Connection: close
> Content-Type: text/xml
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header/>
> <soapenv:Body>
> <soapenv:Fault>
> <faultcode>soapenv:Server</faultcode>
> <faultstring>Operation Not Found</faultstring>
> </soapenv:Fault>
> </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]