开发者

Flex web services and reverse proxy

I have a similar problem to the one described here and I found the answer here to be helpful but I have a few more questions.

I've setup my project using Flash Builder 4 and imported my WSDL using the web service wizard making sure I pointed to the WSDL on the proxy. However simply doing that and enabling the "ProxyPreserveHost" directive did not allow the web services to run from the application being run on the proxy server. They just hang with no error or response.

So in addition to this I added this line of code to the service class that the Flash Builder wizard created:

_serviceControl.开发者_Python百科endpointURI = "https://site.mycompany.com/MyService/MyService";

This fixed the problem but I'm not sure as to why this is a problem in the first place. The location in the WSDL is specified to be http://site.mycompany.com:80/MyService/MyService and the server should be processing that request and converting it to https.

Anyone have any ideas or examples of how to get a Flex app built in Flash Builder working with a reverse proxy in place?

Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜