Simulator - http request using proxy just hangs

I tried running the weather demo from Digital Blur showing how to call a web service and parse the XML on a network that has a proxy server and it simply hung.

Things were configured correctly as far as I know because Safari worked fine.

Anything I am missing or is this not supported?

Thanks in advance for any help or suggestions,
Stephen
[import]uid: 28709 topic_id: 18662 reply_id: 318662[/import]

Could you post some code? [import]uid: 84637 topic_id: 18662 reply_id: 71735[/import]

I set all the proxy settings on my MacBook Pro and applications like Safari and such have no issues getting through the proxy to the internet, I have even made calls to web services from other tools (Android emulator) and that worked fine.

I really need this to work as soon as possible,
Stephen
[import]uid: 28709 topic_id: 18662 reply_id: 71865[/import]

It’s the weather example.

http://developer.anscamobile.com/code/weather-app-example
Here is the request

function getXMLData(url)
local srcfile = “weather_download.xml”
local path = system.pathForFile(srcfile, system.DocumentsDirectory)
local myFile = io.open( path, “w” )
local xmltext = http.request{
url = url,
sink = ltn12.sink.file(myFile),
}
return XmlParser:ParseXmlFile(path)
end [import]uid: 28709 topic_id: 18662 reply_id: 71740[/import]

I am dead in the water right now.

This should be either a known issue that has a resolution or I am the only person to ever experience this.

[import]uid: 28709 topic_id: 18662 reply_id: 71928[/import]

Your not closing the file after opening it.

I believe that is causing the issue

io.close(myFile) [import]uid: 84637 topic_id: 18662 reply_id: 71930[/import]

I will try that but it works without a proxy and does not work with a proxy is the issue.
Either confirm it is a bug or tell me how to fix it or just tell me that is is not supported but I need an answer.
[import]uid: 28709 topic_id: 18662 reply_id: 71935[/import]

Forget about it.

I expected support for web services and SOAP by now but it does not appear that way so I will simply use Java on Android and Objective C on iOS.

I am seriously disappointed as I paid what I consider to be a decent fee for Corona.

To be a business application tool SOAP web services will be crucial, good luck.

[import]uid: 28709 topic_id: 18662 reply_id: 71973[/import]