Pratibha,

If you using the <http:consumer/> endpoint, you can write your own HttpConsumerMarshaler to fine-tune the message that is going back to the client.

Regards,

Gert

pratibhaG wrote:
I am using a http consumer to accept request. I have set authMethod to BASIC.
If authentication or authorization fails the whole stack trace goes to
client. How can I send a custom message like <error>auth failure <error> to client?

Please help.

Pratibha

Reply via email to