How to create a reference assembly to a web service when using ASPX?
If you are planning to use one of our web services in an ASP.Net application and if you are not planning to use the code-behind technique, you will need to create a reference assembly to the service. To do this, follow these simple steps: • First, generate the proxy source file using the wsdl.exe utility at a Visual Studio .Net Command Prompt (here we are using the XigniteRealTime service as an example) C:\>wsdl.exe /language:VB http:://www.xignite.com/xRealTime.asmx?WSDL • This will generate a file called XigniteRealTime.vb (or .cs if you used the CS language option). You can then compile the VB file into an Assembly. C:\>vbc.exe /t:library /r:System.dll /r:System.Web.dll /r:System.Web.Services.dll /r:System.Xml.dll XigniteRealTime.vb • This will generate a file called XigniteRealTime.dll that you can add to your VisualStudio project and must copy to your ASP.NET project /bin directory. • You can then consume the service using code similar to that provided under the Sample Code in the