cancel
Showing results for 
Search instead for 
Did you mean: 

MDM server connection via Java API

Former Member
0 Kudos

Hello everybody,

I want to connect to a MDM server using the Java API (the new one which was shipped out with MDM 5.5 SP05 I guess).

But when I try to get a connection pool a ConnectionException with the following error message is thrown:


com.sap.mdm.net.ConnectionException: Unexpected header signature.

I guess this has something to do with the connectionTag where I specify the server.

Could some please let me know how to set the connectionTag correctly. How do I have to specify the server and the port for the connection?

Thanks for all answers!

Regards,

Torben

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Torben,

just to make sure:

Is the MDM server also SP05?

You have to make sure that the version of the Java API is equal to that of the MDM server. Otherwise, it won't work.

Kind regards,

Dennis

Former Member
0 Kudos

Hi Dennis,

thanks for your answer.

Of course the MDM server is SP05.

That is one of the points I checked first...

Regards,

Torben

Former Member
0 Kudos

Hi Torben,

I found the following documentation for the connection tag in the Javadoc:

Examples of connection tags:
localhost
The MDM server is on the local machine and the default port number of 20005.

MyMachine;40000
The MDM server is on the "MyMachine" and the port number is 40000.

from here: https://help.sap.com/javadocs/MDM/current/com/sap/mdm/net/ConnectionPoolFactory.html

Kind regards,

Dennis

Answers (0)