in reply to Re^2: SOAP array construction with SOAP::Data::ComplexType
in thread SOAP array construction with SOAP::Data::ComplexType

Unfortunately SOAP::WSDL available via ActivePerl's Perl Package Manager is 1.20 and has a bug which causes wrong typing.
I'm using 1.20 on my production box, 1.25 on my dev box.

I've passed arrays of strings (and arrays of other complexTypes) to services before using both versions.

What type errors in value construction are you seeing? If there's really a problem there, perhaps you could Report a bug ?

And the latest version, probably 1.25, requires some ActivePerl built-in components (including SOAP::Lite) to be updated and I gave it up.
SOAP::Lite and SOAP::WSDL are both Perl-Only modules (examples aside), so just upgrade them on your dev box via CPAN, then use PPM::Make to build PPM packages for your testing/production machines. If you don't have nmake.exe (from visual studio) installed, you can get instructions here.

SOAP::WSDL is currently undergoing a re-write (v2 series). From what I understand it will have a mostly similar interface but will be much more flexible. A (developer) release is available now for testing.

Why don't you check if your issues are resolved with the v2 series?


  • Comment on Re^3: SOAP array construction with SOAP::Data::ComplexType

Replies are listed 'Best First'.
Re^4: SOAP array construction with SOAP::Data::ComplexType
by takeos (Initiate) on Nov 20, 2007 at 05:53 UTC

    Thank you again for your kind comments. I spent this morning to see what the problem is exactly and found SOAP::WSDL 1.20 was trying to find an appropriate input/output message using /definitions/service/port/@name value while it has to use /definitions/portType/@name value. I've added a line,

    $soap->_wsdl_portname('ServiceName'); #retrieved from /definitions/portType/@name

    and everything seems working so far. Well now it's so easy to write a code that I can't stop laughing :-)

    And thanks for V2 series info. I'm gonna try it when I feel the current version is not powerful enough for what I want to do.

    It has been almost 6 weeks since I started lerning Perl by myself and now I feel relieved to find there's so many supportive people around here at perlmonks. I wish I could help another one sooner.