cancel
Showing results for 
Search instead for 
Did you mean: 

Missing components for AXIS framework in PI7.0

Former Member
0 Kudos

Hi Experts,

I have requirement to use AXIS framework in Receiver SOAP adapter.When i am creating receiver SOAP adapter in PI7.0 and selecting Transport Protocol its showing as HTTP(AXIS) and message protocol as Axis.However my client wants UsernameToken security with digestpassword.

Now the problem is whenever i am checking the following link http://hostname:50000/XIAxisAdapter/MessageServlet its showing 3 components are missing.

Please do let me know what all steps i need to follow to install those missing components and how i will use Username token with digest password in receiver soap adapter.

However i have gone through the SAP Note 1039369 (FAQ XI Axis Adapter) however i have still lot of confusion.

Please provide more clarity on this.

Your response will be highly appreciated.

Regards

nilesh

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Hello All,

For downloading the optional component files, You can go to the Mirror URL : Index (instead of goinghttp://archive.apache.org/dist/httpcomponents/commons-httpclient/) and download the updated file and place it to corresponding path (/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib).

then you will get status "OK" for optional component too.

We did the same and status is "ok" now.

Enjoy.

Former Member
0 Kudos

The issue has been resolved.

Former Member
0 Kudos

Hi Nilesh,

Can you please let us know how the issue was resolved?

Regards,

Haja

Former Member
0 Kudos

Could you please indicate as you solved the problem, because I feel the same happened to you.


Thank you very much! !


Hernan

0 Kudos

Hello All,

For optional component files, You can go to the Mirror URL : Index (instead of going http://archive.apache.org/dist/httpcomponents/commons-httpclient/) and download the updated file and place it to corresponding path (/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib).

then you will get status "OK" for optional component too.

We did the same and status is "ok" now.

Enjoy.

0 Kudos

Hi,

The sda file needs to be prepared as described in note: 1028961, once done it needs to be deployed on the PI server.

On successful deployment one can see the status using the following as described in note: 1039369:

"http://host:port/XIAxisAdapter/MessageServlet"

For username and password the XML Security API and Apache WSS4J libraries need to be included in the

deployment unit.

Then the following handler (module) needs to be configured in the receiver SOAP channel:

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

The handler needs to be in sequence after the handler with module key: XIREQ

Following parameters need to be used for the module key of the WSDoAllSender handler:

action = UsernameToken

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

passwordType = PasswordDigest

user = <username to be used>

pwd.password = <password to be used>

Pravesh.

Former Member
0 Kudos

Hi Experts,

Thanks for all your replies.

However I am confused in how to prepare the sda file as described in note 1028961 also do we need to deploy these files by using SDM or JSPM on PI server?

Please provide us step by step procedure for this.

Regards

Nilesh

0 Kudos

Hi,

In the note: 1028961, there is zip file attachment, in there one can find the readme.txt file, it explains all the steps.

First you need to download the requisite library files, the paths have been provided in one of the previous responses, then

follow the steps as specified in the readme file.

Pravesh.

Former Member
0 Kudos

Hi Pravesh,

We have gone through note 1028961.We have downloaded the 640_minimum_kit.zip.Also we have read the file README.txt.It is written in this file that

Open the SDA archive using some unzip tool and replace the following empty

jar files with the those inclued in Axis 1.4 src package (http://ws.apache.org/axis/).

axis.jar

commons-discovery-0.2.jar

commons-logging-1.0.4.jar

commons-net-1.0.0-dev.jar

wsdl4j-1.5.1.jar

However when we are going http://ws.apache.org/axis/ through this URL we are unable to find the required jar files.Please confirm that where we will find the above jar files.

After getting these jar files we will be replacing these files with the above empty jar files.

Regards

Nilesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>However when we are going http://ws.apache.org/axis/ through this URL we are unable to find the required jar files.Please confirm that where we will find the above jar files.

come one... you need to go to the download page ...

axis-src-1_4.zip is the file you're looking for

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

After downloading when we try to extract the file axis-src-1_4.zip file it giving error that " cannot open file :it doesnot appear to be a valid archive.".

Please guide us on this.

Regards

Nilesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>After downloading when we try to extract the file axis-src-1_4.zip file it giving error that " cannot open file :it doesnot appear to be a valid archive.".

you need to contact your extraction software provider for some help with ZIP files as the file always works

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michael,

Thanks for your reply.

We have downloaded the "axis-src-1_4.zip" file from "http://www.apache.org/dist/ws/axis/1_4/" this path.However we are getting the same error when we try to unzip this file.

Please let us know is there any alternative way by which we can open this file.

Regards

Nilesh

Former Member
0 Kudos

Hi Michael,

We have downloded the axis-src-1_4.zip from http://apache.osuosl.org/ws/axis/1_4/ path.

And we are now able to unzip the above file.

Just want to know is this URL is proper to download the ZIP file or do we need to download from other URL?

Please provide your inputs on this.

Regards,

Nilesh

Former Member
0 Kudos

Hi!

These may be optional components. We have implemented Axis Framework successfully and the URL test still reports missing OPTIONAL components.

The minimum components you need are all three REQUIRED components as well as OPTIONAL component

Jakarta-Commons Net

Found: org.apache.commons.net.SocketFactory at /usr/sap/EX1/DVEBMGS12/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/commons-net-1.0.0-dev.jar

All others are only needed in special cases - like e.g.:

Jakarta-Commons HttpClient

Warning: optional component missing --- looking for org.apache.commons.httpclient.HttpClient in com.sap.aii.af.axisproviderlib/commons-httpclient.jar; see http://jakarta.apache.org/commons/httpclient/

Apache WSS4J

Warning: optional component missing --- looking for org.apache.ws.security.WSSConfig in com.sap.aii.af.axisproviderlib/wss4j.jar; see http://ws.apache.org/wss4j/

Apache Addressing

Warning: optional component missing --- looking for org.apache.axis.message.addressing.Constants in com.sap.aii.af.axisproviderlib/addressing.jar; see http://ws.apache.org/addressing/

Apache Sandesha

Warning: optional component missing --- looking for org.apache.sandesha.Constants in com.sap.aii.af.axisproviderlib/Sandesha.jar; see http://ws.apache.org/sandesha/

Regards,

Volker

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>However i have gone through the SAP Note 1039369 (FAQ XI Axis Adapter) however i have still lot of confusion.

about what? did you deploy the jar files as mentiond in the 1st question ?

if not do it as the FAQ says

Regards,

Michal Krawczyk