I've made an IPhone App that communicates to a service by calling a webservice and exchanging data as xml. For this to take place, there should be WIFI access.
What I'm trying to do now is to do the same but in places without WIFI access. The only way I can think of doing this would be through the USB cable (dock cable?). Unfortunately, no amount of searching online has revealed a way to do this. Is it even possible? Does anyone know how to do this? Some pointers on at least where to look for this information would be nice
Syncing through the USB cable is not possible AFAIK. Any syncing you do has to be over the network.
This is possible. Cultured Code does syncing over Wifi, and on their wiki, they've found that you can do the same thing over USB and Bluetooth (provided the carrier supports tethering, cough cough AT&T cough cough).
So basically, as far as I know, if you do standard Bonjour syncing over a computer-to-computer network, it'll work over USB (and even Bluetooth) if the iPhone has tethering capabilities.
The cable is simply USB, and you can certainly talk to a computer through this protocol. There is a developer program for this as well.
http://developer.apple.com/iphone/program/accessories/
-t