on 04-27-2005 2:12 PM
Hello,
I am creating an RFC Server in VB like in the .Net Connector 2.0 Docu/overview
"How to build a simple RFC Server in .net".
If I navigate to SAPProxy1.SAPWSDL and set the property ProxyType to server
the wizard regenerate the 'SAPProxy1.vb' and create the 'SAPProxy1Impl.vb'.
When I rebuild the solution now, there are two errors in the studio task list:
SAPProxy1[Design] The designer must create an instance of type
'SAP.Connector.SAPServer' but it cannot because the type is declared as abstract.
SAPProxy1Impl[Design] The designer must create an instance of type
'Project1.SAPProxy1' but it cannot because the type is declared as abstract.
Does anybody have any idea what I have wrong ?
Thanks for help,
Andreas
Because SAPProxy1Impl untimatly inherits from Component, the VS Component designer thinks that you can and would like to edit this class in component designer. But I assume that you want to change code, so you would right-click on SAPProxy1Impl.cs and say "View Code".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. The Component designers are not really relevant for SAP .NET Connector. You usually only use the .sapwsdl designer.
It's a limitation of the component designer that it cannot design classes that have an abstract base class. This is caused by the way how it works: It creates an instance of the base class and parses / interprets the InitializeComponent method. If you really want to design your Impl class, you could change the SAPProxy1 to be not be abstract. But generally I wouldn't recommend to do so.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.