Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
Begiiner in.NET and need help
Old 01-09-2011, 05:45 AM Begiiner in.NET and need help
Skilled Talker

Posts: 97
Trades: 0
Hi everyone.
i am a new VB.NET programmer but i have a task to get data from a web service
that exists on this path
http://o-survey.com/webservice/StockQuote.wsdl

i added the web reference by clicking right click -> add reference -> and i paste the link and press go.

now i want to get data from this web service in VB.NET.

the string that i want to pass to web service is ALYC32102 and it will get the result.

i am a beginner in VB.NET and i don t know how to use my web service and get the result.

so please i need any help, tutorial, video that can help me.. anything please
john_zakaria is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-09-2011, 11:27 AM Re: Begiiner in.NET and need help
DmitryS's Avatar
Skilled Talker

Posts: 84
Trades: 0
i can't exectly help you with VB.NET code but here is fruit of thought.

1- Using YOURWEBSERCIVENAMESPACE;
2- you need to instanciate web service (like you do with any call object)
3- call your required method by passing string parameter
__________________
»
Please login or register to view this content. Registration is FREE
for web developers
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
DmitryS is offline
Reply With Quote
View Public Profile
 
Old 05-20-2012, 11:17 AM Re: Begiiner in.NET and need help
Average Talker

Posts: 19
Location: Mumbai , India
Trades: 0
Please Note the Steps to Reference the Web Service.

1) Open the Web Project

2) Right Click on the Project Name in the Solution Explorer

3) Click on Add Service Reference

4) Enter the URL o-survey.com/webservice/StockQuote.wsdl in the Address Box there and Click on Go

5) Once you see the Service Listed there Give a Name to the Reference if you want and click on OK.

6) Where you want to Call the Service Create an Object of the Class which you want to use from Web Service Reference which has just been added and then call the functions like you call normal functions.
bzwiz is offline
Reply With Quote
View Public Profile Visit bzwiz's homepage!
 
Reply     « Reply to Begiiner in.NET and need help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15449 seconds with 11 queries