Click here to get back home

Re: Perl SOAP Server - Returns Strings Arrays with WSDL Compliant Names

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: Perl SOAP Server - Returns Strings Arrays with WSDL Compliant Names Ben Bullock 05-08-2008
Posted by Ben Bullock on May 8, 2008, 8:25 pm
Please log in for more thread options
> I have a SOAP Web Service which needs to return a string of Arrays but
> when it does, the SOAP Response is incorrect (or rather incompatible
> with .NET and my handwritten WSDL file). I have found some threads
> which claim to solve the problem, but with my poor knowldge of Perl, I
> don't know what the solution is. Can someone explain this post:

> sub GetActiveUserList
> {
> my @usrLst = &StaticSession::getUsers;
> push @usrLst, "test";
> push @usrLst, "again";
> `echo @usrLst >> output.txt`;
> return @usrLst;
> }

There doesn't seem to be anything wrong with this, but the XML you
showed wasn't generated by this routine anyway.

> --- It gets "There is an Error in the XML document Exception". When I
> run a soap client with debugging on...this is the message I get in
> each direction:

The only thing I can say is that this is not a problem with the above
Perl routine, although it might be a problem with some other Perl
somewhere else which you didn't show, or it might be an XML problem or
a Visual Basic problem or something.

Similar ThreadsPosted
SOAP::Lite with Microsoft Project Server PDS.WSDL April 24, 2006, 2:43 pm
perl+soap+wsdl+weblogic May 23, 2006, 10:11 am
Soap/WSDL perl versus java ? May 25, 2007, 7:37 am
WSDL/SOAP/XML-RPC HELP August 20, 2004, 5:39 pm
SOAP::Lite +wsdl March 5, 2005, 5:15 am
SOAP::Lite and WSDL namespace - please help November 4, 2005, 3:48 am
SOAP::Lite + wsdl misunderstanding? January 23, 2007, 11:58 pm
SOAP::Lite - getting WSDL using basic authentication February 12, 2008, 4:03 pm
[Announce] A custom version of SOAP::WSDL released April 23, 2006, 10:24 am
[Announce] New custom version of SOAP::WSDL released June 10, 2006, 12:49 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap