Re: Creating a service/client from WSDL

From: Steve Robenalt <steve_at_WEBCIRCUIT.COM>
Date: Tue, 25 Feb 2003 14:42:35 -0800

Hi Maneesha,

I have generated service and client code from a provided WSDL file. The
wscompile tool is the one that you should use for this task. It is used
in the HelloWorld example to create the client, but you can modify it to
generate both server and client code. It is partially covered in the
tutorial, but the docs are better at describing the steps to perform
than they are at describing what to do if you want to do something

If you have problems setting it up, feel free to send me email directly
(off the list) and I'll see if I can help...

- Steve Robenalt

Maneesha Jain wrote:

>Given a WSDL that uses document/literal, I'm trying to create a service,
>deploy and then create client for it.
>Are there steps available on how to accomplish this ?
>After generating the server stubs using wscompile, I'm trying to follow
>the HelloWorld tutorial steps
>to create and deploy the service on tomcat.
>It seems the WSDL created by wsdeploy is using rpc/encoded. How do I
>give hint to wsdeploy to create the WSDL using document/literal or to
>use the
>original WSDL that I have in hand.