Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkchong2011-08-23 03:48:02 +0000
committerkchong2011-08-23 03:48:02 +0000
commit9fc40f1db1debe6c92aa2b4bdbcb67383fe3c35c (patch)
treecf36a35df3404645080c89d719df14438f26765a
parentccde3a3e75dbf27356b139a69826a3e91b8a6206 (diff)
downloadwebtools.webservices-9fc40f1db1debe6c92aa2b4bdbcb67383fe3c35c.tar.gz
webtools.webservices-9fc40f1db1debe6c92aa2b4bdbcb67383fe3c35c.tar.xz
webtools.webservices-9fc40f1db1debe6c92aa2b4bdbcb67383fe3c35c.zip
[350116] Bump up version number for 3.3.1 - Make soap binding transport URI overridable
-rw-r--r--bundles/org.eclipse.wst.wsdl/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java9
2 files changed, 8 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.wsdl/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.wsdl/META-INF/MANIFEST.MF
index aeaf8b3d9..0cd23c655 100644
--- a/bundles/org.eclipse.wst.wsdl/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.wst.wsdl/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.wst.wsdl; singleton:=true
-Bundle-Version: 1.2.201.qualifier
+Bundle-Version: 1.2.202.qualifier
Bundle-Activator: org.eclipse.wst.wsdl.WSDLPluginImplementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
index 6191903ff..2d5e0f59e 100644
--- a/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
+++ b/bundles/org.eclipse.wst.wsdl/src-soap/org/eclipse/wst/wsdl/binding/soap/internal/generator/SOAPContentGenerator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
@@ -114,10 +114,15 @@ public class SOAPContentGenerator implements ContentGenerator
SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
SOAPBinding soapBinding = soapFactory.createSOAPBinding();
soapBinding.setStyle((getStyleOption(binding) == STYLE_DOCUMENT) ? "document" : "rpc");
- soapBinding.setTransportURI("http://schemas.xmlsoap.org/soap/http");
+ soapBinding.setTransportURI(getTransportURI());
binding.addExtensibilityElement(soapBinding);
}
+
+ protected String getTransportURI()
+ {
+ return "http://schemas.xmlsoap.org/soap/http";
+ }
public void generateBindingOperationContent(BindingOperation bindingOperation, Operation operation)
{

Back to the top