creating webservice using wsgen

create your interface and implement your interface with your webservice class 
and create your class

then open command prompt and select ur class... 

1. to create jaxws--- wsgen -cp yourpackage.implementationclass 
eg. wsgen - cp com.test.ws.Sampleimpl 

it will create artifacts then create service name and then create the client class

2. wsimport -p package.implementationclass wsdl
eg. wsimport -p com.test.ws.Sampleimpl http://localhost:8080/SampleWs/SampleWsService?wsdl


Comments

Popular posts from this blog

Spring MVC with Sqlite sample

Struts Tutorial Page