Subscribe:

Ads 468x60px

Pages

Monday, September 9, 2013

Generating Web Service Artifacts In Client Side

When we are implementing the client side web service programming logic with JAX-WS we need to have the web service artifacts such as Service Endpoint Interfaces, Service classes, JAXB elements and other artifacts. These are derived from the WSDL file of the web service. The wsimport tool provided in JDK is used to generate the web service artifacts from a remote WSDL file which can be accessed over the network.



Syntax: wsimport <flags> <link to wsdl>

Eg: wsimport -keep http://stockquote.xyz/quote?wsdl

No comments:

Post a Comment