Skip to Content

Not able to connect for English [GB]

Hi All,

Our MDM repository set for three languages English [US],English [GB] and German [DE]. We are able to connect to repositoty for all the 3 languages through MDM client.

I am able to connect through java code for English[US].But,not able to connect to English[GB] and German[DE].

Please look into this code....

Waiting for your quick replys..

spec.setPropertyValue("UserName", "Admin");
		spec.setPropertyValue("Password", "start123");
		//spec.setPropertyValue("Server", "10.188.178.245");
		spec.setPropertyValue("Server", "tsijke.fn2.dsh.de");
		spec.setPropertyValue("Port", "2345");
		//spec.setPropertyValue("RepositoryLanguage", "English [US]");
		spec.setPropertyValue("RepositoryLanguage","English [GB]");
		//spec.setPropertyValue("RepositoryLanguage", "German [DE]");
		
		IConnection connection = null;
		try {
			connection = connectionFactory.getConnectionEx(spec);
		} catch (NullPointerException npex) {
			throw new NullPointerException("Could not able to make  connection.");
		} catch (ConnectionFailedException cfex) {
			throw new ConnectionFailedException(cfex.toString());
		} catch (ConnectorException cex) {
			throw new ConnectorException(cex.toString());
		}

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2005 at 06:50 PM

    Hello:

    The way I create the connection is as follows:

    String server = "MDMServer";

    int port = 2005;

    String user = "admin";

    String password = "";

    String language = "Spanish [MX]";

    mdmBridge.SetCodeRegion("English [US]"); mdmBridge.Login(server,port,user,password,language);

    As you can see, I always use CodeRegion (English [US]), how ever, the language and localization goes in Spanish [MX] as set on the language property String.

    I hope this helps

    Regards

    Alejandro

    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.