WSDoAllReceiver: security processing failed (actions mismatch)

2008-08-04 Thread Shripad Gokhale
 

I am getting following error. What can be the reason for this?

 

WSDoAllReceiver: security processing failed
(actions mismatch)

 

I am sending following header as part of request.

 



 



  

2008-07-10T17:42:24Z

2008-07-10T17:47:24Z

  

  http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd"
wsu:Id="SecurityToken-bf8a70e3-3936-4b50-8c9e-213b08fd5a1f">

IDMTEST

http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-t
oken-profile-1.0#PasswordText">iptv4all

YpoCIr2Dde9LddBMU5k7wg==

2008-07-10T17:42:24Z

  



 

   

 

My server-config.wsdd looks like following.

 



 

 

 



 



 



 

   

 

 

 

  

 



 



 



 



 



 

 

 


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp


RE: WSDoAllReceiver: security processing failed error - rampart bug?

2008-02-19 Thread jafaram
I also noticed, if the same password check fails in  PWCBHandler of client
side ..rampart throwing appropriate error message.

org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
  at org.apache.rampart.handler.WSDoAllReceiver.processBasic(
WSDoAllReceiver.java:216)
  at org.apache.rampart.handler.WSDoAllReceiver.processMessage(
WSDoAllReceiver.java:86)
  at org.apache.rampart.handler.WSDoAllHandler.invoke(
WSDoAllHandler.java:72)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
  at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:336)
  at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:389)
  at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
OutInAxisOperation.java:211)
  at org.apache.axis2.client.OperationClient.execute(
OperationClient.java:163)
  at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
AsrsPolicyServiceStub.java:153)
  at com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
AsrPolicyServiceClient.java:35)
  at com.nfn.wsclients.AsrPolicyServiceClient.main(
AsrPolicyServiceClient.java:23)
Caused by: org.apache.ws.security.WSSecurityException: General security
error (WSSecurityEngine: Callback supplied no password for: client)
  at
org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(
EncryptedKeyProcessor.java:279)
  at
org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(
EncryptedKeyProcessor.java:87)
  at
org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(
EncryptedKeyProcessor.java:76)
  at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(
WSSecurityEngine.java:284)
  at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(
WSSecurityEngine.java:206)
  at org.apache.rampart.handler.WSDoAllReceiver.processBasic(
WSDoAllReceiver.java:213)
  ... 12 more






   
   Martin  
   Gainty  
   <[EMAIL PROTECTED]   
From 
   mail.com>Martin Gainty  
<[EMAIL PROTECTED]>  
To 
<[EMAIL PROTECTED]>  
cc 
   
   Subject 
   02/18/2008   RE: WSDoAllReceiver: security  
   06:31 PM processing failed error
   
   
   
   
   
   




you found a Rampart bug!
First we need to look at javax.security.aith.callback.CallbackHandler

http://www.docjar.com/docs/api/javax/security/auth/callback/CallbackHandler
.
html
handle method throws java.io.IOException,
   UnsupportedCallbackException

consequent implementations carry the signature forward properly..
org.apache.rampart.samples.policy.sample05;
public class PWCBHandler implements CallbackHandler {
public void handle(Callback[] callbacks)
throws IOException, UnsupportedCallbackException {//good!

take a look at
private static Parameter getInflowConfiguration() {
InflowConfiguration ifc = new InflowConfiguration();
ifc.setActionItems("Timestamp Signature Encrypt");
//how do we carry these throw IOException and UnsupportedCalbackException
forward ?

ifc.setPasswordCallbackClass("org.apache.rampart.samples.sample11.PWCBHandle

r");
...
InflowConfiguration.java contains this method..
 /**
  * Sets the password callback class name.
  * @param passwordCallbackClass
  */
 public void setPasswordCallbackClass(String passwordCallbackClass)
{  //save the passwordCallbackClass into the Action

this.action.put(WSHandlerConstants.PW_CALLBACK_CLASS,passwordCallbackClass);

 }

later on
org.apache.rampart.conversation
public class Util {
//notice this method throws Exception and NOT IOException and
Unsuppor

Re: WSDoAllReceiver: security processing failed error

2008-02-18 Thread jafaram
 Mustaqali Jafarali/HOM/NWP
To
axis-user@ws.apache.org
cc

   Subject
   02/14/2008   Re: WSDoAllReceiver: security
   02:09 PM processing failed error(Document
link: Mustaqali Jafarali)









yes..i believe keystore files(service.jks and service.properties) are in
classpath..otherwise i getting different merlin exception.

in this email i attached debug log from server side for more info.. can you
please  check the debug log and let me know if u find anythign wrong.






"Nandana Mihindukulasooriya" <[EMAIL PROTECTED]> wrote on 02/14/2008
12:40:33 PM:

> axis-user@ws.apache.org
>
> Hi,
>looking at the stack trace, it seems something goes wrong in
> WSDoAllReciever
> in the server side. Does the soap response contian the stack trace of
> the original
> exception ?
>Are key store files in the correct place ?
>
> thanks,
> /nandana
>
> On Thu, Feb 14, 2008 at 10:36 PM,  <[EMAIL PROTECTED]>
wrote:
> > I am not using "UsernameToken" but just trying "Encrypt" Feature only
as in
> >  sample05 ,..
> >
> >
> >
> >  here is snippet from my client axis.xml
> >
> >   
> >
> > 
> >   
> > Encrypt
> > com.nfn.wsclients.PWCBHandler >  passwordCallbackClass>
> > client.properties
> >   
> > 
> >
> >   
> >   
> > Encrypt
> > service
> > client.properties
> >   
> > 
> >
> >
> >  here is snippet from my services.xml
> >
> > 
> >
> > 
> >   
> > Encrypt
> > com.nfn.ws.PWCBHandler >  passwordCallbackClass>
> > service.properties
> >   
> > 
> >
> >   
> >   
> > Encrypt
> > client
> > service.properties
> >   
> > 
> >
> >
> >
> >
> >
> >
> >"Martin
> >Gainty"
> ><[EMAIL PROTECTED]
From
> >mail.com>"Martin Gainty"
> > <[EMAIL PROTECTED]>
> >
To
> > ,
> >
<[EMAIL PROTECTED]>
> >
cc
> >
> >02/14/2008
Subject
> >11:18 AM Re: WSDoAllReceiver: security
> >    Please   processing failed error
> >respond to
> >
> >
> >[EMAIL PROTECTED]
> >.apache.org
> >
> >
> >
> >
> >
> >
> >
> >  Did you configure username/password/Nonce/Created as suggested in the
ws02
> >  tutorial located at
> >  http://wso2.org/library/240
> >  Did you look at the OutflowSecurity parameter spec from rampart 1.3
> >  s2.client.axis2.xml ?
> >
> >  Martin-
> >  - Original Message -
> >  From: <[EMAIL PROTECTED]>
> >  To: 
> >  Sent: Thursday, February 14, 2008 10:33 AM
> >  Subject: WSDoAllReceiver: security processing failed error
> >
> >
> >  >
> >  > I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm
jdk
> >  > 1.4.2). And my client is running on jdk 1.5.
> >  >
> >  > I am testing sample05 code(Encryption) ..but i am getting exception,
in
> >  > client side.
> >  >
> >  > org.apache.axis2.AxisFault: WSDoAllReceiver: security processing
failed
> >  >   at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >  > Utils.java:486)
> >  >   at
> >  >
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> >  > OutInAxisOperation.java:343)
> >  >   at org.apache.axis2.description.OutInAxisOperationClient.send(
> >  > OutInAxisOperation.java:389)
> >  >   at
> >  org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> >  > OutInAxisOperation.java:211)
> >  >   at org.apache.axis2.client.OperationClient.execute(
> >  > OperationClient.java:163)
> >  >   at com.

Re: WSDoAllReceiver: security processing failed error

2008-02-18 Thread jafaram
> >
> >   
> >   
> > Encrypt
> > service
> > client.properties
> >   
> > 
> >
> >
> >  here is snippet from my services.xml
> >
> > 
> >
> > 
> >   
> > Encrypt
> > com.nfn.ws.PWCBHandler >  passwordCallbackClass>
> > service.properties
> >   
> > 
> >
> >   
> >   
> > Encrypt
> > client
> > service.properties
> >   
> > 
> >
> >
> >
> >
> >
> >
> >"Martin
> >Gainty"
> ><[EMAIL PROTECTED]
From
> >mail.com>"Martin Gainty"
> > <[EMAIL PROTECTED]>
> >
To
> > ,
> >
<[EMAIL PROTECTED]>
> >
cc
> >
> >02/14/2008
Subject
> >11:18 AM Re: WSDoAllReceiver: security
> >        Please   processing failed error
> >respond to
> >
> >
> >[EMAIL PROTECTED]
> >.apache.org
> >
> >
> >
> >
> >
> >
> >
> >  Did you configure username/password/Nonce/Created as suggested in the
ws02
> >  tutorial located at
> >  http://wso2.org/library/240
> >  Did you look at the OutflowSecurity parameter spec from rampart 1.3
> >  s2.client.axis2.xml ?
> >
> >  Martin-
> >  - Original Message -
> >  From: <[EMAIL PROTECTED]>
> >  To: 
> >  Sent: Thursday, February 14, 2008 10:33 AM
> >  Subject: WSDoAllReceiver: security processing failed error
> >
> >
> >  >
> >  > I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm
jdk
> >  > 1.4.2). And my client is running on jdk 1.5.
> >  >
> >  > I am testing sample05 code(Encryption) ..but i am getting exception,
in
> >  > client side.
> >  >
> >  > org.apache.axis2.AxisFault: WSDoAllReceiver: security processing
failed
> >  >   at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >  > Utils.java:486)
> >  >   at
> >  >
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> >  > OutInAxisOperation.java:343)
> >  >   at org.apache.axis2.description.OutInAxisOperationClient.send(
> >  > OutInAxisOperation.java:389)
> >  >   at
> >  org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> >  > OutInAxisOperation.java:211)
> >  >   at org.apache.axis2.client.OperationClient.execute(
> >  > OperationClient.java:163)
> >  >   at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
> >  > AsrsPolicyServiceStub.java:153)
> >  >   at
com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
> >  > AsrPolicyServiceClient.java:35)
> >  >   at com.nfn.wsclients.AsrPolicyServiceClient.main(
> >  > AsrPolicyServiceClient.java:23)
> >  >
> >  >
> >  > before this i tested sample 02 (usertoekn authentication) which
worked
> >  > fine.
> >  > when idid google on "WSDoAllReceiver: security processing failed" i
am
> >  > seeing lot of posting related to action mismath problem.
> >  > but if u see the above exception message, i am not getting "action
> >  > mismatch" problem..but just WSDoAllReceiver: security processing
failed
> >  >
> >  > Any idea?
> >  >
> >  > Thanks in adavnce.
> >  >
> >  >
> >  >
> >  >
-
> >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >  >
> >
> >
> >  -
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >  -
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



Attachment(s) have been removed by Mustaqali Jafarali
debug.log



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDoAllReceiver: security processing failed error

2008-02-18 Thread jafaram
 PROTECTED]
From
> >mail.com>"Martin Gainty"
> > <[EMAIL PROTECTED]>
> >
To
> > ,
> >
<[EMAIL PROTECTED]>
> >
cc
> >
> >02/14/2008
Subject
> >11:18 AM Re: WSDoAllReceiver: security
> >        Please   processing failed error
> >respond to
> >
> >
> >[EMAIL PROTECTED]
> >.apache.org
> >
> >
> >
> >
> >
> >
> >
> >  Did you configure username/password/Nonce/Created as suggested in the
ws02
> >  tutorial located at
> >  http://wso2.org/library/240
> >  Did you look at the OutflowSecurity parameter spec from rampart 1.3
> >  s2.client.axis2.xml ?
> >
> >  Martin-
> >  - Original Message -
> >  From: <[EMAIL PROTECTED]>
> >  To: 
> >  Sent: Thursday, February 14, 2008 10:33 AM
> >  Subject: WSDoAllReceiver: security processing failed error
> >
> >
> >  >
> >  > I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm
jdk
> >  > 1.4.2). And my client is running on jdk 1.5.
> >  >
> >  > I am testing sample05 code(Encryption) ..but i am getting exception,
in
> >  > client side.
> >  >
> >  > org.apache.axis2.AxisFault: WSDoAllReceiver: security processing
failed
> >  >   at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >  > Utils.java:486)
> >  >   at
> >  >
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> >  > OutInAxisOperation.java:343)
> >  >   at org.apache.axis2.description.OutInAxisOperationClient.send(
> >  > OutInAxisOperation.java:389)
> >  >   at
> >  org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> >  > OutInAxisOperation.java:211)
> >  >   at org.apache.axis2.client.OperationClient.execute(
> >  > OperationClient.java:163)
> >  >   at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
> >  > AsrsPolicyServiceStub.java:153)
> >  >   at
com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
> >  > AsrPolicyServiceClient.java:35)
> >  >   at com.nfn.wsclients.AsrPolicyServiceClient.main(
> >  > AsrPolicyServiceClient.java:23)
> >  >
> >  >
> >  > before this i tested sample 02 (usertoekn authentication) which
worked
> >  > fine.
> >  > when idid google on "WSDoAllReceiver: security processing failed" i
am
> >  > seeing lot of posting related to action mismath problem.
> >  > but if u see the above exception message, i am not getting "action
> >  > mismatch" problem..but just WSDoAllReceiver: security processing
failed
> >  >
> >  > Any idea?
> >  >
> >  > Thanks in adavnce.
> >  >
> >  >
> >  >
> >  >
-
> >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >  >
> >
> >
> >  -
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >  -
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



Attachment(s) have been removed by Mustaqali Jafarali
debug.log



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDoAllReceiver: security processing failed error

2008-02-14 Thread jafaram
yes..i believe keystore files(service.jks and service.properties) are in
classpath..otherwise i getting different merlin exception.

in this email i attached debug log from server side for more info.. can you
please  check the debug log and let me know if u find anythign wrong.


(See attached file: debug.log)



"Nandana Mihindukulasooriya" <[EMAIL PROTECTED]> wrote on 02/14/2008
12:40:33 PM:

> axis-user@ws.apache.org
>
> Hi,
>looking at the stack trace, it seems something goes wrong in
> WSDoAllReciever
> in the server side. Does the soap response contian the stack trace of
> the original
> exception ?
>Are key store files in the correct place ?
>
> thanks,
> /nandana
>
> On Thu, Feb 14, 2008 at 10:36 PM,  <[EMAIL PROTECTED]>
wrote:
> > I am not using "UsernameToken" but just trying "Encrypt" Feature only
as in
> >  sample05 ,..
> >
> >
> >
> >  here is snippet from my client axis.xml
> >
> >   
> >
> > 
> >   
> > Encrypt
> > com.nfn.wsclients.PWCBHandler >  passwordCallbackClass>
> > client.properties
> >   
> > 
> >
> >   
> >   
> > Encrypt
> > service
> > client.properties
> >   
> > 
> >
> >
> >  here is snippet from my services.xml
> >
> > 
> >
> > 
> >   
> > Encrypt
> > com.nfn.ws.PWCBHandler >  passwordCallbackClass>
> > service.properties
> >   
> > 
> >
> >   
> >   
> > Encrypt
> > client
> > service.properties
> >   
> > 
> >
> >
> >
> >
> >
> >
> >"Martin
> >Gainty"
> ><[EMAIL PROTECTED]
From
> >mail.com>"Martin Gainty"
> > <[EMAIL PROTECTED]>
> >
To
> > ,
> >
<[EMAIL PROTECTED]>
> >
cc
> >
> >02/14/2008
Subject
> >11:18 AM Re: WSDoAllReceiver: security
> >Please   processing failed error
> >    respond to
> >
> >
> >[EMAIL PROTECTED]
> >.apache.org
> >
> >
> >
> >
> >
> >
> >
> >  Did you configure username/password/Nonce/Created as suggested in the
ws02
> >  tutorial located at
> >  http://wso2.org/library/240
> >  Did you look at the OutflowSecurity parameter spec from rampart 1.3
> >  s2.client.axis2.xml ?
> >
> >  Martin-
> >  - Original Message -
> >  From: <[EMAIL PROTECTED]>
> >  To: 
> >  Sent: Thursday, February 14, 2008 10:33 AM
> >  Subject: WSDoAllReceiver: security processing failed error
> >
> >
> >  >
> >  > I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm
jdk
> >  > 1.4.2). And my client is running on jdk 1.5.
> >  >
> >  > I am testing sample05 code(Encryption) ..but i am getting exception,
in
> >  > client side.
> >  >
> >  > org.apache.axis2.AxisFault: WSDoAllReceiver: security processing
failed
> >  >   at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >  > Utils.java:486)
> >  >   at
> >  >
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> >  > OutInAxisOperation.java:343)
> >  >   at org.apache.axis2.description.OutInAxisOperationClient.send(
> >  > OutInAxisOperation.java:389)
> >  >   at
> >  org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> >  > OutInAxisOperation.java:211)
> >  >   at org.apache.axis2.client.OperationClient.execute(
> >  > OperationClient.java:163)
> >  >   at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
> >  > AsrsPolicyServiceStub.java:153)
> >  >   at
com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
> >  > AsrPolicyServiceClient.java:35)
> >  >   at com.nfn.wsclients.AsrPolicyServiceClient.main(
> >  > AsrPolicyServiceClient.java:23)
> >  >
> >  >
> >  > before this i tested sample 02 (usertoekn authentication) which
worked
> >  > fine.
&g

Re: WSDoAllReceiver: security processing failed error

2008-02-14 Thread Nandana Mihindukulasooriya
Hi,
   looking at the stack trace, it seems something goes wrong in WSDoAllReciever
in the server side. Does the soap response contian the stack trace of
the original
exception ?
   Are key store files in the correct place ?

thanks,
/nandana

On Thu, Feb 14, 2008 at 10:36 PM,  <[EMAIL PROTECTED]> wrote:
> I am not using "UsernameToken" but just trying "Encrypt" Feature only as in
>  sample05 ,..
>
>
>
>  here is snippet from my client axis.xml
>
>   
>
> 
>   
> Encrypt
> com.nfn.wsclients.PWCBHandler  passwordCallbackClass>
> client.properties
>   
> 
>
>   
>   
> Encrypt
> service
> client.properties
>   
> 
>
>
>  here is snippet from my services.xml
>
> 
>
> 
>   
> Encrypt
> com.nfn.ws.PWCBHandler  passwordCallbackClass>
> service.properties
>   
> 
>
>   
>   
> Encrypt
> client
> service.properties
>   
> 
>
>
>
>
>
>
>"Martin
>Gainty"
><[EMAIL PROTECTED]   
> From
>mail.com>"Martin Gainty"
> <[EMAIL PROTECTED]>
> To
> ,
> <[EMAIL PROTECTED]>
> cc
>
>02/14/2008  Subject
>11:18 AM Re: WSDoAllReceiver: security
>Please   processing failed error
>respond to
>
>
>[EMAIL PROTECTED]
>.apache.org
>
>
>
>
>
>
>
>  Did you configure username/password/Nonce/Created as suggested in the ws02
>  tutorial located at
>  http://wso2.org/library/240
>  Did you look at the OutflowSecurity parameter spec from rampart 1.3
>  s2.client.axis2.xml ?
>
>  Martin-
>  - Original Message -
>  From: <[EMAIL PROTECTED]>
>  To: 
>  Sent: Thursday, February 14, 2008 10:33 AM
>  Subject: WSDoAllReceiver: security processing failed error
>
>
>  >
>  > I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm jdk
>  > 1.4.2). And my client is running on jdk 1.5.
>  >
>  > I am testing sample05 code(Encryption) ..but i am getting exception, in
>  > client side.
>  >
>  > org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
>  >   at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
>  > Utils.java:486)
>  >   at
>  > org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
>  > OutInAxisOperation.java:343)
>  >   at org.apache.axis2.description.OutInAxisOperationClient.send(
>  > OutInAxisOperation.java:389)
>  >   at
>  org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
>  > OutInAxisOperation.java:211)
>  >   at org.apache.axis2.client.OperationClient.execute(
>  > OperationClient.java:163)
>  >   at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
>  > AsrsPolicyServiceStub.java:153)
>  >   at com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
>  > AsrPolicyServiceClient.java:35)
>  >   at com.nfn.wsclients.AsrPolicyServiceClient.main(
>  > AsrPolicyServiceClient.java:23)
>  >
>  >
>  > before this i tested sample 02 (usertoekn authentication) which worked
>  > fine.
>  > when idid google on "WSDoAllReceiver: security processing failed" i am
>  > seeing lot of posting related to action mismath problem.
>  > but if u see the above exception message, i am not getting "action
>  > mismatch" problem..but just WSDoAllReceiver: security processing failed
>  >
>  > Any idea?
>  >
>  > Thanks in adavnce.
>  >
>  >
>  >
>  > -
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDoAllReceiver: security processing failed error

2008-02-14 Thread jafaram
I am not using "UsernameToken" but just trying "Encrypt" Feature only as in
sample05 ,..



here is snippet from my client axis.xml

  


  
Encrypt
com.nfn.wsclients.PWCBHandler
client.properties
  


  
  
Encrypt
service
client.properties
  



here is snippet from my services.xml




  
Encrypt
com.nfn.ws.PWCBHandler
service.properties
  


  
  
Encrypt
client
service.properties
  






   
   "Martin 
   Gainty" 
   <[EMAIL PROTECTED]   
From 
   mail.com>"Martin Gainty"
<[EMAIL PROTECTED]>  
To 
, 
<[EMAIL PROTECTED]>  
cc 
   
   02/14/2008  Subject 
   11:18 AM Re: WSDoAllReceiver: security  
   Please   processing failed error
   respond to  
   [EMAIL PROTECTED]
   .apache.org 
   
   
   




Did you configure username/password/Nonce/Created as suggested in the ws02
tutorial located at
http://wso2.org/library/240
Did you look at the OutflowSecurity parameter spec from rampart 1.3
s2.client.axis2.xml ?

Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Thursday, February 14, 2008 10:33 AM
Subject: WSDoAllReceiver: security processing failed error


>
> I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm jdk
> 1.4.2). And my client is running on jdk 1.5.
>
> I am testing sample05 code(Encryption) ..but i am getting exception, in
> client side.
>
> org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
>   at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> Utils.java:486)
>   at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> OutInAxisOperation.java:343)
>   at org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:389)
>   at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> OutInAxisOperation.java:211)
>   at org.apache.axis2.client.OperationClient.execute(
> OperationClient.java:163)
>   at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
> AsrsPolicyServiceStub.java:153)
>   at com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
> AsrPolicyServiceClient.java:35)
>   at com.nfn.wsclients.AsrPolicyServiceClient.main(
> AsrPolicyServiceClient.java:23)
>
>
> before this i tested sample 02 (usertoekn authentication) which worked
> fine.
> when idid google on "WSDoAllReceiver: security processing failed" i am
> seeing lot of posting related to action mismath problem.
> but if u see the above exception message, i am not getting "action
> mismatch" problem..but just WSDoAllReceiver: security processing failed
>
> Any idea?
>
> Thanks in adavnce.
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDoAllReceiver: security processing failed error

2008-02-14 Thread Martin Gainty
Did you configure username/password/Nonce/Created as suggested in the ws02
tutorial located at
http://wso2.org/library/240
Did you look at the OutflowSecurity parameter spec from rampart 1.3
s2.client.axis2.xml ?

Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Thursday, February 14, 2008 10:33 AM
Subject: WSDoAllReceiver: security processing failed error


>
> I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm jdk
> 1.4.2). And my client is running on jdk 1.5.
>
> I am testing sample05 code(Encryption) ..but i am getting exception, in
> client side.
>
> org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
>   at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> Utils.java:486)
>   at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> OutInAxisOperation.java:343)
>   at org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:389)
>   at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> OutInAxisOperation.java:211)
>   at org.apache.axis2.client.OperationClient.execute(
> OperationClient.java:163)
>   at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
> AsrsPolicyServiceStub.java:153)
>   at com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
> AsrPolicyServiceClient.java:35)
>   at com.nfn.wsclients.AsrPolicyServiceClient.main(
> AsrPolicyServiceClient.java:23)
>
>
> before this i tested sample 02 (usertoekn authentication) which worked
> fine.
> when idid google on "WSDoAllReceiver: security processing failed" i am
> seeing lot of posting related to action mismath problem.
> but if u see the above exception message, i am not getting "action
> mismatch" problem..but just WSDoAllReceiver: security processing failed
>
> Any idea?
>
> Thanks in adavnce.
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



WSDoAllReceiver: security processing failed error

2008-02-14 Thread jafaram

I am using Axis2 1.3 with rampart in websphere 5.1 (running on ibm jdk
1.4.2). And my client is running on jdk 1.5.

I am testing sample05 code(Encryption) ..but i am getting exception, in
client side.

org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
  at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
Utils.java:486)
  at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:343)
  at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:389)
  at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
OutInAxisOperation.java:211)
  at org.apache.axis2.client.OperationClient.execute(
OperationClient.java:163)
  at com.nfn.wsclients.AsrsPolicyServiceStub.getStatuses(
AsrsPolicyServiceStub.java:153)
  at com.nfn.wsclients.AsrPolicyServiceClient.printAccountStatuses(
AsrPolicyServiceClient.java:35)
  at com.nfn.wsclients.AsrPolicyServiceClient.main(
AsrPolicyServiceClient.java:23)


before this i tested sample 02 (usertoekn authentication) which worked
fine.
when idid google on "WSDoAllReceiver: security processing failed" i am
seeing lot of posting related to action mismath problem.
but if u see the above exception message, i am not getting "action
mismatch" problem..but just WSDoAllReceiver: security processing failed

Any idea?

Thanks in adavnce.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: getting Axis Exception : WSDoAllReceiver: security processing failed (actions mismatch)

2008-01-23 Thread Nandana Mihindukulasooriya
Hi Anil,
   IFAIK, the actions in this exception refer to to the actions in the
in/out flow security parameter.


  
XXX XXX 
  


looking at the stack trace, it seems that the response sent by the server is
not according to the inflow
security parameter defined in the client. Please take a look at the outflow
security parameter of the
service.xml and the inflow security parameter of the client.

Thanks,
Nandana




On Jan 24, 2008 1:34 AM, Anil Misra <[EMAIL PROTECTED]> wrote:

>  Hi ,
>
>
>
>   I am getting the following exception when running my client. The
> services.xml has the action mapping as bellow:
>
>
>
> http://www.w3.org/ns/wsdl/in-out";>
>
>urn:myAction
>
>http://…./myActionResponse outputActionMapping>
>
>
>
>
>
> In the client code I am setting the action as Following:
>
>
>
>options.setAction("urn:myAction");
>
>
>
>
>
> what am I doing wrong to get this exception :
>
>
>
>
>
>[java]  Axis Exception : WSDoAllReceiver: security processing failed
> (actions mismatch)
>
>  [java] org.apache.axis2.AxisFault: WSDoAllReceiver: security
> processing fai
>
> led (actions mismatch)
>
>  [java] at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
>
> (Utils.java:486)
>
>  [java] at
> org.apache.axis2.description.OutInAxisOperationClient.handleR
>
> esponse(OutInAxisOperation.java:343)
>
>  [java] at
> org.apache.axis2.description.OutInAxisOperationClient.send(Ou
>
> tInAxisOperation.java:389)
>
>  [java] at
> org.apache.axis2.description.OutInAxisOperationClient.execute
>
> Impl(OutInAxisOperation.java:211)
>
>  [java] at org.apache.axis2.client.OperationClient.execute
> (OperationClie
>
> nt.java:163)
>
>  [java] at org.apache.axis2.client.ServiceClient.sendReceive
> (ServiceClie
>
> nt.java:528)
>
>  [java] at org.apache.axis2.client.ServiceClient.sendReceive
> (ServiceClie
>
> nt.java:508)
>
>  [java] at com.arccorp.iar.util.ws.XmlLoadClient2.main(
> XmlLoadClient2.ja
>
> va:112)
>
>
>
> Any pointers please. Your help is appreciated.
>
>
>
>
>
> Thanks,
>
> -Anil
>
>
>


getting Axis Exception : WSDoAllReceiver: security processing failed (actions mismatch)

2008-01-23 Thread Anil Misra
Hi ,

 

  I am getting the following exception when running my client. The
services.xml has the action mapping as bellow:

 

http://www.w3.org/ns/wsdl/in-out";>

   urn:myAction

 
http:///myActionResponse

 

 

In the client code I am setting the action as Following:

 

   options.setAction("urn:myAction");

 

 

what am I doing wrong to get this exception :

 

 

   [java]  Axis Exception : WSDoAllReceiver: security processing failed
(actions mismatch)

 [java] org.apache.axis2.AxisFault: WSDoAllReceiver: security
processing fai

led (actions mismatch)

 [java] at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext

(Utils.java:486)

 [java] at
org.apache.axis2.description.OutInAxisOperationClient.handleR

esponse(OutInAxisOperation.java:343)

 [java] at
org.apache.axis2.description.OutInAxisOperationClient.send(Ou

tInAxisOperation.java:389)

 [java] at
org.apache.axis2.description.OutInAxisOperationClient.execute

Impl(OutInAxisOperation.java:211)

 [java] at
org.apache.axis2.client.OperationClient.execute(OperationClie

nt.java:163)

 [java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie

nt.java:528)

 [java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie

nt.java:508)

 [java] at
com.arccorp.iar.util.ws.XmlLoadClient2.main(XmlLoadClient2.ja

va:112)

 

Any pointers please. Your help is appreciated.

 

 

Thanks,

-Anil 

 



WSDoAllReceiver: security processing failed

2007-06-25 Thread masi


Hi all,

I am following the IBM guide
https://www6.software.ibm.com/developerworks/education/ws-understand-web-services4/section5.html

I first enabled the Signature in the client. Signature
for the body for the outflowsecurity.

I got this:

  [java] org.apache.axis2.AxisFault: WSDoAllReceiver: security
processing failed

The username is good, the password  is good (from the callback handler).
[EMAIL PROTECTED]
~/Documents/workspace/TianiIdP/build/classes $ keytool -list -alias
umberto -keystore mykeys.j
Immettere la password del keystore:  mypass
umberto, 20-giu-2007, keyEntry,
Impronta digitale certificato (MD5):
DA:7A:E0:B1:9B:79:93:70:5F:10:7C:30:57:26:C4:C4


Can you help me?

Cheers,




This message was sent using IMP, the Internet Messaging Program.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]