Skip to Content
0
Sep 17, 2007 at 07:56 AM

Naming Exception

30 Views

Hi,

I am trying to Consume a XI web Service in a EJB.

1.I have created a deployable proxy "FBProxy" in the package com.samir.

2.This proxy is in the DC Component NWD_demo_Dews~xyz.com.

3.In the create( ) method of the EJB, I have given the jndi lookup for the FBProxy as "java:comp/env/FBProxy".

4.In the ejb-j2ee-engine.xml file I have given JNDI -mapping as

Application local JNDI -name=>FBProxy

Swerver Component Type=> Service

Server Component JNDI name=> /wsclients/proxies/com.samir.FBProxy

but I when I try to access FBProxy from ejbCreate method I am getting Naming Exception. I don't know why. what should be the JNDI-mapping?

can anyone guide me regarding this?

Regards,

Samir