Skip to main content

Hi All,

I'm dipping into using the WebRequest Control for the first time, just testing it against Googles map API.

Not having much luck and can't find much information on troubleshooting.

JUst trying to access this service

http://maps.googleapis.com/maps/api/geocode/xml?address=10+Downing+Street,+SW1A+2AA&sensor=false 

And getting the error

Unable to connect to the remote server

Any help greatly appreciated.


THanks

Hi,

After dragging the 'web request' control from canvas, this is how I configured using your API.

201473_pastedImage_4.png

Name : Name Of Control

Text Connected to : WebTest (SharePoint list column to save selected value in the drop-down)

Display format : You can choose from the list, based on your requirement.

Authentication type : Anonymous ( as the API is public )

Xpath for value and display : These are the nodes in your response.

For more info refer this.

Xpath for Value : DD Value, Xpath for display : DD text ( how they bind to drop-down in debugger mode ), 

201472_pastedImage_3.png

Output :

201471_pastedImage_2.png

Hope this helps.

Thanks,


Reply