Hi,

I have written jax-ws webservice using Provider<SOAPMessage>.  Using maven
now I suppose next steps are to generate wsdl and then client.  can one
point me to example/article.

I have wsdl and client in this 
http://cxf.547215.n5.nabble.com/webservice-client-marshal-exception-tp5654848p5654848.html
post  generated using pom snippet:
<plugin>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-java2ws-plugin</artifactId>
        <version>${cxf.version}</version>
        <executions>
           <execution>
                
            <id>process-classes</id>
            <phase>process-classes</phase>
            <configuration>
              <className>com.mkyong.webservice.ProductWebService</className>
              <genWsdl>true</genWsdl>
              
             
<outputFile>${project.build.directory}/${project.build.finalName}/wsdl/ProductWebService.wsdl</outputFile>
              
              <genServer>true</genServer>
              
              <verbose>true</verbose>
            </configuration>
            <goals>
              <goal>java2ws</goal>
            </goals>
          </execution>
        </executions>
   </plugin>  

The doubt if this is right as the client is supposed to be Dispatch API
based.  If I use eclipse m2e plugin it generates client correctly.  Please
guide how to get going with maven.

Regards,

Miten.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/generate-wsdl-and-client-Dispatch-for-jax-ws-Provider-tp5655967p5655967.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to