
Originally Posted by
Andreas Senft
The method that you invoke on your interface is intercepted by the proxy. However, on delegating the method call to the real instance (i.e. the session bean stub) you receive a NoSuchMethodException.
This indicates, that the stub does not implement that method.
So I would conclude that either your business interface is not in sync with your local interface, or your local interface is not in sync with your bean implementation class.
Regards,
Andreas
Code:
/*
* Generated by XDoclet - Do not edit!
*/
package com.blackhawk.ff.service;
/**
* Local interface for ConsumerManager.
* @xdoclet-generated at
* @copyright Safeway
* Inc.; HP
* @version xxx
*/
public interface ConsumerManagerLocal
extends javax.ejb.EJBLocalObject, com.blackhawk.ff.service.ConsumerManager
{
}
Code:
package com.blackhawk.ff.service;
import com.blackhawk.ff.consumer.IConsumer;
import com.blackhawk.ff.consumer.ISearchKey;
import com.blackhawk.ff.consumer.IQueryKey;
import com.blackhawk.ff.exception.*;
import com.blackhawk.ff.trx.IConsumerTrxRequest;
import com.blackhawk.ff.velocity.IVelocityRequest;
import java.util.Collection;
/**
* Created by IntelliJ IDEA.
* User: mknut01
* Date: Jun 14, 2005
* Time: 10:44:13 AM
* To change this template use File | Settings | File Templates.
*/
public interface ConsumerManager {
/**
* DOCUMENT ME!
*
* @param pIQueryKey DOCUMENT ME!
* @return DOCUMENT ME!
* @throws ConsumerQueryException DOCUMENT ME!
*/
public IConsumer getConsumer(IQueryKey pIQueryKey) throws ConsumerQueryException;
public Collection getConsumers(ISearchKey pISearchKey) throws ConsumerSearchException;
//public Collection getConsumers(IQueryKey pIQueryKey) throws ConsumerQueryException;
public IConsumer updateConsumer(IConsumer pIConsumer) throws ConsumerUpdateException;
public Collection getConsumerTransactions(IConsumerTrxRequest consumerTrxRequest) throws ConsumerTrxException;
public Collection getVelocity(IVelocityRequest velocityRequest) throws ConsumerVelocityException;
}