permaculture playing cards*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes wscompile - how to generate wsdl from service endpoint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "wscompile - how to generate wsdl from service endpoint" Watch "wscompile - how to generate wsdl from service endpoint" New topic
Author

wscompile - how to generate wsdl from service endpoint

Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39
Hi,

the following performs wsdl2java


can someone please send me a sample code for the reverse?

Thanks!
Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39
hi,

I managed to generate the server side files , can anyone tell me how to generate the wsdl though



How do I specify the location of the folder to which the generated wsdl file should be saved???
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I have used wsgen, not wscompile, to generate the WSDL when doing Java-first development of web services.
Below is a snippet from the Ant buildfile that invokes the wsgen task:

Best wishes!
Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39
Thanks a lot Ivan!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: wscompile - how to generate wsdl from service endpoint
 
Similar Threads
Error in ant test command
Please Help: Can't generate wsdl and mapping file
modeler error: invalid entity name: "GetResponse"
Create an endpoint interface from wsdl using wscompile (jaxrpc)
WSDP2.0 pack example