[SoapRMI] Re: _how_to_call_apache-soap_
Aleksander Slominski
aslom_at_cs.indiana.edu
Tue, 10 Dec 2002 00:20:55 -0500
nodep_at_libero.it wrote:
>Hi Alek,
>I've to call an Apache-soap(v2.3.1) service is running on Tomcat server,
>could you tell me the basic setting, please? (In the xsoap-side ... :))
>Here is the "Deployed Service Information" as is in "Apache SOAP Admin":
>
>'urn:HelloWorldServer' Service Deployment Descriptor
>Property Details
>
>ID urn: HelloWorldServer
>Scope Request
>Provider Type java
>Provider Class esempi.helloworld.HelloWorldServer
>Use Static Class false
>Methods sayHello
>Type Mappings
>Default Mapping Registry Class
>
>
hi,
take a look on on samples/interop/client/Main.java in this case
you just need to create startpoint that points to server interface
i assume here that server HelloWorldServer implement HelloWorld
interface that has sayHello method and is running at
http://localhost:8080/axis/services/hello)
HelloWorld serverReference = HelloWorld)
soaprmi.soaprpc.SoapServices.getDefault().createStartpoint(
//server location,
new Class[]{HelloWorld .class},
"HelloWorldServer" // service namespace in case of AXIS i
think it is ID urn,
soaprmi.soap.SoapStyle.SOAP11,
"" // soapAction
);
let me know if it worked OK fro you (or if not i will need to know more
about server setup what is exactly HelloWorldServer and how AXIS client
looks).
thanks,
alek
--
The ancestor of every action is a thought. - Ralph Waldo Emerson