0 Replies Latest reply on May 7, 2011 12:06 PM by dsdsdsdsd

    problem connecting to gateway.php

    dsdsdsdsd Level 1



      I have created a new flex project, validated the webroot, and Generated Sample Php Service ( "connect to database" worked and the wizard showed my table columns ).


      when I call mytableService.getAllHit_counter() I get an error:

      ArgumentError: Error #2004: One of the parameters is invalid.  url: 'http:gateway.php'


      Notice the 'http:gateway.php' ... where is the //localhost/project_directory/bin-debug/


      if I go into _Super_MytableService.as  I find: _serviceControl.endpoint = "gateway.php"


      but if I change it to: _serviceControl.endpoint = "//localhost/project_directory/bin-debug/gateway.php" it works.


      however, something tells me that this should have been config'd correctly during setup.


      any thoughts please.