[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Antwort: Re: HTTP/1.1 500 Internal Server Error




Shivani,

Did you already try to send the SOAP request utf-8 encoded? The server
error message implies that the server expects the message to be utf-8
encoded and nothing else:

   Character Set Encoding from transport information [UTF-8]
   does not match with character set encoding in the received
   SOAP message [iso-8859-1]

Use http_setccsid() to tell HTTP API to encode the message to utf-8:

   http_setccsids(1208: 0);

If you still send the XML document declaration (I can not find it in the
program, but it is shown in the http log), change it to:

   <?xml version="1.0" encoding="utf-8" standalone="no"?>

Thomas.


ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 11.08.2008 05:43:06:

> Hi Scott,
>
> Thank you for sharing the HTTPAPI software and examples.  I was able to
> test the example18 & 20 OK.  So I customized the example20 to invoke my
> web service to see if the hosting server receives the soap message and
> able to parse the request.  I am using eclipse, axis2 and hosting the
> service on the Jboss server.  Keep getting the HTTP/1.1 500 Internal
> Server Error and on the server log I see the error:   Unable to parse
> request.  Not sure how to resolve these errors.  I am attaching the debug

> log and updated example20 program.
>
>
>
>
> Thanks,
> Shivani
>
> This message is intended only for the addressee and may contain
> information that is confidential or privileged. Unauthorized use is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, or the person responsible for delivering to the intended
> recipient, you should not read, copy, disclose or otherwise use this
> message, except for the purpose of delivery to the addressee. If you have

> received this email in error, please delete and advise the IT Security
> department at infosec@xxxxxxxxx immediately.
>
>
>
>
> This message is intended only for the addressee and may contain
> information that is confidential or privileged. Unauthorized use is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, or the person responsible for delivering to the intended
> recipient, you should not read, copy, disclose or otherwise use this
> message, except for the purpose of delivery to the addressee. If you
> have received this email in error, please delete and advise the IT
> Security department at infosec@xxxxxxxxx immediately.
> [Anhang "httpapi_debug.txt" gelöscht von Thomas Raddatz/GfD/DE]
> [Anhang "cr2.RTF" gelöscht von Thomas Raddatz/GfD/DE]
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------