openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karan Malhi" <karan.ma...@gmail.com>
Subject Re: Does OpenEJB3.0 support @WebService & co (jax-ws) annotations?
Date Sat, 02 Aug 2008 12:19:42 GMT
Christian,

There is an example in the openejb examples zip file on the download page at
http://openejb.apache.org/download.html. Download the
openejb-examples-3.0.zip file. This file contains a directory named
simple-webservice. If you have maven installed on your machine, then you can
navigate to that directory and run mvn clean install.
The simple-webservice/src/main/java directory contains the source code of
the web service
The simple-webservice/src/test/java directory containst the JUnit unit test
(which acts as a client)

Right now if you look at the pom.xml which comes with the example, it has a
dependency on 3.0 of openejb-cxf. When you run this test, it will fail
because of a bug which was later fixed. So, to make sure you can run the
test succssfully, please change that dependency to 3.1-SNAPSHOT. Here is the
updated dependency in pom.xml

    <dependency>
      <groupId>org.apache.openejb</groupId>
      <artifactId>openejb-cxf</artifactId>
      <version>3.1-SNAPSHOT</version>
      <scope>test</scope>
    </dependency>



On Sat, Aug 2, 2008 at 6:32 AM, Christian Schuhegger <
Christian.Schuhegger@gmx.de> wrote:

> Hello,
>
> I could not find any documentation talking about the @WebService
> annotations. Does OpenEJB3.0 support the jax-ws annotations? Are there any
> examples?
>
> Thanks,
> --
> Christian Schuhegger
> http://www.el-chef.de/
>
>


-- 
Karan Singh Malhi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message