In some ways yes - but all of the data about the request is passed to
"locate"
not "invoke" because it assumes that "locate" will actually do the work to
find the web service and verify that you can call it before it is actually
invoked.
The locate method will need to stash any of the data passed in so that the
invoke method has it available (if needed).
-Dug


Dmitri Colebatch <[EMAIL PROTECTED]> on 08/13/2001 08:59:49 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Getting started with Providers



from what I can see you dont actually need to do anything in the locate
method if you dont want to.  in a simple hello world I assume that method
be empty.  I see it like the init of a servlet.

hth, cheers
dim

On Mon, 13 Aug 2001, Doug Davis wrote:

> take a look at the "provider" sample.  Providers are called on
> the server-side not the client.  They are used to "locate"
> and "invoke" the Web service.
> -Dug
>
> Peter Doyle <[EMAIL PROTECTED]> on 08/13/2001 06:35:27 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  Getting started with Providers
>
>
>
> Hi everyone,
> I am trying to do write some sort of provider (I am using
> TemplateProvider.java as a... template!)
> However, I am at a loss as to how and where the locate and invoke methods
> get called.  Are they called from the client using call.setMethodName()
or
> is there something else missing? (I am new to this and I have not found
any
> appropriate samples).
> Could someone please send me a sample provider and client which uses it
(I
> guess the DeplomentDescriptor would be useful too)
>
> any help would be much appreciated!
>
> thanks in advance
>
> Peter
>
>
>



Reply via email to