cancel
Showing results for 
Search instead for 
Did you mean: 

A web service that calls another ws which need authentication

Former Member
0 Kudos

Hi,

I need to call a web service which need authentication.

I've used the following code:

SystemMsg sm = new SystemMsg();

sm.setMsgType("Test");

sm.setMsgDesc("Test");

sm.setDateTime("Test");

SystemMsgOB acbss = new SystemMsgOBBindingStub();

acbss._setProperty(SystemMsgOB.USERNAME_PROPERTY, "user");

acbss._setProperty(SystemMsgOB.PASSWORD_PROPERTY, "password");

acbss.systemMsgOB(sm);

When I try to run the project from the J2EE engine I get an exception: java.lang.IncompatibleClassChangeError.

When debugging I found that the method that causes the trouble is the _setProperty.

I'll appreciate any help.

Yaniv.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi and thanks for the quick response.

Searching the file inqmyxml.jar on my J2EE server gave only one location:

\usr\sap\ccms\component_analyzer\inqmyxml.jar

This is not the installation directory neither the lib subdirectory...

Any idea what's going on?

Yaniv.

Former Member
0 Kudos

Hi Yaniv,

The following type of error is reported in the Software Delivery Manager (SDM) during deployment of Java applications on the SAP J2EE Engine.

Refer to note 514156.This deals with the same issues.

Hope it helps,

Regards,

Nagarajan.

Former Member
0 Kudos

Hi Yaniv,

This error previously only occurred if the inqmyxml.jar archive was enhanced incompatibly.

1) Terminate the SDM. Copy the inqmyxml.jar file from the deploying/lib subdirectory of the J2EE installation directory into the lib subdirectory of the SDM.

2) Make sure that you remove the original file from the lib subdirectory.

3) In particular, the file must not remain renamed in the lib subdirectory. Then restart the SDM and repeat the deployment by selecting "Restart".

Hope it helps,

Regards,

Nagarajan.