Gail
Posts: 0
Joined: Tue Mar 06, 2012 12:34 am

Error connecting to xml file in a REST service

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Error connecting to xml file in a REST service

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...

Gail
Posts: 0
Joined: Tue Mar 06, 2012 12:34 am

Error connecting to xml file in a REST service

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Error connecting to xml file in a REST service

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:.

Gail
Posts: 0
Joined: Tue Mar 06, 2012 12:34 am

Error connecting to xml file in a REST service

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.

Return to “Issues”