Title: RE: Getting started with Providers
Hi,
thanks for all your help.
so if I was to have a provider (myProvider) which has locate and invoke methods, does this then mean that I need some other service (myService) running within which a method (myMethod) will be called by use of my DeploymentDescriptor and by using call.setMethodName(myMethod) on the client side
 
DeploymentDescriptor:-
 
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:myService">
    <isd:provider type="com.path.to.myProvider"
                  scope="Application"
                  methods="myMethod">
        <isd:java class="com.path.to.myService"/>
    </isd:provider>
 <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
 
am I barking up the wrong tree here?
 
thanks
Peter
-----Original Message-----
From: Dinh Viet Hung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 2:42 am
To: [EMAIL PROTECTED]
Subject: RE: Getting started with Providers

Peter,

Provider is used at server side (exactly is by servlet router). You can look at org.apache.soap.server.http.RPCRouterServlet, it is where the provider is instantiated

hope that it helps,
Hung



-----Original Message-----
From: Peter Doyle [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 6:35 PM
To: [EMAIL PROTECTED]
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