private void setSoapAction(String soapAction, AxisOperation op) { AxisService service = (AxisService) op.getParent(); // Commenting out the following section to avoid a NPE from // AxisService#mapActionToOperation. Action mapping can't be removed by passing null for // AxisOperation. // String oldSoapAction = op.getInputAction(); // if (oldSoapAction != null) { // effectively removing the old mapping // service.mapActionToOperation(oldSoapAction, null); // } op.setSoapAction(soapAction); service.mapActionToOperation(soapAction, op); } }
subscriptionEndOperation.setMessageReceiver(this); subscribeOperation.setSoapAction(EventingConstants.WSE_SUBSCRIBE); unsubscribeOperation.setSoapAction(EventingConstants.WSE_UNSUBSCRIBE); renewOperation.setSoapAction(EventingConstants.WSE_RENEW); getStatusOperation.setSoapAction(EventingConstants.WSE_GET_STATUS);
subscriptionEndOperation.setMessageReceiver(this); subscribeOperation.setSoapAction(EventingConstants.WSE_SUBSCRIBE); unsubscribeOperation.setSoapAction(EventingConstants.WSE_UNSUBSCRIBE); renewOperation.setSoapAction(EventingConstants.WSE_RENEW); getStatusOperation.setSoapAction(EventingConstants.WSE_GET_STATUS);
axisOperation.setSoapAction("urn:" + axisOperation.getName().getLocalPart());
axisOperation.setSoapAction("urn:" + axisOperation.getName().getLocalPart());
axisBindingOperation .setProperty(WSDL2Constants.ATTR_WSOAP_ACTION, soapActionURI); axisBindingOperation.getAxisOperation().setSoapAction(soapActionURI); if (!isServerSide) { axisBindingOperation.getAxisOperation().setOutputAction(soapActionURI); axisBindingOperation.getAxisOperation().setSoapAction(soapAction); if (!isServerSide) { axisBindingOperation.getAxisOperation().setOutputAction(soapAction);
newAxisOperation.setSoapAction(this.getAction());
axisBindingOperation .setProperty(WSDL2Constants.ATTR_WSOAP_ACTION, soapActionURI); axisBindingOperation.getAxisOperation().setSoapAction(soapActionURI); if (!isServerSide) { axisBindingOperation.getAxisOperation().setOutputAction(soapActionURI); axisBindingOperation.getAxisOperation().setSoapAction(soapAction); if (!isServerSide) { axisBindingOperation.getAxisOperation().setOutputAction(soapAction);
newAxisOperation.setSoapAction(this.getAction());
axisService.addOperation(operation); if (operation.getSoapAction() == null) { operation.setSoapAction("urn:" + opName);
genericOperation.setSoapAction(bindingOperation.getSoapAction()); genericOperation.setMessageExchangePattern(getWSDL2Mep(bindingOperation));
axisService.addOperation(operation); if (operation.getSoapAction() == null) { operation.setSoapAction("urn:" + opName);
newAxisOperation.setSoapAction(this.getAction());
newAxisOperation.setSoapAction(this.getAction());
axisOperation.setSoapAction(this.soapAction);