How to Access My WebService
How to Access My WebService
How to Access My WebService
How to Access My WebService
How to Access My WebService
How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService
How to Access My WebService How to Access My WebService
How to Access My WebService
Go Back  Xtreme Visual Basic Talk > > > How to Access My WebService


Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2011, 10:21 AM
nate's Avatar
nate nate is offline
Junior Contributor
 
Join Date: Mar 2001
Posts: 358
Default How to Access My WebService


I have written a webservice that woks great. I can go to it with my web browser and run it with the desired result. However, I am having some trouble trying to call it from my app which I am sure is a simple task but having an issue.

1. I added a web reference to my project, no problem. It found the service and added it.

2. I declared a var as the new object.

3. I call my object.method but get an error saying an object reference is not there. Am I missing a simple include tag somewhere?

Please Help.
__________________
Ignorance begins with I.
Reply With Quote
  #2  
Old 11-20-2011, 10:23 AM
nate's Avatar
nate nate is offline
Junior Contributor
 
Join Date: Mar 2001
Posts: 358
Default

OMG, just needed to declare it and set it to new. Simple stupid error. Thanks anyway.
__________________
Ignorance begins with I.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to Access My WebService
How to Access My WebService
How to Access My WebService How to Access My WebService
How to Access My WebService
How to Access My WebService
How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService How to Access My WebService
How to Access My WebService
How to Access My WebService
 
How to Access My WebService
How to Access My WebService
 
-->