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

AW: [soaplite] 500 Internal Server Error

Expand Messages
  • Martin Busik
    Hi Milan, use : use SOAP::Lite (+trace = [qw(transport debug parameters)]); instead of use SOAP::Lite that way you get dumped the xml-contents of the request
    Message 1 of 2 , Oct 13, 2010
    View Source
    • 0 Attachment
      Hi Milan,

      "use":

      use SOAP::Lite (+trace => [qw(transport debug parameters)]);

      instead of

      use SOAP::Lite

      that way you get dumped the xml-contents of the request and the response. If
      you have
      a working example of a request, you might figure out, what is different,
      what might
      cause the problem.

      The working example you've given, contains the following main element:

      <accept xmlns="ifep">

      "ifep" is the URI. Normally it looks a bit different, but it might be
      correct.

      you call should look like:

      $soap->default_ns("ifep")
      $soap->call("accept",$parameters)

      where $parameters are some instances of SOAP::Data, e.g.

      SOAP::Data->name("transaction")->value(
      \SOAP::Data->value(
      SOAP::Data->name("authentication")->value(
      \SOAP::Data->value(
      SOAP::Data->name("irdNumber")->attr( { value =>
      "103226902" } )
      )
      )
      )
      )

      > > I am very new on SOAP.

      I encourage you to google for SOAP and learn more about it. If you are
      serious to
      implement any SOAP-based-webservice you'll need some basic knowledge.

      Cheers,
      Martin
    Your message has been successfully submitted and would be delivered to recipients shortly.