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

Don't understand this. AECS 4.0

Expand Messages
  • Robert Nicholson
    Why is it for this wsdl request main::lookup_isbn2(filter.pl:881): my $aws_handle = SOAP::Lite- service( $aws_wsdl ); DB n
    Message 1 of 1 , Jan 17, 2005
    • 0 Attachment
      Why is it for this wsdl request

      main::lookup_isbn2(filter.pl:881): my $aws_handle =
      SOAP::Lite->service("$aws_wsdl");
      DB<2> n
      main::lookup_isbn2(filter.pl:883): my $request_complex_type =
      \SOAP::Data->value(
      main::lookup_isbn2(filter.pl:884): SOAP::Data->name('ItemId')
      main::lookup_isbn2(filter.pl:885): ->value($asin),
      main::lookup_isbn2(filter.pl:886): SOAP::Data->name('IdType')
      main::lookup_isbn2(filter.pl:887): ->value('ASIN'),
      main::lookup_isbn2(filter.pl:888):
      SOAP::Data->name('Condition')
      main::lookup_isbn2(filter.pl:889): ->value('All'),
      main::lookup_isbn2(filter.pl:890):
      SOAP::Data->name('ResponseGroup')
      main::lookup_isbn2(filter.pl:891): ->value('Large'));
      DB<2> n
      main::lookup_isbn2(filter.pl:893): my $itemlookup_request =
      SOAP::Data->value(
      main::lookup_isbn2(filter.pl:894):
      SOAP::Data->name('SubscriptionId')
      main::lookup_isbn2(filter.pl:895):
      ->value($subscription_id),
      main::lookup_isbn2(filter.pl:896): SOAP::Data->name('Request')
      main::lookup_isbn2(filter.pl:897):
      ->value($request_complex_type));
      DB<2> n
      main::lookup_isbn2(filter.pl:899): my $results =
      $aws_handle->ItemLookup($itemlookup_request);

      results is

      0 HASH(0x9948b80)
      'Arguments' => HASH(0x987c8f0)
      'Argument' => ''
      'HTTPHeaders' => HASH(0x9942af0)
      'Header' => ''
      'RequestId' => '0ZRM4D7RFJ0K51HZ5MEP'
      'RequestProcessingTime' => 0.0729279518127441

      .....

      And in order to get anything useful I have to get the som object.

      my $som = $aws_handle->call();

      only when I x $som in the debugger do I see the response.

      What am I missing here?
    Your message has been successfully submitted and would be delivered to recipients shortly.