aspose file tools
The moose likes Web Services and the fly likes Is it possible to use the wscompile tool from the Command Prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Is it possible to use the wscompile tool from the Command Prompt" Watch "Is it possible to use the wscompile tool from the Command Prompt" New topic
Author

Is it possible to use the wscompile tool from the Command Prompt

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I have coded a interface and a implementation class .please let me know how can i generate the wsdl files for these Java classes , from the command prompt .







Save India From Corruption - Anna Hazare.
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
If using JAX-WS, you can use the command line tool wsgen to generate miscellaneous artifacts from annotated Java classes.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Sorry for the incomplete details ,

It is based on JAX RPC , there is no JWSD Pack to use any tools , only the thing i have is JBOSS of 4.2 version ,
so i heard that JBOSS comes with its own tools such as wstools , wsrunclient , wsprovide , wsconsume tools

could you please let me know if it is possible to generate Wsdl files and other things required using these tools of JBOSS .

Thank you .
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Here is how you generate java source from a WSDL with wsconsume from a command line: http://community.jboss.org/wiki/JBossWS-wsconsume

And here are the complete JBoss WS User Guide: http://community.jboss.org/wiki/JBossWS-UserGuide


Regards, Rene Larsen
Dropbox Invite
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks for the great link ,

Is Java to WSDL generation is possible using JBOSS .
Please reply , the problem is that i dont have sun's WSDP nor JBOSS wscompile tools .(All the examples in net are related to these both )

IS this possible by anyway ??
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You should be able to generate WSDL from Java with JBoss's wsprovide tool.

What are you using as you WS client, if not JBoss ?? Axis2 ?? XFire ??
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi Thanks for the reply , could you please provide me more details as of How to use wsprovide tool .

Please tell me how to use wsprovide tool of jboss.

Thanks in advnace .
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Ravi Kiran V wrote:Hi Thanks for the reply , could you please provide me more details as of How to use wsprovide tool .

Please tell me how to use wsprovide tool of jboss.

Thanks in advnace .

In the link I posted earlier, was a link to JAX-WS Tools - and there you'll find how to use wsprovide.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is it possible to use the wscompile tool from the Command Prompt
 
Similar Threads
cannot resolve symbol
Compilation of a Dynamic Proxy Client
Issue while deploying web service jwstutorial example CLI171
Sun J2ee webservice tutorial doubt
Sun J2ee webservice tutorial doubt