Re: Multidimensionality in SOAPLite

"Chen, Li (Research, YOH)" <[email protected]> Tue, 15 Jul 2003 09:16:26 -0400
Newsgroups gmane.comp.windows.devel.soap.general
Message-ID <[email protected]>
Okay, I'll include that in the Perl client documentation...one more thing
though; the web service on the server side returns something like
String[][], I'm not sure how Perl can access the resulting multidimensional
array.

Thanks,

Lee

-----Original Message-----
From: Eric Amick [mailto:[email protected]]
Sent: Monday, July 14, 2003 6:03 PM
To: [email protected]
Subject: Re: [SOAP] Multidimensionality in SOAPLite


On Mon, 14 Jul 2003 17:41:55 -0400, you wrote:

>I didn't explain it well enough, I guess.  I meant for you to try
>
>-> getPersonData(SOAP::Data->name(arg0 => \@attributes),
>SOAP::Data->name(arg1 => \@restrictions), SOAP::Data->name(arg2 =>
>\@app_name))
>
>If that doesn't work, try replacing "name" with "type" in the above
>line, but I seriously doubt that that will do it.

I'm glad it worked, but if you think that is ugly, you can try something
like

my $arg0 = SOAP::Data->name(arg0 => \@attributes);
my $arg1 = SOAP::Data->name(arg1 => \@restrictions);
my $arg2 = SOAP::Data->name(arg2 => \@app_name);

and then later

-> getPersonData($arg0, $arg1, $arg2)

--
Eric Amick
Columbia, MD