Pages

Wednesday, March 21, 2012

SOAP Web Services - Generating Java artifacts with WSIMPORT

Hi

The Java JDK comes with an easy tool to generate Java Web Services artifacts. Prefer this method instead of JBoss wsconsume because if your JBoss is too old, it will lead to some random error (ClassCastException...)

You just have to type the following command.

wsimport -s source -p com.mypackage http://mywsdlpath
:8080/method?wsdl

No comments:

Post a Comment