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

6100sending xsd:complexType in SOAP request

Expand Messages
  • huberhans90
    Feb 1, 2008

      i have the following problem: I built the stubcode of the Amazon web
      services via "stubmaker.pl
      http://soap.amazon.com/schemas2/AmazonWebServices.wsdl". This WSDL
      requires complex types submitted in a request. I tried something like

      my $ds = new AmazonSearchService;
      my @complextype = (SOAP::Data->name("author" => "Mann"),
      SOAP::Data->name("page" => "1"),
      SOAP::Data->name("mode" => "just"),
      SOAP::Data->name("tag" => "a"),
      SOAP::Data->name("type" => "try"),
      SOAP::Data->name("devtag" => "...")
      $som = $ds->AuthorSearchRequest(@complextype);

      to embed a complex type into the call; but what happens is that the
      types are added after the call:

      xsi:nil="true" xsi:type="typens:AuthorRequest" /><page
      xsi:type="xsd:int">1</page><mode xsi:type="xsd:string">just</mode><tag

      does anybody know how to pass complex types in a method call?

      Thanks in advance,
    • Show all 5 messages in this topic