summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-12 10:09:09 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-12 10:09:09 +0000
commit536cf0faec974c3d6df026da3504824d56c58ff5 (patch)
tree444ea719260d0951be7757ee4d74be509c799327 /sca-java-2.x/trunk
parent2fa7aa6f0fd5a5f50f3971bc14c1c58d2a7f263f (diff)
TUSCANY-3641 - Set the binding name to be the service name so, in this case where there is only one binding, the binding name isn't used in the endpoint URL.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@984710 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java
index 71a582e67f..ad6a9dee68 100644
--- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java
+++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java
@@ -297,6 +297,7 @@ public class JAXWSProcessor extends BaseJavaClassVisitor {
private void createWSBinding(JavaImplementation javaImplementation, Service service){
if(service.getBindings().size() == 0){
WebServiceBinding wsBinding = wsBindingFactory.createWebServiceBinding();
+ wsBinding.setName(service.getName());
ExtensionType bindingType = policyFactory.createBindingType();
bindingType.setType(WebServiceConstants.BINDING_WS_QNAME);
bindingType.setUnresolved(true);