Regarding question 1: the "wrapped" convention is a form of document/literal. Please see my blog entry on this topic: http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html
On 6/3/05, Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote: > Thanks Anne for your reply. > > Basically I'm trying to develop a client to webservice. So I need to map > the client inputs to the webservice request and return the response in > client understandable format. I wanted to avoid generation of classes > using WSDL2JAVA if possible since it is not recommended in my project. > Also I dont know what webservice are called because each client needs to > configure their webservice details. > > I have some additional questions. I'm new to webservice. > 1. How did you say the WSDL I sent conforms to wrapped convention > because I see the style.use as document/literal. > 2. I thought I saw the WSDL2JAVA also generated the classes for anyType. > I did not write any deserializers. Guess you meant writing deserializers > if I dont use WSDL2JAVA? > 3. Where can I find some example of serializer/deserializer > Thanks, > Ravi > > Anne Thomas Manes wrote: > > >The service is defined as document/literal, therefore that's how you > >must encode the messages. But you can still "invoke" it using an RPC > >style -- at least from your application's perspective. This WSDL > >conforms to the "wrapped" convention, so Axis allows you to invoke it > >using an RPC programming style. > > > >The right way to do that is to use WSDL2Java to generate a client > >proxy stub and to invoke methods on the stub. Because the service uses > >anyType, you also need to define custom deserializers. > > > >What exactly are you looking to do? > > > >Anne > > > >On 6/2/05, Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote: > > > > > >>Hello: > >>I 'm a newbie to Axis. Was looking into the following wsdl: > >>http://www.atomic-x.com/xmlservices/dnslookupservice.asmx?wsdl > >> > >>Was able to use WSDL2JAVA from Axis to generate the stubs and hence invoke > >>the > >>webservice. > >> > >>Wondering is there any other way to invoke the webservice successfully > >>instead of using WSDL2JAVA. The webservices has datatypes that could be > >>complex types and would like to invoke RPC as well as Document style. > >> > >>I'm looking only as a client to invoke the webservices. Also any > >>suggestions design approach for this is welcome. > >> > >>Thanks for your time. > >>Regards, > >>Ravi > >> > >> > >> > >> > >> > > >
