diff options
Diffstat (limited to 'sca-java-2.x')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSReferenceBindingProvider.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSReferenceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSReferenceBindingProvider.java index fe35e3d743..7a1b8f356a 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSReferenceBindingProvider.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSReferenceBindingProvider.java @@ -34,11 +34,13 @@ public class JAXWSReferenceBindingProvider implements ReferenceBindingProvider { private javax.xml.soap.MessageFactory messageFactory; private WebServiceBinding wsBinding; + private RuntimeEndpointReference endpointReference; public JAXWSReferenceBindingProvider(RuntimeEndpointReference endpointReference, FactoryExtensionPoint modelFactories, DataBindingExtensionPoint dataBindings) { + this.endpointReference = endpointReference; this.messageFactory = modelFactories.getFactory(javax.xml.soap.MessageFactory.class); this.wsBinding = (WebServiceBinding) endpointReference.getBinding(); @@ -69,7 +71,7 @@ public class JAXWSReferenceBindingProvider implements ReferenceBindingProvider { } public Invoker createInvoker(Operation operation) { - return new JAXWSBindingInvoker(operation, null, messageFactory, wsBinding); + return new JAXWSBindingInvoker(operation, null, messageFactory, wsBinding, endpointReference); } } |