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

Re: Problem with Array of Struct (SoapLite Server & MSSoap Client)

Expand Messages
  • nick@metric.ru
    It has helped. Thank you! With kind regards, Nick
    Message 1 of 3 , Sep 25, 2001
    • 0 Attachment
      It has helped.
      Thank you!
      With kind regards,
      Nick

      --- In soaplite@y..., Paul Kulchenko <paulclinger@y...> wrote:
      > Hi, îÉËÏÌÁÊ!
      >
      > > I think, I should use SOAP:: DATA for formatting result, but I not
      > > so understand, how.
      > You may use something like this:
      >
      > return [map {SOAP::Data->type(DomainInfo => $_)} $rec, $rec1];
      >
      > instead of
      >
      > > push @a, $rec ;
      > > push @a, $rec1 ;
      > > return \@a;
      >
      > If you need to bind type DomainInfo to specific namespace
      > ('http://tempuri.org/type' in this example), you need to use
      maptype:
      >
      > my $server = SOAP::Transport::HTTP::CGI
      > -> dispatch_to('DOMAINS');
      > $server->serializer->maptype->{DomainInfo}
      > = 'http://tempuri.org/type';
      > $server->handle;
      >
      > several mapping can be specified using this:
      >
      > $server->serializer->maptype({type1 => 'ns1', type2 => 'ns2'});
      >
      > Hope it helps.
      >
      > Best wishes, Paul.
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.