cancel
Showing results for 
Search instead for 
Did you mean: 

Error in AXIS framework

Former Member
0 Kudos

Hi Experts,

Currently i am working on synchrous scenario.

ABAP proxy-PI-Webservice (SOAP ADAPTER with AXIS framework)

However my client wants usernameToken security wuth PasswordDigest.

How ever i have done the settings as per SAP Note 1039369 FAQ XI Axis Adapter.

Now when i am checking the scenario i am getting following error "Security Token could not be authenticated"

Moreover when i checked with client they want

"Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) ) "

However i have not added information about NONCE.

My settings in module tab are as follows:

Processing Sequence.

Module Key

afreq

xireq

wssec

trp

xires

afres

Module configuration

ModuleKey ParameterName parametervalue

xireq handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler

wssec action UsernameToken Timestamp

wssec handler.type java:com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllSender

wssec passwordType PasswordDigest

wssec pwd.password ********************

wssec user XYZ

trp handler.type java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender

trp module.pivot true

xires handler.type java:com.sap.aii.axis.xi.XI30OutboundHandler.

Could you please advice how i will handle this in PI ?

As per the SNOTE its given :

Q:

How can I insert the Nonce and/or Created elements for WS-Security UsernameToken?

A:

You can use handler parameter addUTElements to add Nonce and Created elements.

But i am not able to know what are settings i need to do in module tab of receiver SOAP adapter.

Please provide your valuable inputs on this?

Thanks in advance

Anku Chopra

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Experts,

Any inputs on this issue?

Moreover i just came to know one thing that our third party is using AXIS 1.2 and i have deployed AXIS 1.4 in my PI server as per SAP Note 1039369 FAQ XI Axis Adapter

Is this connectivity issue is because of AXIS framework version?

I am getting following error in response message:

org.apache.ws.security.WSSecurityException:AccessDenied

Please provide your valuable inputs on this.

Thanks in advance

Regards

Anku Chopra

Edited by: AnkuChopra on Sep 7, 2009 9:22 AM

Former Member
0 Kudos

Hello Anku,

Can you solve this problem about "addUTElements" parameters?I have same issue.Can you help me?

Best regards...

Former Member
0 Kudos

Hi Anku,

I am facing the exact same issue "Access Denied" while using the Soap/Axis adapter. CAn you please let me knw how you were able to resolve this issue.

Thanks a lot, Shany

Former Member
0 Kudos

Any one was able to resolve this issue ?

Any help is really appreciated.

Thanks