Skip to Content
0
Former Member
Apr 18, 2007 at 04:55 AM

connecting MDM through Java APIs using WebDynpro.

30 Views

Hello All,

I have connected to MDM using the MDM Java APIs. Now I want to call the same function in a WebDynpro(WD) application. But it fails to connect. Below is my code

In my WD Login page i have entered the following code (i have hardcoded the values passed iin the function)

int resultLogin = catalog.Login("INLD50042949A",2025,"admin","welcome","English [US]");

if (resultLogin != RC.RC_OK)

{

wdComponentAPI.getMessageManager().reportException("Not connected",true);

}

The control is going into the if condition. bcoz resultLogin !=0

But the same parameters work fine if i call this method from a normal Java standalone application (Without using WebDynpro)

Please help

Thanks

Suresh