Skip to Content
avatar image
Former Member

WAS 6.30, Netweaver 2.0 - AbstractProxyBean not found

Hi

     We are trying to create Java Bean classes for BAPIs. The class gets created but the bean and the remote interface cannot be compiled because

public class BAPI1_PortTypeBean extends com.sap.aii.proxy.framework.core.AbstractProxyBean {

Error: "cannot be resolved or is not a valid superinterface"

public class BAPI1_PortTypeBean extends com.sap.aii.proxy.framework.core.AbstractProxyRemote {

Error: "cannot be resolved or is not a valid superclass"

     I could not find these in any jar file. Where are these supposed to be?

     Also, is it safe to assume that Java Bean means Enterprise Java Bean? I mean, can we expose these as web services if we need to?

Thanks a lot in advance,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 30, 2004 at 06:20 PM

    Hello,

    it seems to me that you are trying to generate those beans? Where did you get the generator?

    What you generate in the studio are not beans but plain classes that have to be handled in special way. Please wathc docs for this.

    I really don't know where you get a remote interface from. Please tell me in more detail what you are doing.

    Regards,

    Benny

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Benn

         Thanks for the reply.

         Here is how I generate those beans. In NetWeaver studio, create a project. After that, select

          New>Other>SAP Connectivity on the left and SAP Enterprise Connector on the right-->

         You will get a SAP Enterprise Connector window, select the project folder where you want the beans to be selected, specify the package name and class name for the generated beans. Below the class name you have the option to generate as Java Bean. Select that option. In the next page, give the connectivity information for your SAP R/3. And in the window after that, select the BAPI/RFC you want. That is it.

          Hope this helps.