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 "Iyengar, Kumar" <ku...@bmc.com> on 2009/02/07 23:59:03 UTC
Axis2 Fault - actions mismatch
Hi all,
I have setup Axis2 and am trying to use one of the standard examples for
Username Token. I keep getting this error:
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
(actions mismatch).
Does anyone know how to resolve this? I use SOAP UI 2.0.1 to send the
request in.
Any help is appreciated.
Thanks,
--kumar
RE: Axis2 Fault - actions mismatch
Posted by Martin Gainty <mg...@hotmail.com>.
nearest I can tell you have there exists mismatch parameter mismatch for Inflow (actions) and Outflow (actions)
protected boolean checkReceiverResults(Vector wsResult, Vector actions) {
int resultActions = wsResult.size();
int size = actions.size();
-
+
// if (size != resultActions) {
// throw new AxisFault(
// "WSDoAllReceiver: security processing failed (actions number
// mismatch)");
// }
-
+
int ai = 0;
for (int i = 0; i < resultActions; i++) {
int act = ((WSSecurityEngineResult) wsResult.get(i)).getAction();
@@ -256,14 +257,14 @@
}
HTH
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
Date: Mon, 16 Feb 2009 05:17:25 +0530
Subject: Re: Axis2 Fault - actions mismatch
From: nandana.cse@gmail.com
To: axis-user@ws.apache.org
Cause for this error is that the security header in the request doesn't match the configured actions. Please verify by looking at the request and configured actions.
thanks,
nandana
On Sun, Feb 8, 2009 at 4:29 AM, Iyengar, Kumar <ku...@bmc.com> wrote:
Hi all,
I have setup Axis2 and am trying to use one of the standard
examples for Username Token. I keep getting this error:
org.apache.axis2.AxisFault: WSDoAllReceiver: security
processing failed (actions mismatch).
Does anyone know how to resolve this? I use SOAP UI 2.0.1 to
send the request in.
Any help is appreciated.
Thanks,
--kumar
--
Nandana Mihindukulasooriya
WSO2 inc.
http://nandana83.blogspot.com/
http://www.wso2.org
_________________________________________________________________
Windows Liveā¢: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009
Re: Axis2 Fault - actions mismatch
Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Cause for this error is that the security header in the request doesn't
match the configured actions. Please verify by looking at the request and
configured actions.
thanks,
nandana
On Sun, Feb 8, 2009 at 4:29 AM, Iyengar, Kumar <ku...@bmc.com>wrote:
> Hi all,
>
>
>
> I have setup Axis2 and am trying to use one of the standard examples for
> Username Token. I keep getting this error:
>
>
>
> org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
> (actions mismatch).
>
>
>
> Does anyone know how to resolve this? I use SOAP UI 2.0.1 to send the
> request in.
>
>
>
> Any help is appreciated.
>
>
>
> Thanks,
>
>
>
> --kumar
>
--
Nandana Mihindukulasooriya
WSO2 inc.
http://nandana83.blogspot.com/
http://www.wso2.org