Hi Paulo,
I think what you need is something like this , I use the Jee5
webservice annotations , I use jboss you need to replace that part
for the libs of your server, the websersive annotation comes from
jsr181-api , I guess for jee6 you need the latest version of that and
the rest of the libs
<!-- JAX-WS API -->
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- WebService JAX-WS -->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss.jbossws-spi</groupId>
<artifactId>jbossws-spi</artifactId>
<scope>provided</scope>
</dependency>
<!-- JAX-B for XML Binding -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml.soap</groupId>
<artifactId>saaj-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- JBoss-WS -->
<dependency>
<groupId>jboss.jbossws</groupId>
<artifactId>jbossws-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss.jbossws</groupId>
<artifactId>jboss-jaxrpc</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss.jbossws</groupId>
<artifactId>jboss-jaxws-ext</artifactId>
<scope>provided</scope>
</dependency>
Hope it helps
Gabriel
On 13 Apr 2009, at 15:58, Paulo Cesar Reis wrote:
Hi Karlz,
Thanks for the answer.
Yes, I can understand that for web-services, but I am trying to
create a
Servlet using annotation (like we can see on this page
http://java.dzone.com/articles/an-overview-servlet-30). So that's my
point,
why the need of axis2 to create a Servlet? (not a web-service.)
Thanks.
On 4/13/09 11:48 AM, "Karl Heinz Marbaise" <[email protected]> wrote:
to use it in real
world....e.g. Axis2 or CXF ....as implementation...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]