It sounds as if you need to write your own provider. Not sure how it is done in Axis, I know for SOAP 2.2, you had to extend the org.apache.soap.providers.RPCJavaProvider or other provider, if you are not performing RPC style calls. Then you can intercept the request before it reaches the destination. Not suer about accessing the HTTP response. hope this helps.
brenda -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 7:49 AM To: [EMAIL PROTECTED] Subject: HTTP servlet response Hi there, I have a strange question, it smells like a hack to me. I must implement somekind of load control mechanism into my service, meaning that I must not accept any kind of requests under some circumstances (overload). This means that I have to able to send back an HTTP error on the HTTP servlet response stream. Can I do that ? I know that the response stream is inside the Message somewhere as a property, but what happens if I send back an error on that stream ? I saw in the source that the AxisServlet tries to write the response stream anyway. Normally the messagcontext would expect me to build a SOAP response, but in this case the incoming request must not even reach my service, it should be returned before. Is there any way to solve this in a handler ? I'm still a newbie in Axis, please have mercy and don't say that it was a stupid question. :) Thanx, Geza BTW, is there any description of WSDD somewhere ? I still could not find any.
<<attachment: winmail.dat>>
