Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1CEC90DF for ; Wed, 21 Sep 2011 13:53:48 +0000 (UTC) Received: (qmail 69100 invoked by uid 500); 21 Sep 2011 13:53:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 68951 invoked by uid 500); 21 Sep 2011 13:53:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 68942 invoked by uid 99); 21 Sep 2011 13:53:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 13:53:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.59.212] (HELO qmta14.westchester.pa.mail.comcast.net) (76.96.59.212) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 13:53:38 +0000 Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta14.westchester.pa.mail.comcast.net with comcast id bNPQ1h0061swQuc5ERtJHF; Wed, 21 Sep 2011 13:53:18 +0000 Received: from [192.168.1.201] ([69.143.109.145]) by omta15.westchester.pa.mail.comcast.net with comcast id bRtH1h01J38FjT13bRtHoi; Wed, 21 Sep 2011 13:53:18 +0000 Message-ID: <4E79EC4C.9020708@christopherschultz.net> Date: Wed, 21 Sep 2011 09:53:16 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: websphere 7.0 JAXWS webservice deployed in tomcat 6.0.32 not working References: In-Reply-To: X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Narahari, On 9/20/2011 11:15 PM, Narahari 'n' Savitha wrote: > I have a JAXWS webservice developed in WebSphere 7.0. It is > working there. The stack in Websphere is Axis2.0 > > I wrote a POJO Java class, annotated with the @WebService > annotation and then I did a wsgen to generate the necessary > artifacts and created the war file. > > The imp thing is that web.xml does NOT have any servlets in it or > listeners defined. Tomcat only implements the servlet specification, so if you want to deploy web services, you're going to have to find a way to get that going using a helper library -- like Axis. > However when I deploy that war file to Tomcat 6.0.32 and then copy > the axis2 jars to the WEB-INF\lib folder. Axis needs a servlet to be mapped in order to serve requests to your web services. > When I restart Tomcat, the WebService does not work. > > What I am curious is, how come Websphere7, deploys the WebService > on startup without any entires in web.xml but Tomcat refuses to do > so ? Websphere is a J2EE application server while Tomcat is a servlet container "only". Maybe you want to look into using JBoss or Apache Geronimo if you need more than servlet-based services. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk557EwACgkQ9CaO5/Lv0PAIZwCeL2Gv2db8XdIoUV8xJdDSKG7T tx4AoLcoVshb2HK4gXlVtX4TMF+mmSMy =CsWK -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org