Pavel

Can you share your configuration and any steps to reproduce this with the samples, and/or any TCPmon traces of the response message received

asankha

Pavel Křehula wrote:
Hello,

I'm going to use synapse for signing soap messages.
When I send signed message to server, I get error:
2008-06-06 09:54:39,596 [192.168.0.84-PAVEL3] [HttpClientWorker-1] ERROR ClientWorker Fault processing response message through Axis2
org.apache.axis2.AxisFault: SOAP header missing
at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:317)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) at org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:200) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.rampart.RampartException: SOAP header missing
at org.apache.rampart.RampartEngine.process(RampartEngine.java:99) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)

which in fack I'm able to understand because server response message indeed is not signed and does not contain any header.
My question is how to configure rampart to accept such response.

I'm using same wss policy as client_policy_3.xml and Synapse 1.2

Reply via email to