0
Reply

Web Service Method invocation

linxxd

linxxd

Oct 15 2004 8:49 AM
1.6k
I have different problems using my own program as library. I have an application which is invoked by a Web Service. When I generate the stub with the wsdl-tool of Visual Studio .NET, I cannot invoke it properly. For testing purposes, I try to click on a button on a .asmx site and want that this page calls a method in my Web Service. Following Code: <%@ Page language="c#" debug="true" src="WSclient.aspx.cs" Inherits="myNamespace.WSclient" %> <%@ Import Namespace="myNamespace" %> The WSclient.aspx.cs is also in the myNamespace namespace and tries to call MyWebServiceClass class = new MyWebServiceClass(); but I always get the error message that this Class is not available (missing Reference?). What else do I have to add to my class??