You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Rajesh, Peter (CLAIMS, WIP)" <Pe...@thehartford.com> on 2007/11/30 16:36:59 UTC
Missing wsse:Security header in request
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.
*************************************************************************
RE: Missing wsse:Security header in request
Posted by "Rajesh, Peter (CLAIMS, WIP)" <Pe...@thehartford.com>.
Yes it has. Attached the zip file which contains the axis2.xml in
/WEB-INF/conf/ deployed in Weblogic.
Thanks & Regards,
Peter Rajesh | 860-547-3881
________________________________
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Friday, November 30, 2007 11:26 AM
To: axis-user@ws.apache.org
Subject: Re: Missing wsse:Security header in request
/WEB-INF/conf/axis2.xml
does <phaseOrder type="InFlow">have
<phase name="Security"/>
does <phaseOrder type="OutFlow"> have
<phase name="Security"/>
?
M--
----- Original Message -----
From: Rajesh, Peter (CLAIMS, WIP)
<ma...@thehartford.com>
To: axis-dev@ws.apache.org
Cc: axis-user@ws.apache.org
Sent: Friday, November 30, 2007 10:36 AM
Subject: Missing wsse:Security header in request
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.
************************************************************************
*
________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Missing wsse:Security header in request
Posted by Martin Gainty <mg...@hotmail.com>.
Missing wsse:Security header in request/WEB-INF/conf/axis2.xml
does <phaseOrder type="InFlow">have
<phase name="Security"/>
does <phaseOrder type="OutFlow"> have
<phase name="Security"/>
?
M--
----- Original Message -----
From: Rajesh, Peter (CLAIMS, WIP)
To: axis-dev@ws.apache.org
Cc: axis-user@ws.apache.org
Sent: Friday, November 30, 2007 10:36 AM
Subject: Missing wsse:Security header in request
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:92)
[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(OutInAxisOperation.java:336)
[java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
[java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.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:85)
[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.
*************************************************************************
------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org