Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 47532 invoked from network); 5 Mar 2007 04:53:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 04:53:43 -0000 Received: (qmail 81307 invoked by uid 500); 5 Mar 2007 04:53:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 80722 invoked by uid 500); 5 Mar 2007 04:53:50 -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 80711 invoked by uid 99); 5 Mar 2007 04:53:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Mar 2007 20:53:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 04 Mar 2007 20:53:39 -0800 Received: (qmail 76335 invoked from network); 5 Mar 2007 04:53:17 -0000 Received: from 124.43.196.54 (HELO ?192.168.1.101?) (124.43.196.54) by relay00.pair.com with SMTP; 5 Mar 2007 04:53:17 -0000 X-pair-Authenticated: 124.43.196.54 Message-ID: <45EBA23B.6000206@opensource.lk> Date: Mon, 05 Mar 2007 10:23:15 +0530 From: Lasantha Ranaweera User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Questions for Axis2 folks re: JAXWS References: <45EB9700.5080803@apache.org> In-Reply-To: <45EB9700.5080803@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jeff, To my understanding if we have given a WSDL in an archive it should get the priority than the information in the annotations. In Axis2 integration there are two parts of implementation with one for with WSDL which is mainly handling by G side while with annotations from Axis2. For me it is something missing in G side. Somebody in the list please correct me if I am wrong here . Thanks, Lasantha 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 > >