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 a comment
10|10000 characters needed characters exceeded

Related questions

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 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.