vvicky72,
You may want to write an outgoing header handler to add something to the soap message. If you play dirty tricks, i guess you can massage the entire DOM that will be returned.
Or
Is it that you want to return a custom fault document? This was easy in the “old” web services stack. Unless you use compatibility mode, things have changed. A lot.
Read the documentation carefully, there are new services to generate and register such error documents. You must use them, or you get weird error messages when returning a Fault Document type in the pipeline. Its a pity that the Docs are not very clear about this.
If you need further help, get back to me again (by mail).
Thomas
#API-Management#soa#webMethods