4 Replies Latest reply on Apr 6, 2008 2:18 PM by logindude

    webservice works locally but not public

    logindude
      I have read a lot about this on the net about crossdomain.xml and how to make it work with webservices. But still have have some problem with it.
      I have a domainname i'm using and my router is forwarding the traffic from that domain name to my local server 192.168.1.3 which is my local server ip.
      From my local computer the WS works great, but if i try from a remote location it does'nt.. at first i got the security access remote url error msg. but i guess the crossdomain.xml fixed it.
      So right now it does'nt return anything when trying from a remote location.
      If i use firefox, the statusbar states it's connected to 192.168.1.3. that's it. i wounder why it does not say it's connected to the domainname i defined in the mx:webservice.
      btw i added this in my crossdomain file:
      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <cross-domain-policy>
      <allow-access-from domain="*" to-ports="*" />
      </cross-domain-policy>

      I use fault="Alert.show(event.fault.faultString) in mx:operation but that does not return anything.
      so i need a hint to what to do, how to trace the error.