Hello guys! I have a url which normally points to a postcode lookup webservice:
"http://pce.afd.co.uk/afddata.pce?Serial=822590&Password=<PASSWORD>&UserID=<UNAME>&Data=Address&Task=PropertyLookup&Fields=List&MaxQuantity=200&Lookup=BD1+3RA"
I need to make a call to this url, probably by using HttWebRequest and get the output which is an xml string (see example):
<?xml version="1.0"?>
<AFDPostcodeEverywhere>
<Result>1</Result><ErrorText></ErrorText><Item value="1"><Postcode>BD1 3RA</Postcode>
<PostcodeFrom></PostcodeFrom>
<Key>BD1 3RA1001</Key>
<List>BD1 3RA City of Bradford Metropolitan District Council, Fountain Hall, Fountain Street, BRADFORD</List>
<CountryISO>GBR</CountryISO>
</Item>
</AFDPostcodeEverywhere>
My problem is that when I type the url in my browser, I get the xml above in my browser but I am not able to get this xml string via code. CAN ANYONE HELP ME OUT PLZ!!! ITS REALLY VERY URGENT! From what I have read we need to make a soap request but I dnt know how to do that!!! Thanks in advance!