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

real clarification. apologies....

Expand Messages
  • rayletts
    apologies. darn key. In the soap quick start guide, there were examples of function calls to simple hello world type functions. They returned simple
    Message 1 of 1 , Oct 22, 2002
    • 0 Attachment
      apologies. darn <enter> key.

      In the soap quick start guide, there were examples of function calls
      to simple hello world type functions.
      They returned simple text such as "hi" or "bye"

      In trying to duplicate this I tryed two ways: one to use SOAP as a standalone server at a random port
      and
      two thru apache http server port80 which is installed on a SUN box.

      If I use apache and port 80 and trace all, I see that apache
      returns header of text/html which promptly kills the client as it states it is not expected. (See first post for text)
      Returning 'hi' does not work. If i print my own text/xml header
      it still does not work. SOAP should wrap this correct?

      If I contact the standalone server with my script I get the text
      below. Looks like it wanted my app to do something more than simply print the result like the tutorial showed.
      Can anyone help to the right page in the manual??

      ps i've tryed the link
      http://www.durrios.com/soaplite-tutorial.html
      and cant get thru...


      OAP::Transport::HTTP::Client::send_receive: POST http://localhost:9005
      Accept: text/xml
      Accept: multipart/*
      Content-Length: 426
      Content-Type: text/xml; charset=utf-8
      SOAPAction: "Demo#hi"

      <?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:hi xmlns:namesp1="Demo"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
      SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x4e465c)
      SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
      Date: Tue, 22 Oct 2002 23:05:51 GMT
      Server: libwww-perl-daemon/1.25
      Content-Length: 773
      Content-Type: text/xml; charset=utf-8
      Client-Date: Tue, 22 Oct 2002 23:05:51 GMT
      Client-Response-Num: 1
      SOAPServer: SOAP::Lite/Perl/0.55

      <?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><SOAP-ENV:Fault><faultcode xsi:type="xsd:string">SOAP-ENV:Client</faultcode><faultstring xsi:type="xsd:string">Application failed during request deserialization:
      no element found at line 1, column 0, byte -1 at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/XML/Parser.pm line 168
      </faultstring><faultactor xsi:type="xsd:string">http://sandy:9005/</faultactor></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
      SOAP::Deserializer::deserialize: ()
      SOAP::Parser::decode: ()
      500 Internal Server Error at client2.pl line 10
      SOAP::Lite::DESTROY: ()
      SOAP::Serializer::DESTROY: ()
    Your message has been successfully submitted and would be delivered to recipients shortly.