From user-return-13108-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Thu Apr 09 14:05:30 2009 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 1894 invoked from network); 9 Apr 2009 14:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2009 14:05:30 -0000 Received: (qmail 14312 invoked by uid 500); 9 Apr 2009 14:05:29 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 14257 invoked by uid 500); 9 Apr 2009 14:05:29 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 14249 invoked by uid 99); 9 Apr 2009 14:05:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 14:05:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 14:05:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LrusF-00056f-4e for user@geronimo.apache.org; Thu, 09 Apr 2009 07:04:59 -0700 Message-ID: <22971650.post@talk.nabble.com> Date: Thu, 9 Apr 2009 07:04:59 -0700 (PDT) From: Hai-Dang Pham To: user@geronimo.apache.org Subject: Re: Axis2 example In-Reply-To: <22955607.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hdpham@gmail.com References: <22918389.post@talk.nabble.com> <45f744e40904071842i4b3bd728o7df6150ba5f105f6@mail.gmail.com> <22955607.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Ivan, Tx you for your help. geronimo-tomcat-web.xml is my plan file. I used helloAxis2.wsdl to generate the source file found in /src with AXIS2. Once I build it I rename helloAxis2.aar to helloAxis2.war. Tx, Hai-Dang Hai-Dang Pham wrote: > > Tx you Ivan for the reply, > > I basically use an empty web.xml file like so: > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > > > Axis2Examples > > > > > > Hai-Dang > > > Ivan Xu wrote: >> >> Could you show us your web.xml file ? I suppose that the ?WSDL request >> should be handled by the org.apache.axis2.transport.http.AxisServlet, not >> by >> Geronimo's WSDLQueryHandler. >> Ivan >> >> 2009/4/7 Hai-Dang Pham >> >>> >>> Hi, >>> >>> I am trying to run a simple Axis2 example, basically from a client >>> pass a >>> string ("name") to a service this in turn return "hello name" but I am >>> trying use a WSDL interface. >>> >>> I was able to deploy my service with a plan file that looks like this >>> >>> >>> >>> org.codehaus.wadi >>> axis2Test >>> 2.2-SNAPSHOT >>> war >>> >>> >>> >>> >>> org.apache.geronimo.modules >>> geronimo-webservices >>> 2.1.3 >>> jar >>> >>> >>> org.apache.geronimo.modules >>> geronimo-axis2 >>> 2.1.3 >>> jar >>> >>> >>> >>> org.apache.commons >>> >>> >>> >>> axis2/services/helloAxis2 >>> >>> >>> and a WSDL file with the following SOAP address: >>> >>> >>> >>> >> location="http://localhost:8080/axis2/services/helloAxis2"/> >>> >>> >>> >>> I just want to retrieve the WSDL from a browser like so >>> >>> http://localhost:8080/axis2/services/helloAxis2?wsdl >>> >>> This always return 404 Not Found. >>> >>> Can somebody show me what I am missing to access my WSDL service >>> properly? >>> >>> Tx, >>> >>> Hai-Dang >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Axis2-example-tp22918389s134p22918389.html >>> Sent from the Apache Geronimo - Users mailing list archive at >>> Nabble.com. >>> >>> >> >> >> -- >> Ivan >> >> > > http://www.nabble.com/file/p22971650/helloAxis2.zip helloAxis2.zip -- View this message in context: http://www.nabble.com/Axis2-example-tp22918389s134p22971650.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.