axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh, Peter (CLAIMS, WIP)" <Peter.Raj...@thehartford.com>
Subject Missing wsse:Security header in request
Date Fri, 30 Nov 2007 15:36:59 GMT
Hi,

Attached is the soap request & response captured in tcpmon when the
webservice deployed in Weblogic is contacted using Axis2 java client.
But in the command prompt in the client side below exception is thrown. 

Please advice what I am doing wrong. Even though security header is
available in request I couldn't identify the reason for this exception
thrown.



 [java] org.apache.axis2.AxisFault: Missing wsse:Security header in
request
 [java]     at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:9
2)
 [java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
 [java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
 [java]     at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
 [java]     at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:336)
 [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
 [java]     at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
 [java]     at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
 [java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528
)
 [java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508
)
 [java]     at
org.apache.rampart.weblogic.sample.Client.main(Client.java:82)
 [java] Caused by: org.apache.rampart.RampartException: Missing
wsse:Security header in request
 [java]     at
org.apache.rampart.RampartEngine.process(RampartEngine.java:106)
 [java]     at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:8
5)
 [java]     ... 10 more
 [java] Exception in thread "main"
 [java] Java Result: 1



 <<soap-request-response-30Nov07.txt>> 


Thanks & Regards,

Peter Rajesh 



*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


Mime
View raw message