IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New SOAP / XML confusion
I've got to access a SOAP server and execute some stuff.
I'm trying to do it using the Perl SOAP::Lite client.
I've been given some VB examples, but they don't seem to map to what the perl library is expecting.
When I try to boil it down to the simplest interaction, I get an odd error message.

IE: Load the WSDL file and call the sample HelloWorld function:
---------------------
use SOAP::Lite service=>'[link|http://xx.yy.zz.qq/Web2PS/Web2PS.WSDL'|http://xx.yy.zz.qq/Web2PS/Web2PS.WSDL'];
print HelloWorld(' '), "\\n";
---------------------

And I then get:
Element 'xml' can't be allowed in valid XML message. Died. at /usr/local/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 1356.

WTF?

I know I can pull the Web2PS.WSDL file via a wget, but I really don't pretend to understand it. Google does not help me here.

Any ideas?
New WSDL = Web Services Description Language
Just a file that connects up soap requests with the appropriate .net handler objects. No clue on the error message, though it probably just means that the soap message received doesn't match anything in the wsdl dispatch.
New Further research shows probably vendor source error.
Not supposed to use the name "xml" for items.
     SOAP / XML confusion - (broomberg) - (2)
         WSDL = Web Services Description Language - (ChrisR) - (1)
             Further research shows probably vendor source error. - (broomberg)

It looks like someone transcribed a naval weather forecast while woodpeckers hammered their shift keys, then randomly indented it.
79 ms