Hi
If the operations are defined in service.xml in an axis2 service, It make
in-only operation in-out. WSDL add the wsdl:output for the operation. once
the in-only service is invoked, It send auto generated response back to
client.

public void operation1();

<operation name="operation1"></operation>

However defining the messageReceiver in operation level avoid sending the
auto generated response back to client. But WSDL does not changed. It
defines the  wsdl:output for the operation.

<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only";
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>

[1] https://wso2.org/jira/browse/CARBON-15243

Thanks,
Nuwanw

-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to