diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src')
-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/JAXWSServiceBindingProvider.java | 5 |
1 files changed, 3 insertions, 2 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/JAXWSServiceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSServiceBindingProvider.java index 2f9ff10cac..c4a2822a02 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSServiceBindingProvider.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/ri/JAXWSServiceBindingProvider.java @@ -73,8 +73,6 @@ public class JAXWSServiceBindingProvider implements ServiceBindingProvider { } public void start() { - jaxwsBindingProvider.start(); - // create the JAXWS endpoint based on the provider wsEndpoint = Endpoint.create(SOAPBinding.SOAP11HTTP_BINDING, jaxwsBindingProvider); @@ -124,10 +122,13 @@ public class JAXWSServiceBindingProvider implements ServiceBindingProvider { // Start up the endpoint wsEndpoint.publish(wsBinding.getURI()); + + jaxwsBindingProvider.start(); } public void stop() { jaxwsBindingProvider.stop(); + wsEndpoint.stop(); } public InterfaceContract getBindingInterfaceContract() { |