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 <
[EMAIL PROTECTED]> 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

Reply via email to