axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vilnis Termanis (Created) (JIRA)" <>
Subject [jira] [Created] (AXIS2-5215) wsdl:fault tag missing for soap bindings in wsdl for In-Only POJO
Date Wed, 14 Dec 2011 15:59:31 GMT
wsdl:fault tag missing for soap bindings in wsdl for In-Only POJO

                 Key: AXIS2-5215
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.6.1, 1.7.0
         Environment: Tomcat 6, JDK 1.6.0_26
            Reporter: Vilnis Termanis

1) Create POJO service with non-returning function which throws an exception, e.g.:
public class ExampleService { public void testFunction(String something) throws Exception
{ throw new Exception("testing123"); }}

Include RPCInOnlyMessageReceiver & RPCMessageReceiver in <messageReceivers> tag

2) Check runtime-generated wsdl (e.g. ../axis2/services/ExampleService?wsdl)

3) Call testFunction() from client (e.g. PHP's SoapClient) via soap binding

4) Explicitly define update() as "InOnly" in services.xml:
 <operation name="update"><messageReceiver class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"

5) Repeat steps 2 & 3

2) <wsdl:fault> tag missing for both Soap (1.1 & 1.2) bindings (only appears for
3) Since wsdl doesn't contain fault tag for soap bindings, soap clients ignore the exception
5) <wsdl:fault> now appears for all bindings, as expected

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message