I’m building a hybrid mobile application (PhoneGap+JQM). While testing in the Android emulator, I’m observing what must be a cross-domain POST issue against a SOAP web service. I can do a GET for the WSDL (thus proving I can indeed reach the domain in question). But if I change my request to a POST with a SOAP payload, I get an error. (LogCat shows “Internal Server Error” in the error callback function.)
I’ve seen posts and documentation on how cross-domain POSTs aren’t prohibited using PhoneGap, but in my emulator it’s not being allowed. Any thoughts on what I may be missing?
See my comment above. Hopefully others will learn from this if they get unknown web-service errors. (always use SoapUI to verify correct content, and use a sniffer to double-check your own POST)