SOAP::WSDL?

Ovid on 2004-10-08T17:28:43

Does anyone here have experience with SOAP::WSDL? One of our clients wants us to use SOAP and they've presented us with a WSDL document. I'm not terribly familiar with WSDL, so I'm not sure what the best Perl tools are.


2 cents

jonasbn on 2004-10-10T08:27:52

I used Perl to test webservices implemented in VB.NET at my former job, this was without using the WSDL though.

I later found a WSDL generator from Fotango, I have not used it and I do not know whether it will be of interest to you, but I just wanted to let you know.

http://opensource.fotango.com/software/index search for WSDL::Generator

It's easy ...

drhyde on 2004-10-11T08:32:34

my $soap = SOAP::Lite->service('url of WSDL file');
my $result = $soap->method(@params);

Beware craziness with datatypes. Beware that SOAP::Lite is a steaming pile of undocumented shit.

Beware relative URLs

pemungkah on 2004-10-12T14:51:53

Turns out that you can't feed SOAP::Lite::service a relative path and have it do anything sensible (as yet). I have a patch in to the SOAP::Lite guys that enables it, but wen the next release is, who knows.

If you have trouble getting your services to communicate, there's a line in SOAP::Lite::call that you can set a breakpoint on to see the raw returned XML.

I've had some success with SOAP::Lite::service and Python code using the ZSI library, but stuff like the WASP demo program just doesn't work.

SOAP::Lite could use a good refactor.