cancel
Showing results for 
Search instead for 
Did you mean: 

JCA in WebDynPro

kai_unewisse3
Active Contributor
0 Kudos

Hi

i am running into problems with Adaptive RFC and i want to use now JCA instead.

the Problem i am facing is that all examples i see are calling JCA from a PortalComponent and this provides the objects Request, PortalRuntime and gettings a Service

PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);

Is there a way to use JCA inside a Web Dynpro component?

Thanks,

Kai

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go through this link probably it might be useful.

http://127.0.0.1:1767/help/index.jsp?topic=/com.sap.devmanual.doc.user/6e/15d240c2c28531e10000000a15...

All the best.

Regards,

Sirisha.R.S.

Former Member
0 Kudos

Set a sharing refernce to the Connector Portal Service add the api jar file corresponding to the service in the build path and use WDPortalUtils class to get the handle to the service

http://help.sap.com/saphelp_nw04/helpdata/en/93/014e41bbd1f423e10000000a155106/frameset.htm

Hope this link would be helpful.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you tell us what the problems you are facing in regards to adaptive RFC ..?

Isnt it easier to work with them..

Anyways if u want to use JCA.. how about creating a portal service for the same and exposing it as a webservice..

Whatever u do.. They will depend on the portal runtime ..ISNT IT ? To avoid this.. you have to get an handle for an object of that particular class and do it ! ..

A bit complicated when compared to Adaptive RFC...

(And sirisha 's link points to a local URL.. probably.. GoogleDesktop search )

Regards

Bharathwaj