Hi Vishal,
thanks for your reply! Indeed it was the wrong JND Name while accessing the remote 
interface ("StoreAccess" instead of "StoreAccessBean").
But still it does not work with the the >local< interface:

My "deploy.wsdd" file looks as followed (as described in the tutorial):

<?xml version="1.0" encoding="UTF-8"?>
  | <deployment xmlns="http://xml.apache.org/axis/wsdd/"; 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  | <service name="MyStoreLoginService" provider="java:EJB">
  |     <parameter name="beanJndiName" value="StoreAccessLocal"/>
  |     <parameter name="homeInterfaceName" 
value="de.fhg.ipsi.session.StoreAccessLocalHome"/>
  |     <parameter name="remoteInterfaceName" 
value="de.fhg.ipsi.session.StoreAccessLocal"/>
  |     <parameter name="allowedMethods" value="loginUser"/>
  |     <parameter name="jndiURL" value="jnp://localhost:1099"/>
  |     <parameter name="jndiContextClass" 
value="org.jnp.interfaces.NamingContextFactory"/>
  | </service>
  | </deployment>

I use the downloaded "StoreAcessBean" from the tutorial. The class-level tags are:

**
  |  * @ejb.bean name="StoreAccess"
  |  *  jndi-name="StoreAccessBean"
  |  *  type="Stateless" 
  |  *
  |  * @ejb.dao class="de.fhg.ipsi.session.StoreAccessDAO"
  |  *  impl-class="de.fhg.ipsi.dao.StoreAccessDAOImpl"
  |  *
  |  * ...
  |   

The method "loginUser()" (including tags):

/**
  |  * @ejb.interface-method 
  |  *  view-type="remote" 
  |  * @dao.call name="loginUser"
  |  **/            
  | public String loginUser (String username, String password){ 
  |     System.out.println("Entering StoreAccessbean");
  |     System.out.println("Leaving StoreAccessbean");
  |     return null; 
  | }

As a result I get the Axis service "MyStoreLoginService" but without the service 
method "loginUser(...)".

What could be the reason?
 Thanks, Peter
 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842275#3842275

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842275


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to