//override the @WebMethod.action value by the one from the WSDL
if(binding != null){
WSDLBoundOperationImpl bo = binding.getBinding().get(new QName(targetNamespace, operationName));
if(bo != null){
WSDLInputImpl wsdlInput = bo.getOperation().getInput();
String wsaAction = wsdlInput.getAction();
if(wsaAction != null && !wsdlInput.isDefaultAction())
action = wsaAction;
else
action = bo.getSOAPAction();
}
}