Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 38730 invoked from network); 2 Dec 2008 15:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2008 15:52:36 -0000 Received: (qmail 49037 invoked by uid 500); 2 Dec 2008 15:52:48 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 48995 invoked by uid 500); 2 Dec 2008 15:52:48 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 48986 invoked by uid 99); 2 Dec 2008 15:52:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 07:52:48 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 15:51:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C66F323888A2; Tue, 2 Dec 2008 07:51:45 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: gawor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081202155145.C66F323888A2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); } } }