It seems that the Axis2 Client generating an dummy soap action when the
soapaction is empty.

In following lines of code in CommonsHttpTransportSender.java

if ((soapActionString == null) || (soapActionString.length() == 0)) {
                   // now let's try to get WSA action
                   soapActionString = messageContext.getWSAAction();
                   if (messageContext.getAxisOperation() != null &&
((soapActionString == null) || (soapActionString.length() == 0))) {
                       // last option is to get it from the axis operation
                       soapActionString = messageContext.getAxisOperation
().getInputAction();
                   }
               }

sets a soap action.
I think this is wrong and Please log a jira.

Actually if the soapbindig style is document/literal and the soapaction is
empty. then only possible way of dispatching is to use the URL dispatching.
Use the EPR as follows
http://localhost:8081/axis2/services/XMLVendService2.0/ConfirmCustomerRequest



--
Amila Suriarachchi,
WSO2 Inc.

Reply via email to