Dear all,
I'm quite new to Axis2 and all the stuff around webservices, so
hopefully I don't ask too stupid questions :-)
I installed Axis2 into Tomcat and we were able to build a webservice,
querying it from a browser works quite well. So for example a call like
this in a browser:
http://OurServer:8080/axis2/services/GermanetService/getSynonyms?word=Kraft
works fine and as expected.
Now, I tried to build a simple client with Perl's SOAP::Lite module. If
I call a method which expects no parameters, the Perl program also works
fine:
#!/usr/bin/perl -w
use SOAP::Lite;
print SOAP::Lite
-> proxy('OurServer:8080/axis2/services/Version')
-> getVersion()
-> result;
But when I try to execute a method with a parameter, I get back - hhmmm
... nothing:
#!/usr/bin/perl -w
use SOAP::Lite;
print SOAP::Lite
-> proxy('OurServer:8080/axis2/services/GermanetService/')
-> getSynonyms('Kraft')
-> result;
I googled around, but I found no answer to this ...
Perhaps a Perl program is not the best solution to access Axis2. I also
took a look at the examples which are shipping with Axis2, I deployed
the StockQuote example. It works quite well, also the Beans-Client
(quickstartxmlbeans) works fine, so, I think that my installation is
correct. But when I try to access the StockQuote service from Perl,
again, methods which are needing a parameter still won't work.
Thanks for any help!
Tom
--
Thomas Zastrow
Seminar fuer Sprachwissenschaft
Universitaet Tuebingen
http://www.sfs.uni-tuebingen.de/dialectometry/
Wilhelm Str. 19
D-72074 Tübingen
Tel.: 07071/29-73968
Fax: 07071/29-5214
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]