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 wscompile to generate code using a WSDL file?

843834Jul 16 2003 — edited May 19 2004
I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:

http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094

it says that wscompile can generate code using a WSDL file..:

<quote>
Table 11-3 wscompile Options
...
...
-import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
...
</quote>

and the wscompile software says this:
<quote>
C:\>wscompile
...
...
-import : generate interfaces and value types only
...
</quote>

can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2004
Added on Jul 16 2003
9 comments
478 views