Hi there, 

I was wondering if someone else knows the answer to this one as it's got
me stumped. I'm getting a weird generation error when I try to create
the requirements for a stateless session bean. When the remote interface
is created into package OrderApp.interfaces, it still adds
OrderApp.interfaces to the Value object (ie GlAccountValue). This fails
to compile. Is there a parameter I need to use in the XML build script?

package OrderApp.ejb;

import javax.ejb.*;
import java.util.Collection;
import java.util.Vector;
import java.util.List;

import OrderApp.rules.GlAccountClient;
import OrderApp.interfaces.GlAccountValue;
import OrderApp.interfaces.GlAccount;
/**
 * This is the OrderApp bean. 
 *
 * @ejb.bean   name="OrderApp"
 *                   description="OrderApp Bean"
 *                   jndi-name="ejb/OrderApp"
 *                   type="Stateless"
 *
 * @ejb.ejb-ref      ejb-name="OrderApp"
 *                         ref-name="ejb/OrderApp"
 *
 *
 * @ejb.security-role-ref
 *     role-name="superuser"
 *     role-link="superuser"
 *
 * @ejb.permission
 *     role-name="superuser"
 *
 *
 * @author  <a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
 */
public abstract class OrderAppBean implements SessionBean {
    GlAccountClient gac = new GlAccountClient();
    
    /**
     * @ejb.interface-method view-type="remote"
     */
    /**
     * @ejb.interface-method view-type="remote"
     */
    public Collection GlAccountCreate(GlAccountValue v)
    {
          ....
    }
======================================
This was generated by xdoclet. The line with
OrderApp.interfaces.GlAccountValue is the problem.

/*
 * Generated by XDoclet - Do not edit!
 */
package OrderApp.interfaces;

/**
 * Remote interface for OrderApp.
 * @xdoclet-generated at 5-08-03
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version ${version}
 */
public interface OrderApp
   extends javax.ejb.EJBObject
{

   public java.util.Collection GlAccountCreate(               
OrderApp.interfaces.GlAccountValue v )
      throws java.rmi.RemoteException;

===========




-- 
Stuart Guthrie <[EMAIL PROTECTED]>
Eureka IT Pty Ltd



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to