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

4695Re: [soaplite] SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 (Internal Server Error) Internal Server Error anybody help with this error

Expand Messages
  • Duncan Cameron
    May 20 2:17 AM
    • 0 Attachment
      At 2005-05-20, 04:45:42 you wrote:

      >Can anyone assist me with this error message
      >Here is the full error using debug
      >The reply message refers to 'Element' is an invalid node type. Line
      >position 413' however when I change the xml output length the error
      >does not change the position in the error message.
      >Any help appreciated
      >Thanks in advance
      >David Inglis
      >SOAP::Transport::HTTP::Client::send_receive: POST
      >Accept: text/xml
      >Accept: multipart/*
      >Accept: application/soap
      >Content-Length: 546
      >Content-Type: text/xml; charset=utf-8
      ><?xml version="1.0" encoding="UTF-8"?><soap:Envelope
      >SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 (Internal
      >Error) Internal Server Error.
      >Cache-Control: private
      >Connection: close
      >Date: Fri, 20 May 2005 02:45:49 GMT
      >Server: Microsoft-IIS/5.0
      >Content-Length: 539
      >Content-Type: text/xml; charset=utf-8
      >Client-Date: Fri, 20 May 2005 03:46:13 GMT
      >Client-Response-Num: 1
      >X-AspNet-Version: 1.1.4322
      >X-Powered-By: ASP.NET
      ><?xml version="1.0" encoding="utf-8"?>
      ><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      > <soap:Body>
      > <soap:Fault>
      > <faultcode>soap:Client</faultcode>
      > <faultstring>Server was unable to read request. --> There is
      >error in XML document (1, 413). --> 'Element' is an invalid node
      >Line 1, position 413.</faultstring>
      > <detail />
      > </soap:Fault>
      > </soap:Body>
      I got a similar error message until I tried escaping the content of the
      CommandParameters element.
      It looks like the content of the CommandParameters element needs to be
      an escaped xml document, not sub-elements. If you construct your
      parameters xml and then escape & and < characters before including it
      within the CommandParameters element.
      So you will end up with something like this


      This then fails with a different error message but I think that the
      original one has been fixed.



      How much free photo storage do you get? Store your holiday
      snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
    • Show all 2 messages in this topic