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

6016soaplite with mime attachments -- odd behaviour

Expand Messages
  • Eddie
    Sep 18, 2007

      I am not sure if this is a soaplite problem or not, so I am looking for
      some guidance.

      Basically, I have the following code snippet:

      use SOAP::Lite+trace;

      my $packager = SOAP::Packager::MIME->new;

      my $soap = SOAP::Lite
      # ->proxy('http://localhost:8080/services/BINDSOAP');

      #my $som = $soap->idSearchAttachment("cd00192","cdd","go","mime");
      my $som = $soap->idSearchAttachment("2828026 ","gi","go","mime");

      foreach my $part (@{$som->parts}) {
      print $part->stringify;

      When I invoke the code, I get a timeout. Some might think that the
      service is down or the parameters are incorrect, but from what I can
      tell, that isnt the case.

      For instance, I downloaded a program called tcptrace (for windows) from
      http://www.pocketsoap.com/tcptrace/. If I change the proxy() above to
      use the localhost:8080 endpoint and monitor the traffic, the script runs
      till completion and returns correct information.

      I am using soaplite version .69. I have tried running the script on both
      windows and linux. No matter how much I use soaplite, I do not
      understand enough to troubleshoot this.

      Anyone have any ideas?