Hi,
Have you specified any annotations on your org.example.MyService interface ?
Also try this
<executions>
<execution>
<id>generate-wsdl</id>
<phase>process-classes</phase>
<configuration>
<className>org.example.MyService</className>
<outputFile>
${project.build.directory}/generated-sources/jaxws/MyService.wsdl
</outputFile>
<verbose>true</verbose>
<argline>-classdir
${project.build.directory}/classes</argline>
</configuration>
<goals>
<goal>java2wsdl</goal>
</goals>
</execution>
</executions>
You are also on an old version of CXF - is it possible you can upgrade to a
later version ?
Edell.
On Wed, May 6, 2009 at 1:17 PM, shauom <[email protected]> wrote:
>
> Hi, every one,
> I'm new to ServiceMix. I tried to develop a bottom up WS using
> servicemix-cxf-bc and servicemix-cxf-se through maven builder. I tried the
> top down approach, its working. But for the bottom up, i couldn't find a
> good understandable examples. can u anyone help me to do so. I found some
> maven ( Java2WSDL ) CXF scripts to generate the WDSL file from the java
> implantation. but its generate the WSDL file but not generate the necessery
> stub jave files. can anyone help me to write a good WS which using
> servicemix-cxf-se.
>
>
> I used this sources -
> http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html
>
> Java2WSDL
>
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-codegen-plugin</artifactId>
> <version>2.0.9</version>
> <dependencies>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-rt-frontend-jaxws</artifactId>
> <version>2.0.9</version>
> </dependency>
> </dependencies>
> <executions>
> <execution>
> <id>generate-wsdl</id>
> <phase>process-classes</phase>
> <configuration>
> <className>org.example.MyService</className>
> </configuration>
> <goals>
> <goal>java2wsdl</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
>
> This is the script : http://www.nabble.com/file/p23405483/maven.txt
> maven.txt
>
>
> I need this urgently. so please help me.. :)
>
>
> Thanks in advance
> --
> View this message in context:
> http://www.nabble.com/Need-help-to-create-a-Bottomup-WS-using-CXF-tp23405483p23405483.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>