|Keep It Simple, Stupid|
Web services client in Perlby sshahar1 (Initiate)
|on Jan 09, 2008 at 13:06 UTC||Need Help??|
sshahar1 has asked for the
wisdom of the Perl Monks concerning the following question:
I wrote my first web service in Java a week ago. The application server is glassfish and the web service package is JAX-WS.
Servlet client worked, meaning connected to the client and run the method. I'm trying to implement a Perl client, I used the very helpful instructions here: http://guide.soaplite.com/#access%20with%20service%20description%20(wsdl) My client is based on example 6.b, meaning something like:
The wsdl file was created with the JAX-WS utility wsgen (as I said it was good enough for the Servlet), and imoprts the xsd file.
I am able to connect to the service, because if I try to activate a method which does not exist I get a message that the method does not exist, but when I try to run an existing method I get a warning that $result is not initialized.
Any ideas or suggestions? Is this a problem with the wsdl file? Can this be connected to the importing of the xsd file (seems not likely to me, but that's the noly difference I could see from the examples I saw)?