You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "S.Uthaiyashankar (JIRA)" <ji...@apache.org> on 2010/12/21 17:48:02 UTC

[jira] Resolved: (RAMPART-268) Client sending a Security Header in Request expects security header in response and errors out

     [ https://issues.apache.org/jira/browse/RAMPART-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar resolved RAMPART-268.
--------------------------------------

    Resolution: Fixed

Resolving the issue. 

> Client sending a Security Header in Request expects security header in response and errors out
> ----------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-268
>                 URL: https://issues.apache.org/jira/browse/RAMPART-268
>             Project: Rampart
>          Issue Type: Question
>    Affects Versions: 1.4
>         Environment: Windows, Intel Core, Axis2 1.4.1 and Rampart 1.4 
>            Reporter: vishnu
>            Assignee: S.Uthaiyashankar
>             Fix For: NextVersion
>
>
> I am trying to run sample -03 in Policy . My client sends a request to third party Service with Body and Timestamp signed and when monitored in TcpMon it shows request and response but when triggered directly from Client throws an exception 
> Any help on this is highly appreciated.
> Please find attached the stacktrace
>  [java] Exception in thread "main" org.apache.axis2.AxisFault: Missing wsse:Security header in request
>  [java]     at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166)
>  [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
>  [java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
>  [java]     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
>  [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
>  [java]     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
>  [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
>  [java]     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>  [java]     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>  [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539)
>  [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
>  [java]     at org.apache.rampart.samples.policy.sample03.Client.main(Unknown Source)
>  [java] Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request
>  [java]     at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
>  [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
>  [java]     ... 10 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org