I am not using "UsernameToken" but just trying "Encrypt" Feature only as in
sample05 ,..



here is snippet from my client axis.xml

      <module ref="rampart" />

    <parameter name="InflowSecurity">
      <action>
        <items>Encrypt</items>
        <passwordCallbackClass>com.nfn.wsclients.PWCBHandler</
passwordCallbackClass>
        <decryptionPropFile>client.properties</decryptionPropFile>
      </action>
    </parameter>

      <parameter name="OutflowSecurity">
      <action>
        <items>Encrypt</items>
        <encryptionUser>service</encryptionUser>
        <encryptionPropFile>client.properties</encryptionPropFile>
      </action>
    </parameter>


here is snippet from my services.xml

    <module ref="rampart" />

    <parameter name="InflowSecurity">
      <action>
        <items>Encrypt</items>
        <passwordCallbackClass>com.nfn.ws.PWCBHandler</
passwordCallbackClass>
        <decryptionPropFile>service.properties</decryptionPropFile>
      </action>
    </parameter>

      <parameter name="OutflowSecurity">
      <action>
        <items>Encrypt</items>
        <encryptionUser>client</encryptionUser>
        <encryptionPropFile>service.properties</encryptionPropFile>
      </action>
    </parameter>





                                                                           
                   "Martin                                                 
                   Gainty"                                                 
                   <[EMAIL PROTECTED]                                       
From 
                   mail.com>            "Martin Gainty"                    
                                        <[EMAIL PROTECTED]>              
                                                                        To 
                                        <[email protected]>,         
                                        <[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: <[email protected]>
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]

Reply via email to