Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2009, 02:14 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using weather forecast web service

Hi,

I have a web service to display the weather forecast of cities. How can I use this web service from a aspx page. In the aspx page I will have a dropdown of cities from where I will choose the particular city whoose weather I require.

Thanks in advance. .
 
Old September 23rd, 2009, 02:58 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A small addition to this. From the web service I have to populate the dropdown which will contain the list of cities in ascending order. Any code reference on this is welcome.
 
Old September 29th, 2009, 10:03 PM
Authorized User
 
Join Date: Jun 2009
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default usiing webservice

hi,
you just need to add web reference to your web application,then in your aspx page ,you can call the webservice methtod by passing your city as the parameter ,That is it!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
Finance forecast Database Corey Access 4 December 13th, 2006 04:13 PM
new weather web service cherry Book: Wrox's Visual C# 2005 Express Edition Starter Kit 0 September 6th, 2006 01:52 PM
Table for sales forecast hosefo81 MySQL 0 November 25th, 2003 10:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.