The Call interface is a low-level, dynamic interface, and it can be trickier when using complex types. The stub interface is more like RMI. Simpler, easier, but less dynamic and less control.

Anne

On 2/23/06, david duncan <[EMAIL PROTECTED]> wrote:
just finished axis User Guide with a few questions :
 
- there are 2 ways to deploy / call a web service
1) (without using / generate stub + skeletons) --> example1 in axis samples
--> call web service using --> Call call = (Call) service.createCall();
 
2) (generate stub + skeletons using WSDL2Java) example6 in axis samples
--> call web service using --> WidgetPriceServiceLocator().getWidgetPrice()
 
QUESTION 1 : what are the difference the 2 ways --> deploy / calling a web service?
 
QUESTION 2 : is the 2nd way (using stub) better? since just run WSDL2Java then i can call web service in my client code + all code generated automatically
 
QUESTION 3 : is all other web service engine (.NET / PHP / Perl) has t his 2 ways of deloyment as in axis? -OR- all web service have to generate stub + skeletons?
 
Thanks
 
- David
 


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.


Reply via email to