Error consuming web service

J

John

Hi

I am trying to access a web method which is on my local server from a vb.net
client which is also on the same server. In client I am using the below code
to access the web method. The problem is that I get an 'Object reference not
set to an instance of an object.' error on the indicated line when I run the
code. What am I doing wrong?

Thanks

Regards


Dim ws As localhost.StaffDiary
Dim ds As DataSet = ws.GetStaffDiary ' <=== error on this line
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top