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

You are currently viewing the ASP.NET 2.0 Professional 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 November 11th, 2010, 05:09 AM
Registered User
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling Web Service to populate drop down box

Hi All,
New here and very new to .Net. I am currently trying to learn about consuming web services within .net and am having trouble with the following example.

I have the WSDL file to contact a vehicle look up web service which based on the selection in a drop down box, will populate a series of other other drop down boxes based on the previous drop down selection. i.e.

- I have a list of vehicle makes stored locally. I select the make (i.e. Ford)
- This then needs to call the web service 'Search Models' which based on the id passed, will return all the models for selected make.
- This continues for a few more drop down boxes, having choosen model, a web service is called to populate the next box which displays the available fuel types for that model and so on.

This is the documentation i have for the search models methos:

public List<DropDownOption> SearchModels(string pCode, string pID)
Parameter pCode is your dealer access ID.
Parameter pID represents MakeID. E.g. VW has the GUID ‘be1741ed-4838-439b-9439-93fc3fc80e7a’.
The method returns a list of models related to the MakeID. The list consists of repeating DropDownOption elements which contain an ID and Desc(Model Name). The ID element is a pipe delimited value made up of ‘MakeID|ModelID’.

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfDropDownOption xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
Any help you could give me would be much appreciated. If you need to see the contents of the WSDL file just let me know.

On a side note, if anyone can recommend any wrox material for 'web services and .net for the beginner' then that would also be a help.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Axis web service from .NET client Koushik .NET Web Services 4 April 2nd, 2010 09:16 PM
Calling Web Service from COM+ application over HTT TTHEO .NET Web Services 0 March 28th, 2008 06:17 PM
How to populate drop down box with registery value method Beginning VB 6 2 April 20th, 2006 03:00 AM
Calling windows app from web service .. André G.Agayby Classic ASP Basics 1 August 1st, 2005 05:57 PM
Calling a Web Service pete_m ASP.NET 1.0 and 1.1 Basics 0 April 28th, 2004 08:45 AM

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