I m trying to connect to WAS 6.1 with AdminClient using the code below,

props.setProperty(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_SOAP);
props.setProperty(AdminClient.CONNECTOR_HOST, getIpAddress());
props.setProperty(AdminClient.CONNECTOR_PORT, "8880");
props.setProperty(AdminClient.USERNAME, "XXXX");
props.setProperty(AdminClient.PASSWORD, "XXXX");
props.setProperty(AdminClient.CONNECTOR_SECURITY_E NABLED, "true");
props.setProperty( AdminClient.CONNECTOR_SOAP_CONFIG,"C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv 01\\properties\\soap.client.props");
props.setProperty("javax.net.ssl.trustStore","C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv 01\\etc\\DummyServerTrustFile.jks");
props.setProperty("javax.net.ssl.keyStore","C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\AppSrv 01\\etc\\DummyServerKeyFile.jks");
props.setProperty("javax.net.ssl.trustStorePassword","WebAS");
props.setProperty("javax.net.ssl.keyStorePassword","WebAS");

Also, i enable PMI and Administrative Security in WAS 6.1. But i m getting the following error.

May 25, 2010 11:38:21 AM com.ibm.websphere.management.AdminClientFactory
WARNING: ADMC0046W
May 25, 2010 11:38:21 AM com.ibm.ws.management.connector.interop.JMXClassLo ader
WARNING: Could not find tmx4jTransform.jar in null/etc/tmx4jTransform.jar - Interoperability to older versions of WebSphere is disabled
May 25, 2010 11:38:22 AM com.ibm.ws.ssl.config.SSLConfigManager
INFO: ssl.disable.url.hostname.verification.CWPKI0027I
May 25, 2010 11:39:22 AM com.ibm.websphere.management.AdminClientFactory
WARNING: ADMC0046W
com.ibm.websphere.management.exception.ConnectorEx ception: ADMC0053E: The system cannot create a SOAP connector to connect to host 192.168.0.194 at port 9443 with SOAP connector security enabled.

Without Security, the code works fine. Please help me in solving this issue.

Thanks in advance.