cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with SAPProxy1.wsdl

Former Member
0 Kudos

I am using version 2.0 of the .NET Connector in VS 2003.

I have a SAPProxy1.wsdl in my project and all the other classes that I expect to be there.

In my code I can create a Destination object and assign all the necessary connection properties of the object.

The problem is that when I try to create the SAPProxy1 object to establish the logon to SAP, the code will not compile. The message is "The type or namespace name "SAPProxy1"could not be found.

Where is this supposed to be found?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think I found my problem. But I need some clarification.

When I first add SAPProxy1.wsdl the SAPProxy1.cs file contains the class SAPProxy1 and the project compiles.

However when I add the BAPIs to that wsdl file, it overwrites the class file and my SAPProxy1 class is gone. Do I need a SAPProxy1.wsdl file (for the connection) and SAPProxy2.wsdl file for the BAPIs?

Former Member
0 Kudos

Hi Wardell,

When you are adding generating the proxy change the name of the wsdl and also the class name inside the .cs file. Otherwise it will keep generating with the default setting and previous one would be overwritten.

Regards.

Former Member
0 Kudos

Be careful and use refactoring....