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

sending an object in another

Expand Messages
  • anders.johansson@aspiro.com
    I m using this Perl client to call a Java Apache SOAP server: use SOAP::Lite; my $SoapObject2 = bless {s1 = String1 , s2 = String2 } = soapobject2 ; my
    Message 1 of 1 , Nov 8, 2001
    • 0 Attachment
      I'm using this Perl client to call a Java Apache SOAP server:

      use SOAP::Lite;

      my $SoapObject2 = bless {s1 => "String1", s2 => 'String2'}
      => 'soapobject2';
      my $soapobject = bless {s1 => "String1", s2 => 'String2', so2 =>
      $SoapObject2} => 'soapobject';

      my $client = SOAP::Lite->uri('urn:SoapResponse3');
      $client->proxy('http://localhost:8080/soap/servlet/rpcrouter');
      $client->maptype({soapobject2 => 'urn:xml-soap-soapobject',
      soapobject => 'urn:xml-soap-soapobject'});
      $client->on_debug(sub{print@_});
      my $response = $client->soapResponse($soapobject)->result;

      The faultstring in the debugtext is:

      "Unable to retrieve PropertyDescriptor for property 'so2' of
      class 'class com.aspiro.soap.SoapObject'."

      Does anybody hava a clue?
    Your message has been successfully submitted and would be delivered to recipients shortly.