Hi,

I've been configuring an endpoint and a proxy to be able to contact an
external webservice. Messages send to this webservice should be signed with
WS-Security. For testing purposes I've disabled the WS-Security
configuration of the proxy I'm using. 

When sending a unsigned request to the webservice, the ESB receives the
following response "<?xml version='1.0' encoding='utf-8'?><SOAP-ENV:Envelope
...><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>    SOAP-ENV:Client 
</faultcode><faultstring>    EJB Exception: ; nested exception is:
com.bea.wlw.runtime.jws.wssecurity.exception.WLWWSSEException: Policy
requires Message to be signed,Message was not signed. 
</faultstring><detail>EJB Exception: ; nested exception is:
com.bea.wlw.runtime.jws.wssecurity.exception.WLWWSSEException: Policy
requires Message to be signed, Message was not signed. 
</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>".

Since the request was voluntarily not signed, this response is correct. But
... after getting the response, I see in the logs that the message is being
re-send automatically. This re-sending happens multiple times per second and
I'm obliged to stop the service (otherwise it keeps on going). Although I'm
not sure that the message is being re-send (could be a logging problem), I
suppose that this behavior is incorrect. 

Is it linked to the fact that the response contains a "SOAP Fault" and that
ESB has a special treatment for this kind of responses ?

Regards, Stefan Lecho.
-- 
View this message in context: 
http://www.nabble.com/-1.7beta2--ESB-re-sends-message%2C-but-shouldn%27t-tp17690146p17690146.html
Sent from the WSO2 ESB Users mailing list archive at Nabble.com.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to