If I understand your question correctly - you are trying to connect to a remote server to use its data during development. What type of data are you working with and how do you connect to it?
For example if you are using php/mySQL on your remote server and you are using data services and a callresponder, you can put in the endpoint in your service (see below example). *This might change in newer revisions.
<users:Users id="users" destination="users" endpoint="http://www.yourdomain.com/gateway.php"
fault="Alert.show(event.fault.faultString)" showBusyCursor="true" source="users"/>
First of all thanks for the answer.
What I wanted to mean is that I have saw a lot of tuts about using data services having mysql and php services in localhost.
This is not what I want, I want during development work on remote host too. I like to create my data services directly on remote server, etc... Because I don't wnat to come across surprises when deploying local code/services on remote server.
Reading some tuts, I have seen people saying that if you copy local services, etc... keeping the same folder structure on remote server everything will work ok, but I prefer to work directly against remote server. Create Data services on remote server and allways quering the service in the remote server. Don't wnat to use localhost for anything.
I hope now I have been more clearer.
Thanks in advance,
1 person found this helpful
I now understand what your trying to accomplish. Sorry if I'm repeating myself, but this is what I do in that situation (I found this to be the easiest solution).
In development when I want to use my php/sql on the production(remote) server, I start off with a copy of my prod. servers php (I do not use FB's generated sample php code) and sql (at least the sql's database structure and a little data) local so that when I create a new php connection FB sets up everything for me. Then when I want to use my production servers php/sql in development I set my services endpoint to that server in my app/module/component.
Thanks for the tip.