This should do the job, although I haven't tried the -y option because my WSAD IDE did that for me.
RPC-Encoded and DOC-Literal only differ in the format of the SOAP message (and of course the WSDL). And parsing of the SOAP message is taken care of by Axis, so your web service java classes don't need to change. Thanks Vikas -----Original Message----- From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 10:46 AM To: [EMAIL PROTECTED] Subject: RE: Simple DOC-LIT sample Thanks Enric and Vikas for your replies. Correct me if I am wrong. If I have an RPC service, all I need to do is to use -y option and specify DOCUMENT and regenerate my stubs, re deploy the wsdd file and run my client. Thanks. Sagar PS : -y, --style <argument> The style of binding in the WSDL, either DOCUMENT, RPC, or WRAPPED. -----Original Message----- From: Enric Jaen [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 12:14 PM To: [EMAIL PROTECTED] Subject: Re: Simple DOC-LIT sample Here you will find an example, and you can download the code at the bottom. http://www.sosnoski.com/presents/cleansoap/axis.html -Enric > > > Hi, > > I am looking for a simple DOC-LIT sample. I looked around in samples > folder, but probably missed it if it was there. I would appreciate any > help. > > Regards > > sagar >