Skip to Content
author's profile photo Former Member
Former Member

Error in AXIS framework

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2009 at 12:07 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.