You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by david duncan <ul...@yahoo.com> on 2006/02/23 11:43:05 UTC
stub + skeleton
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 this 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.
Re: stub + skeleton
Posted by Anne Thomas Manes <at...@gmail.com>.
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 <ul...@yahoo.com> 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<http://us.rd.yahoo.com/evt=38381/+ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html+>.
> Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
>
>
>