To verify the set-up, issue the following command from a Command Prompt, as shown in Figure C-24.
The StockQuoteService.jws is a sample Web Service application that comes with the Axis installation. Instead of writing your client, you can invoke the service by calling the exposed functionality, getQuote, based on the WSDL.
Press Control-Z to exit from the Perl session.
Alternatively, you can run any sample program from the SOAP-Lite distribution (for example, %SOAP-Lite%examplesXMLRPCsimple1.pl), as shown in Figure C-25.
D:DevSOAP-Litein>perl soapsh.pl http://localhost:8080/axis/StockQuoteService.jws
Usage: method[(parameters)]
> getQuote("SUNW")
—- SOAP RESULT —-
'35.84'
> getQuote("MFST")
—- SOAP RESULT –––/–––
'0.0'
> getQuote("AOL")
—- SOAP RESULT –––/–––
'11.0'
|
D:DevSOAP-LiteexamplesXMLRPC>perl simple1.pl Missouri D:DevSOAP-LiteexamplesXMLRPC> |
3.129.23.181