return new Axis2ReferenceBindingInvoker(endpointReference, serviceClient, wsdlOperationQName, options, soapFactory, wsBinding);
AsyncResponseInvoker<String> respInvoker = (AsyncResponseInvoker<String>) msg.getHeaders().get(Constants.ASYNC_RESPONSE_INVOKER); if( respInvoker != null ) { callbackEndpoint = createAsyncResponseEndpoint( msg, respInvoker ); msg.setTo(callbackEndpoint); } else { addWSAFromHeader( sh, fromEPR ); addWSAActionHeader( sh ); addWSAMessageIDHeader( sh, (String)msg.getHeaders().get("MESSAGE_ID")); String toAddress = getToAddress( msg ); requestMC.setTo( new EndpointReference(toAddress) ); if( isInvocationForCallback( msg ) ) { addWSAToHeader( sh, toAddress, msg ); addWSAActionHeader( sh ); addWSARelatesTo( sh, msg );
public Message invoke(Message msg) { try { final OperationClient operationClient = createOperationClient(msg); WSAxis2BindingContext bindingContext = new WSAxis2BindingContext(); bindingContext.setAxisOperationClient(operationClient);