Skip to Content
author's profile photo Former Member
Former Member

conect with IConnectorGatewayService

Hi,

i am connectiong to other systems with JCA.

IConnectorGatewayService cgService =

(IConnectorGatewayService) connectorservice;

if (cgService == null) {

return "Cannot obtain Connector Gateway Service";

}

IConnection connection = null;

try {

IInteraction ix = null;

ConnectionProperties cp =

new ConnectionProperties(req.getLocale(), req.getUser());

try {

connection = cgService.getConnection(system, cp);

if (connection == null) {

...

and so on...

but i need to know what happens in case if connection is not possible(eg bad username, system is unreachable,..), now it throws only NullPointerException.

thanks

Jiri JUranek

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jul 19, 2004 at 11:37 AM

    Well,

    thats a good feature request. So far you may only check it for yourself.

    Looking for the right usermapping via API and pinging the server via rfc service.

    I will forward this to dev as an valuable idea.

    BR, Oliver

    Add comment
    10|10000 characters needed characters exceeded