cancel
Showing results for 
Search instead for 
Did you mean: 

using the workaround for sap.net visual studio 2005

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

www.huseyinakturk.net

Former Member
0 Kudos

thank you thank you

i was trying to do using system.web.services

but it would not let me.

you pointed me to the references area thanks

Answers (0)