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"?>
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.