Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    BEGIN {
    ...
       $daemon -> dispatch_to('Hello::hello');
       print "Contact SOAP server at ", $daemon->url, "\n";
       $daemon->handle();
    
  2. or download this
       package Hello;
       sub hello {
         shift;
         return "Hello " . shift;
       }
    
  3. or download this
    #!/usr/bin/perl -w
    BEGIN {
    ...
       my $som = $client->hello("Herong");
       my $output = $som->result;
       print $output . "\n";
    
  4. or download this
    SOAP::Deserializer::deserialize: ()
    SOAP::Parser::decode: ()
    ...
    SOAP::Serializer::envelope: Client Application failed during request d
    +eserialization:
    no element found at line 1, column 0, byte -1 at /usr/lib/perl5/site_p
    +erl/5.8.5//i386-linux-thread-multi/XML/Parser.pm line 185
      http://localhost.localdomain:8001/
    
  5. or download this
    SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x89da
    +a44)
    SOAP::Transport::HTTP::Client::send_receive: POST http://localhost:800
    +1 HTTP/1.1
    ...
    no element found at line 1, column 0, byte -1 at /usr/lib/perl5/site_p
    +erl/5.8.5//i386-linux-thread-multi/XML/Parser.pm line 185
    </faultstring><faultactor>http://localhost.localdomain:8001/</faultact
    +or></soap:Fault></soap:Body></soap:Envelope>
    SOAP::Deserializer::deserialize: ()