Page 1 of 1

Error connecting to xml file in a REST service

Posted: Mon Apr 16, 2012 10:46 pm
by Gail

I'm using the App Builder, have create a REST service and entered a url to an xml file I have stored on my shared web hosting account.

When I run the Test Connection in the Request Parmeters screen I get the following errror:

sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection

I have also tried putting the xml file in my public_ftp folder instead of the public_html folder on the shared hosting server, but that doesn't work either.

I have sent a project link/invite to max at Exadel.


Error connecting to xml file in a REST service

Posted: Tue Apr 17, 2012 12:39 am
by maxkatz

Please share the app for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a (you only shared the app link): http://help.gotiggr.com/documentation...


Error connecting to xml file in a REST service

Posted: Tue Apr 17, 2012 2:57 am
by Gail

Ok, I have shared for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a.

The service I'm referring to is called PocketQuery. What I really want to do is to read my own xml file for use in my mobile app.

I've also tried uploading the xml file using Parse.com, but I can't get that to work either. The service I created for that is called UploadPQFile


Error connecting to xml file in a REST service

Posted: Tue Apr 17, 2012 5:29 am
by maxkatz

I couldn't test it as I don't have the username/password. Can you send it to a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a?

Even with username/password, I'm not sure it will work. You are using ftp: protocol, it has to be http:.


Error connecting to xml file in a REST service

Posted: Wed Apr 25, 2012 2:48 am
by Gail

I actually tried it with http first.

I've figured out the problem though. The problem with was the security on the web server/account where I had dropped the xml file. I moved the xml file to a different server (without the security) and everything works fine.