You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by venkat reddy <ve...@Gandiva.com> on 2001/06/06 02:04:59 UTC

Proxy Servlet check

Hi ALL,
          Scenario :: I have a couple of SOAP Services that should be
allowed access only if the user has logged in and has access permissions to
the ROUTER Servlet. If the user does not have access priveleges, since the
proxy servlet already got the SOAP ENV with the request from a SOAP Client,
the proxy servlet should itself generate a fault and return to the client
from where ever it is calling.

Problem: I took a look at the RPCRouterServlet code and similarly through a
SOAPException with a new faultcode and faultstring. But the when I write the
newly generated SOAP-ENV with the faultcode inside it, a message is out put
at the client saying the "connection has been reset by peer : socket write
error".
I debugged the incoming and outgoing request/response using TcpTunnelGui the
out going message is exactly what I want that shows up in the tunnel tool.
But on the client side I see this weird error, saying connection has been
reset by peer.

Note:: The proxy servlet has to generate the SOAP ENV and write it back to
the SOAP Client.

Any help will be strongly appreciated. I've been stuck at this point for
days now. Some body wake and suggest something atleast(related to the
subject ofcourse).

-Regards
Wincat

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org