cancel
Showing results for 
Search instead for 
Did you mean: 

Destination Factory Java Web Server

0 Kudos

Hi,

I want to Use The DestinationFactoryAPI but I have a problem with the context.lookup method :

This is the tutorial I followed :

https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/c9bb25f2c35e4fddb8c86382cb8...

The problem is that the method:

ctx.lookup(DestinationFactory.JNDI_NAME);

returns the type

com.sap.core.connectivity.local.destinations.LocalDestinationFactory

which can not be cast to

DestinationFactory

Can you please help me ? 

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member81750
Active Participant
0 Kudos

Have you seen some of the more detailed examples on github.com/sap For example check this for Ariba and SAP CP

https://github.com/SAP/cloud-ariba-qrcode-requisition-ext

- Pankaj