Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] SOAP::Lite for Perl ARRAY question.

Expand Messages
  • Paul Kulchenko
    Hi poweroftibx, ... my $som = $soap- getNewsByTicker( SOAP::Data- name( tickers = [ TIBX , YHOO ]) ); would look more natural. Best wishes, Paul. ...
    Message 1 of 2 , Oct 17, 2002
    • 0 Attachment
      Hi poweroftibx,

      > my $som = $soap->getNewsByTicker(SOAP::Data->name('tickers'
      > =>\['TIBX','YHOO']));

      my $som = $soap->getNewsByTicker(
      SOAP::Data->name('tickers' => ['TIBX','YHOO'])
      );

      would look more natural.

      Best wishes, Paul.

      --- poweroftibx <chavan@...> wrote:
      > Hi,
      >
      > I am trying to get the following syntax:
      >
      > <tickers s:type="A:Array":arrayType="y:string[3]">
      > <item>YHOO</item>
      > <item>MSFT</item>
      > <item>PSFT</item>
      > </tickers>
      >
      > -------------------------------------------------------
      > My Code Snipet:
      >
      > my $som = $soap->getNewsByTicker(SOAP::Data->name('tickers'
      > =>\['TIBX','YHOO']));
      >
      > -------------------------------------------------------
      > I am getting the following:
      >
      > <SOAP-ENV:Body>
      > <namesp1:getNewsByTicker xmlns:namesp1="MYnamespace">
      > <tickers SOAP-ENC:arrayType="xsd:string[2]" xsi:type="SOAP-
      > ENC:Array">
      > <c-gensym5 xsi:type="xsd:string">TIBX</c-gensym5>
      > <c-gensym5 xsi:type="xsd:string">YHOO</c-gensym5>
      > </tickers>
      > </namesp1:getNewsByTicker>
      > </SOAP-ENV:Body>
      >
      >
      > -------------------------------------------------------
      >
      > WHAT AM I DOING WRONG? Any help appreciated.
      >
      >
      > MC
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do you Yahoo!?
      Faith Hill - Exclusive Performances, Videos & More
      http://faith.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.