[ajug-members] websphere 7.0 JAXWS webservice deployed in tomcat 6.0.32 not working
Summers Pittman ℝ
secondsun at gmail.com
Sun Sep 18 13:06:26 EDT 2011
You need to use Apache cxf to use jaxws with tomcat.
On Sep 18, 2011 1:05 PM, "Sony Antony" <sony.antony at gmail.com> wrote:
> Websphere processed the @webservice annotation at deployment time and
> generates a bunch of classes sp as to make it act as a web service
> Tomcat doesn't do this and ence doesn't work
> On Sunday, September 18, 2011, Narahari 'n' Savitha <savithari at gmail.com>
>> 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
>> The imp thing is that web.xml does NOT have any servlets in it or
> listeners defined.
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="
>>> id="WebApp_ID" version="2.5">
>> However when I deploy that war file to Tomcat 6.0.32 and then copy the
> axis2 jars to the WEB-INF\lib folder.
>> 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 ?
>> What am I missing ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ajug-members