Skip to Content
Former Member
Sep 17, 2009 at 08:12 PM

WSDL Issue?


Hello All,

I am attempting to consume an SAP Web Service from a C# webapp in Visual Studio 2005. In the fairly recent past we have implemented EP3 and since that, I have not done this. In any event, when I navigate to the Solution Explorer in VS2005 and "Add Web Reference", it correctly shows the exposed web methods and their input parameters as well as the return type etc... In the "Web Reference Name" text box, I enter something like MYSAP and click "Add Reference". Everything seems to go well, but after I attempt to use the namespace "MYSAP", nothing comes up. When applying the "using" directive (i.e. using MYSAP; ), I get the error "The type or namespace name MYSAP could not be found (are you missing a using directive or an assembly reference)...".

As stated earlier, I have done this successfully in the past, but for some reason now it doesn't seem to be properly generating the proxy class / namespace in Visual Studio. The input and output parameters for the web method are simply of type string, so there shouldn't be any confusion there. I would also like to point out that this is not a Visual Studio issue as I can correctly reference a test web service (i.e. Amazon). Has anyone else experienced an issue similar to this? I've searched and search, but to this point have found nothing. Thanks in advance.