geronimo-scm mailing list archives

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



Mime
View raw message