geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r722502 - /geronimo/server/trunk/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java
Date Tue, 02 Dec 2008 15:48:26 GMT
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);
                 }
             }
         }



Mime
View raw message