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:51:45 UTC

svn commit: r722504 - /geronimo/server/branches/2.1/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java

Author: gawor
Date: Tue Dec  2 07:51:45 2008
New Revision: 722504

URL: http://svn.apache.org/viewvc?rev=722504&view=rev
Log:
update service address in http binding. Patch from Ivan (GERONIMO-4436)

Modified:
    geronimo/server/branches/2.1/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java

Modified: geronimo/server/branches/2.1/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java?rev=722504&r1=722503&r2=722504&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java (original)
+++ geronimo/server/branches/2.1/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/WSDLUtils.java Tue Dec  2 07:51:45 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);
                 }
             }
         }