You might want to ask on Rampart dev list, but I think you need to use
message level policies.
Paul
On Fri, Jun 6, 2008 at 11:52 AM, Pavel Křehula <[EMAIL PROTECTED]>
wrote:
Hello,
please see attached. request is generated by synapse, response is answer
from the service.
Pavel
Asankha C. Perera napsal(a):
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
--
Best regards,
Pavel Krehula
--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com