|
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.
|