on 04-02-2007 6:29 PM
hi
i am trying to use the workaround for sap.net visual studio 2005.
i used visual studio 2003 to create a connector proxy. i compiled etc
i have 3 dll's SAP.connector.DLL SAPConnectorProxy.DLL and SAP.Connector.RFC.
Now in visual studio 2005 in a C# program i am trying to use them
i added my references
-
this is my c# program
using SAP.Connector;
using SAPConnectorProxy;
using SAP.Connector.Rfc;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
SAPConnectorProxy.SAPProxy1 proxy = new SAPProxy1();
}
}
}
-
in the object broser i can see my objects
the problem
when i use
SAPConnectorProxy.SAPProxy1 proxy = new SAPProxy1();
I get a compile error
Error 1 The type 'System.Web.Services.Protocols.SoapHttpClientProtocol' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
so i assume i am not using it correctly
any help would be greatly appreciated
Hi Janice,
As your error message said <b>you must add a reference to assembly 'System.Web.Services</b>, you have to add reference System.Web.Services using References in VS2005. Then you will see that you won't get this error.
If helpful, don't forget rewarding points
Best Regards,
Huseyin Akturk
SW Engineer & ABAP Consultant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.