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

"client-junk" in SOAP response ...Can any one please help ?

Expand Messages
  • subrata kolay
    Dear All, At the time of testing a simple soap message in my test kit(I830M4 chipset intel motherboard having x86 processor), response coming from server is
    Message 1 of 1 , May 7 8:44 AM
    • 0 Attachment
      Dear All,

      At the time of testing a simple soap message in my
      test kit(I830M4 chipset intel motherboard having x86
      processor), response coming from server is not decoded
      at client !!
      i am giving soap trace response as well as my simple
      script. why "client-junk" is coming at SOAP response
      ?...
      1> my soap server is http daemon (mini_agent.pl) on
      wince 4.2
      2> soap client is (soap:lite) perl
      (run_tests_remotely.pl) on winxp
      3> my called perl module is (test_suite.pm) on
      wince 4.2

      Can anyone help me to find out the solution?
      Thanks in advance

      Thanks & Regards
      Subrata kolay

      # soap trace result
      SOAP::Transport::HTTP::Client::send_receive: POST
      http://172.18.23.245:2020/
      Accept: text/xml
      Accept: multipart/*
      Content-Length: 443
      Content-Type: text/xml; charset=utf-8
      SOAPAction: "/test_suite1#getPropList"

      <?xml version="1.0"
      encoding="UTF-8"?><SOAP-ENV:Envelope
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:getPropList
      xmlns:namesp1="/test_suite1"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
      SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1
      200 (OK) OK

      Date: Fri, 07 May 2004 16:32:23 GMT

      Server: libwww-perl-daemon/1.33

      Content-Length: 535

      Content-Type: text/xml; charset=utf-8

      Client-Date: Fri, 07 May 2004 14:56:52 GMT
      Client-Junk: <?xml version="1.0"
      encoding="UTF-8"?><SOAP-ENV:Envelope
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp10:getPropListResponse
      xmlns:namesp10="/test_suite1"><s-gensym30
      xsi:type="xsd:string">hello</s-gensym30></namesp10:getPropListResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
      Client-Peer: 172.18.23.245:2020
      Client-Response-Num: 1
      SOAPServer: SOAP::Lite/Perl/0.55

      Can't call method "paramsall" on an undefined value at
      run_tests_remotely1.pl line 23.

      # mini_agent.pl ( SOAP DAEMON SERVER)
      use SOAP::Transport::HTTP;
      $classList=test_suite1;
      my $daemon = SOAP::Transport::HTTP::Daemon ->
      new(LocalPort=>2020, Reuse=>1,
      Listen=>128) ->
      dispatch_to('.', 'agent', $classList);
      print ("Contact agent at " . $daemon->url);
      print ("\n $classList");
      $daemon->handle;
      exit;

      # run_tests_remotely1.pl (SOAP CLIENT perl )
      use SOAP::Transport::HTTP;
      use SOAP::Lite +trace =>'debug';
      $PORT = 2020;
      if (!$ARGV[0]) {
      print "run_tests_remotely.pl - sample for remotely
      running tests\n";
      print " usage: run_tests_remotely.pl <hostname>\n";
      exit 1;
      } else {
      $host = $ARGV[0];
      }
      $Remote = SOAP::Lite->uri('/test_suite1')
      ->proxy("http://$host:$PORT/",
      timeout => 600) ;
      @outNVL=$Remote->getPropList()->paramsall ;
      print "\n GetPropList result:\n @outNVL\n" ;
      exit 1;

      # test_suite1.pm (it is being called)
      package test_suite1;
      return 1;
      sub getPropList
      {
      return (hello) ;

      }# getPropList()


      ________________________________________________________________________
      Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
    Your message has been successfully submitted and would be delivered to recipients shortly.