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

perl SOAP::Lite client can't communicate with Tomcat server anymore

Expand Messages
  • jiri_skrabal
    Hi, I m using SOAP::Lite perl module in a client library which communicates with a Tomcat server. The server has been upgraded quite recently, but the same
    Message 1 of 1 , Jun 23, 2005
    • 0 Attachment
      Hi,

      I'm using SOAP::Lite perl module in a client library which
      communicates with a Tomcat server.
      The server has been upgraded quite recently, but the same client code
      is not working anymore. It seems, that the perl Soap::Lite
      implementation is not capable of the Tomcat 5.5.9 implementation with
      JAVA 1.5.3 or I should do more reliable client code. But just now, I
      have absolutely no idea, what has to be changed. A simple client code
      follows as well as the error description returned by a server.
      Please help, this is quite urgent.
      Thanks in advance

      client code:
      #!/usr/bin/perl

      use strict;
      use SOAP::Lite (+trace => "all", maptype => {});
      use SOAP::Lite;

      my $service = SOAP::Lite
      ->service('http://gusiwr.fzk.de/arsys/WSDL/ar6-test.fzk.de/Grid_HelpDesk');
      my $header = SOAP::Header->name(AuthenticationInfo =>
      \SOAP::Header->value(
      SOAP::Header->name(password => 'y'),
      SOAP::Header->name(userName => 'x'),
      )
      );
      my @param = (
      SOAP::Data->name("Request-ID" => "502"),
      $header
      );

      print $service->TicketGet(@param);

      #################################################################
      returned SOAP server exception
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>org.xml.sax.SAXException: Error: URI=null Line=1:
      org.apache.crimson.parser/P-084 xsi:type</faultstring>
    Your message has been successfully submitted and would be delivered to recipients shortly.