diff options
author | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-18 19:04:02 +0000 |
---|---|---|
committer | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-18 19:04:02 +0000 |
commit | 9398b3a75f2bde364e96f748255a3e933e250474 (patch) | |
tree | f53b82aef8714de880dc83eb1e4aa22429720e56 /sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri | |
parent | a727a8d4851f86a7d5712dbaee4ec719078a57cc (diff) |
TUSCANY-3711 Enable correct wsdl service name mapping and fix issue in JAXWSServiceBindingProvider that was causing ?wsdl to fail
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1023951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws-ri')
-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 | 9 |
1 files changed, 6 insertions, 3 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 516ca62c11..86f5214b71 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 @@ -113,16 +113,19 @@ public class JAXWSServiceBindingProvider implements ServiceBindingProvider { properties.put(Endpoint.WSDL_PORT, portName); QName serviceName = new QName(targetNamespace, - wsBinding.getService().getQName().getLocalPart()); + wsBinding.getServiceName().getLocalPart()); properties.put(Endpoint.WSDL_SERVICE, serviceName); - + wsEndpoint.setMetadata(metadata); wsEndpoint.setProperties(properties); // Start up the endpoint + wsEndpoint.publish(wsBinding.getURI()); - + + jaxwsBindingProvider.start(); + } public void stop() { |