Anuj,

WSIF offers two modes of invocation, dynamic and stubbed (using dynamic
proxies). The code you are looking at shows the stubbed approach. To invoke
the StockQuote sample in a dynamic way you can use the DynamicInvoker class
via:

java clients.DynamicInvoker samples/simplesoap/StockquoteSOAP.wsdl getQuote
XYZ

where XYZ is the stock symbol.

Regards,
Owen



|---------+---------------------------->
|         |           Anuj Agrawal     |
|         |           <[EMAIL PROTECTED]|
|         |           o.com>           |
|         |                            |
|         |           01/04/2003 15:44 |
|         |           Please respond to|
|         |           wsif-user        |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                                              |
  |       To:       [EMAIL PROTECTED]                                                  
                                                        |
  |       cc:                                                                          
                                                              |
  |       Subject:  SOAP samples                                                       
                                                              |
  |                                                                                    
                                                              |
  |                                                                                    
                                                              |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|



Hi -

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?

Thanks for any help.
Anuj.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com




Reply via email to