Posted: Mon Oct 06, 2008 4:09 am Post subject: Setting HTTPRequestheader field values
Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
Hi All,
I am sending a simple XML message while calling an external web service. But i am getting the following in the HTTP response header
HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.1 500 Internal Server Error
X-Original-HTTP-Status-Code = 500
Date = Mon, 06 Oct 2008 11:29:50 GMT
Server = IBM_HTTP_Server/6.0.2.23 Apache/2.0.47 (Unix)
Content-Length = 557
Connection = close
Content-Type = text/xml; charset=utf-8
Content-Language = en
when i checked the BLOB error string for Fault message, i found the following,
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring><![CDATA[org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x43) was found in the prolog of the document. Message being parsed: ]]></faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>
I am not quite getting what this fault message means as i am sending a simple XML message. Can anybody let me know the about the error that I am facing. _________________ BR,
Deepak N
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum