Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 49674 invoked from network); 5 Mar 2007 15:14:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 15:14:05 -0000 Received: (qmail 19289 invoked by uid 500); 5 Mar 2007 15:14:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 19060 invoked by uid 500); 5 Mar 2007 15:14:11 -0000 Mailing-List: contact dev-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 dev@geronimo.apache.org Received: (qmail 19049 invoked by uid 99); 5 Mar 2007 15:14:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 07:14:11 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.208.196.171] (HELO outbound.mailhop.org) (63.208.196.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 07:13:59 -0800 Received: from bi01p1.nc.us.ibm.com ([129.33.49.251] helo=[9.27.152.218]) by outbound.mailhop.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1HOEsc-000K9p-JN for dev@geronimo.apache.org; Mon, 05 Mar 2007 10:13:38 -0500 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 129.33.49.251 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: hogndos Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <45EB9700.5080803@apache.org> References: <45EB9700.5080803@apache.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Matt Hogstrom Subject: Re: Questions for Axis2 folks re: JAXWS Date: Mon, 5 Mar 2007 10:13:46 -0500 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Is it significant that you refer to example.com in the WebService annotation and refer to example.org in the namespace? On Mar 4, 2007, at 11:05 PM, Jeff Genender wrote: > Hi, > > I have noticed when I deploy a war file (with a WSDL), I have a > certain > target name specified both in the WSDL and in the code that uses a > WebService annotation. > > However, when I go retrieve the WSDL, I notice the target name > seems to > be munged according to the package name (backwards) of the code that > contains the WebService annotation. > > Example... > > I have include a WSDL called Hello.wsdl that is in the war file in the > web-inf/wsdl directory and starts with: > > > ... > > I have a HelloWorld.java that has this: > > package test.mypackage; > > import javax.jws.WebMethod; > import javax.jws.WebService; > > @WebService(name="HelloWorld", targetNamespace = > "http://example.org/hello/xsd") > public class HelloWorld { > > @WebMethod > public String sayHello(String me){ > return "Hello "+me; > } > } > > However, when I request the wsdl...I get something like this: > > > ... > > Notice the targetnamespace was munged and changed from it's originally > declared namespace of "http://example.com/hello/xsd". I want the one > that is both declared in the included wsdl (or the one declared in the > annotation). > > Is this a facet of Axis2 or is Geronimo not passing a proper PortInfo > object with the necessary stuff filled in? > > Any light on this subject would be greatly appreciated ;-) > > Thanks, > > Jeff >