Skip to Content
avatar image
Former Member

Destination Factory Java Web Server

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

  • Get RSS Feed

1 Answer

  • Apr 20, 2017 at 09:33 PM

    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

    Add comment
    10|10000 characters needed characters exceeded