Hi
After running into a problem with a reference to a web service. The steps i took in creating the web service were as normal, file->add new project->web service (renamed to Classification.aspx). Inorder to use the methods i created in the web service i put the statement <webmethod()> before the start of the method.
I then went to my front end project and added a web reference and left the name that the system game me (localhost in this case). In my code i then went Dim x as new localhost.Classification. Now in my code when i typed x.methodname, the methods in my web service was ok, however when i actully run the project and try to call the web service methods for the frontend i get the following error:
Object reference not set to an instance of and object.
Any suggestions. This is the same proceedure i have used in previous projects and it worked.
Mike
After running into a problem with a reference to a web service. The steps i took in creating the web service were as normal, file->add new project->web service (renamed to Classification.aspx). Inorder to use the methods i created in the web service i put the statement <webmethod()> before the start of the method.
I then went to my front end project and added a web reference and left the name that the system game me (localhost in this case). In my code i then went Dim x as new localhost.Classification. Now in my code when i typed x.methodname, the methods in my web service was ok, however when i actully run the project and try to call the web service methods for the frontend i get the following error:
Object reference not set to an instance of and object.
Any suggestions. This is the same proceedure i have used in previous projects and it worked.
Mike