diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-20 18:02:09 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-20 18:02:09 +0000 |
commit | f6ff505e5bbfe699127f5c468562b4609b8c0f41 (patch) | |
tree | d7235ecbd5a64ca1e769861a67672c25ee9e5ee8 /sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri/src | |
parent | c8251b43e6fa344567aea01282d0ab093ab514d0 (diff) |
Make sure that the JAXWS runtime is stopped and put in temp fix for exception handling.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@936017 13f79535-47bb-0310-9956-ffa450edef68
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() { |