Using Service and Call you are making your code portable between any JAX RPC based implementation of Web Services. That means, if you switch away from Axis to some other JAX RPC implementation of Web Services, your client code works (should work) without any code changes.
Using Stubs your client code is tied to Axis implementation (JAX RPC, of course) because you are using Axis generated stubs classes. Thanks Yuva ________________________________ From: Seetha Rama Krishna [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 4:48 AM To: [email protected] Subject: Fwd: wsdl2java Hi, can any one tell me the difference for the below mail Seetha Rama Krishna <[EMAIL PROTECTED]> wrote: Date: Thu, 13 Mar 2008 19:03:46 +0000 (GMT) From: Seetha Rama Krishna <[EMAIL PROTECTED]> Subject: wsdl2java To: [email protected] Hi, What is the difference b/w client program that is generated by using wsdl2java(i.e. generating stubs for WSDL) and writting the client program using axis API like service.call etc.. Will there any performance difference b/w them?? If so how can we decide, which one to adapt?? Thanks, ram ________________________________ Why delete messages? Unlimited storage is just a click away. <http://in.rd.yahoo.com/tagline_mail_1/*http:/help.yahoo.com/l/in/yahoo/ mail/yahoomail/tools/tools-08.html/> Thanks & Regards, Krishna ________________________________ Get the freedom to save as many mails as you wish. Click here to know how. <http://in.rd.yahoo.com/tagline_mail_5/*http:/help.yahoo.com/l/in/yahoo/ mail/yahoomail/tools/tools-08.html/>
