cancel
Showing results for 
Search instead for 
Did you mean: 

EXCEPTION IN: DestinationService dstService

Former Member
0 Kudos

Hello,

i am trying to use the very first steps of Destination Service API.

but i am getting the exception in:

DestinationService dstService =(DestinationService) ctx.lookup(DestinationService.JNDI_KEY_LOCAL)

though i am unable to catch the very precise exception, but from the study it seems, its the class cast exceptin.

since the LHS is refering to somthing remote, while the RHS is reffering to something LOCAL.

Please help.

waiting for the concrete solution.

Deep Regards,

Viren Gupta

Accepted Solutions (0)

Answers (1)

Answers (1)

vijay_kumar49
Active Contributor
0 Kudos

Hi,

Please check this [Document|http://help.sap.com/saphelp_nw04/helpdata/en/17/d609b48ea5f748b47c0f32be265935/frameset.htm]

Hope this is Help full

Regards

Vijay K

Former Member
0 Kudos

Hello Vijay,

i am referring to the same document only.

but my problem is in the particular lince of code mentioned above.

its not able to cast the class.

hope you can help me in getting rid of this.

Deep Regards,

Viren Gupta