Pavel

Is it the case that the incoming message must be signed but the response isn't?

Paul

On Fri, Jun 6, 2008 at 9:35 AM, Pavel Křehula <[EMAIL PROTECTED]> 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
>
> ====================================================
> NewLink Moravia Ltd.     email: [EMAIL PROTECTED]
> Sokolska 54                tel: (+420) 516 499 865
> 680 01  Boskovice               www.nlm.cz
> Czech Republic                  www.nlm.cz/search
> ====================================================
>
>



-- 
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

Reply via email to