You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2008/12/02 16:48:26 UTC
svn commit: r722502 -
/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java
Author: gawor
Date: Tue Dec 2 07:48:25 2008
New Revision: 722502
URL: http://svn.apache.org/viewvc?rev=722502&view=rev
Log:
update service address in http binding. Patch from Ivan (GERONIMO-4436)
Modified:
geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java
Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java?rev=722502&r1=722501&r2=722502&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java (original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java Tue Dec 2 07:48:25 2008
@@ -24,6 +24,7 @@
import javax.wsdl.Definition;
import javax.wsdl.Port;
import javax.wsdl.Service;
+import javax.wsdl.extensions.http.HTTPAddress;
import javax.wsdl.extensions.soap.SOAPAddress;
import javax.wsdl.extensions.soap12.SOAP12Address;
import javax.xml.namespace.QName;
@@ -117,6 +118,8 @@
((SOAP12Address)extension).setLocationURI(location);
} else if (extension instanceof SOAPAddress) {
((SOAPAddress)extension).setLocationURI(location);
+ } else if (extension instanceof HTTPAddress) {
+ ((HTTPAddress)extension).setLocationURI(location);
}
}
}