cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing existing JCO in Ejb

Former Member
0 Kudos

Hi,

I have created a web service using ejb which access rfc function.Right now I am using JCO.createClient() function for JCO connection which is working fine. Can I use existing Jco's which are defined on portal side inside Ejb?

Thanks in advance,

Best regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks.

I solved this problem.

Former Member
0 Kudos

Hi,

Have you tried

JCO.getClient(String key);

You can also try out

WDSystemLandscape.getJCOClientConnection(<String name>).getClient();

Regards,

Satyajit.

Former Member
0 Kudos

Thanks for reply.

String key is which parameter exactly? (Is it the name of the Jco)

Also there are two jcos.One for modeldata & one for rfcmetadata.Which we have to fetch?

Best regards,