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

S.Uthaiyashankar reassigned RAMPART-268:
----------------------------------------

    Assignee: S.Uthaiyashankar  (was: Ruchith Udayanga Fernando)

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to