Hi,
The DynamicInvoker is an example of using the WSIF dynamic API to invoke any web service. If you want to write your own client that uses WSIF's dynamic API, that code would help. However since the DynamicInvoker code is used to invoke *any* web sevrice, it does introspection and things that you would not require if you were just writing a client to access a particular web service. You can also look at the dynamic clients in all the samples. There is no "recommended" way, but hopefully all those examples will help.
Nirmal.
| Anuj Agrawal <[EMAIL PROTECTED]>
04/01/2003 10:28 AM
|
To: [EMAIL PROTECTED] cc: Subject: Dynamic Invoker (was Re: SOAP samples) |
Ok - that clears that up. I see the DynamicInvoker class being used as
well. Is the code in that class the "recommended" way for us to build
web service clients using dynamic invocation?
Anuj.
--- Nirmal Mukhi <[EMAIL PROTECTED]> wrote:
> WSIF allows stubless (dynamic) invocation as well as invocation
> through
> JAX RPC stubs. You don't have to do stub invocation if you don't want
> to.
> The sample present two alternative clients for accessing the same
> service,
> one using the dynamic API and one using a JAX RPC stub (all the
> samples
> follow this format).
>
> Anuj Agrawal <[EMAIL PROTECTED]>
> I've been reading up on WSIF and it sounds great! I have a question
> regarding usage.
>
> In the SOAP (StockQuote) sample on the ws.apache.org/wsif site, why
> are
> (any) stubs are used in the example? I thought one of the main ideas
> of the dynamic invocation was that we wouldn't need to generate
> stubs.
> Did i miss something here?
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com
