You'd have to look at the SOAP spec to see what the valid response is; I
think teh w3c have added a new error code 425 for mustunderstand header
problems, there should be something else for 'you send bad stuff and it aint
a server side problem'; if not, raise it as an issue.

We got a support call saying our service was sending back bad xml...caller
was using the wrong url and their system was handling it badly...

----- Original Message -----
From: "Mark William Mitchell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 13:02
Subject: Handling Incoming Malformed SOAP Messages


> Whenever a malformed SOAP message (malformed as in, is not well-formed
> XML), is sent to the AxisServlet (org.apache.transport.http.AxisServlet)
> via an HTTP POST, a HTTP response code of 500 Internal Server Error is
> sent back.
>
> My question is:  Is there anyway to override this default behavior, i.e.
> inform the sender in a SOAP message response that their XML was not
> well-formed?
>
> I've looked through the source of AxisServlet, and it appears that there
> is no way to do this without modifying the servlet itself...
>
> Thanks for any help,
>
> Mark
>
>

Reply via email to