Skip to Content
0

Destination Factory Java Web Server

Apr 12, 2017 at 02:59 PM

113

avatar image
Former Member

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/c9bb25f2c35e4fddb8c86382cb87ce7a.html

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 ? 
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Pankaj Kumar
Apr 20, 2017 at 09:33 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded