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

Passing Array

Expand Messages
  • joycecho1121
    Server: sub getElements{ my $self = shift; my @a = $self- {objects}; } Client my $exist- new(); my @array = $exist- getElements(); @array returns the number of
    Message 1 of 1 , Sep 2, 2003
    View Source
    • 0 Attachment
      Server:
      sub getElements{
      my $self = shift;

      my @a = $self->{objects};
      }

      Client
      my $exist->new();
      my @array = $exist->getElements();

      @array returns the number of elements rather than the actual
      elements. Does anyone know how to pass arrays from servers to
      clients in SOAP? Thanks.
    Your message has been successfully submitted and would be delivered to recipients shortly.