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

Howdo I pass an array with SOAP::Lite?

Expand Messages
  • gary_grubb@agilent.com
    Hi all, I have a J2EE webservice that takes a String[] as a parameter. I wish to use SOAP::Lite to pass an array, e.g. @MYARRAY. Currently I send strings in
    Message 1 of 1 , Oct 6, 2004
    • 0 Attachment
      Hi all,

      I have a J2EE webservice that takes a String[] as a parameter. I wish to use SOAP::Lite to pass an array, e.g. @MYARRAY.

      Currently I send strings in the form of:

      SOAP::Data->name('modelOptions' => $modelOptions)->type(string)

      but now I need to send it in the form:

      SOAP::Data->name('modelOptions' => @modelOptions)->type(???????)

      Code snippet:

      my $retString = SOAP::Lite
      -> uri('http://localhost:8888/webservices/EmeraldService')
      -> proxy('http://localhost:8888/webservices/EmeraldService')
      -> printCert3( SOAP::Data->name('modelOptions' => @modelOptions)->type(???????) )
      -> result;

      (Q) How is this done?????


      Thanks in advance,

      Gary Grubb
      Software Developer/Oracle DBA
      gary_grubb@...
    Your message has been successfully submitted and would be delivered to recipients shortly.