Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to use wsimport in java prgram?

843834Nov 3 2008
Hi Friends,
I am trying to convert wsdl file into java classes. And I did it through wsimport tool.
By this command : $wsimport -d <directory path to put java classes> -Xnocompile <wsdl file location>

it generated all required java source files in directory.
But I want it though java program. in which I can pass directory location, wsdl location .
I saw wsimport folder, it contains many jar files. But dont know which to use in my program.

basically I am developing an eclipse plugin, so everything should be done through java program. That's why I am searching the programmatic way.
Please help

Thanks
Harshit
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2008
Added on Nov 3 2008
0 comments
154 views