Hi,
I am working on enhancing an aspx page. The server-side is written
with inline code. The coding is not in VS.
The task is to make calls a webservice http://company/vnwebservice/vnwebservice.asmx.
The aspx page is not created in vs.net IDE but written through a text
editor.
The question is how do I add a web reference to the
http://company/vnwebservice/vnwebservice.asmx and start calling the
methods in the webservice.
I understand I have to a add a directive. Should I add a Assembly
directive or a Register directive ?
Can someone help with a example ?
<%@ Register TagPrefix="vw" TagName="vnwebservice.asmx" src="http://
company/vnwebservice/vnwebservice.asmx" %>
<%@ Assembly src="http://company/vnwebservice/vnwebservice.asmx" %>
Thanks,
Anand