开发者

Flex url path question

Currently moving a project Ive been working on to a dev server but for some reason its still looking at localhost. I've checked firebug in firefox and also in chrome developer tools and they both show the app looking at localhost. On the odd side I'm running the network monitor in Flash Builder 4.5 and it is displaying the calls going out to the correct dev path. I've even gone the route of displaying the WSDL path in a text field开发者_如何学JAVA and it does display the correct dev path.

Code block..

  protected function preInitializeService():void
{
    _serviceControl.service = "ASCC";
    _serviceControl.port = "ASCCSoap";
    wsdl = "http://dev.mysite.com/services/ascc.asmx?WSDL";
    model_internal::loadWSDLIfNecessary();
}


Are you using an AMF connection that references services-config.xml? Check that your services-config.xml channel endpoint is pointing to your correct server url and not to localhost.


So I finally got this worked out. First, thanks to both of you for helping on this. The error was actually being caused by the network monitor inside of flash builder. I noticed something odd when I turned of IIS and I was still able to run my application. After some digging it turns out that the localhost my swf kept looking for was actually flash builder. Once I disabled network monitor, did a clean, and compiled the swf it worked like a charm!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜