Search found 9 matches

Go to advanced search

by Jonathan Clarke
Thu Dec 20, 2012 7:11 pm
Forum: Issues
Topic: Complex JSON Posts from Service
Replies: 9
Views: 627
 
Jump to post

Complex JSON Posts from Service

Just a general question, then. Given the automatic export process that Tiggzi has got, why aren't things like API handlers built into the back of the source, rather than in the HTML? For example, using Java Jet Templating, you'd be able to build in a bunch of Java classes that would do the HTTPHost ...
by Jonathan Clarke
Thu Dec 20, 2012 3:04 am
Forum: Issues
Topic: Complex JSON Posts from Service
Replies: 9
Views: 627
 
Jump to post

Complex JSON Posts from Service

I seem to having the same problem as this entry:

https://getsatisfaction.com/tiggzi/to...

The test screen works with a REST post, but not during service invocation under a button.

by Jonathan Clarke
Thu Dec 20, 2012 2:50 am
Forum: Issues
Topic: Complex JSON Posts from Service
Replies: 9
Views: 627
 
Jump to post

Complex JSON Posts from Service

Hi Max, Sorry, I can't release any of the URL information, because it's a client's domain. However, would this problem be because the post, even through the service, is surfacing as a javascript posting, and therefore trying to cross domains, which is forbidden? I'd like to achieve the same level of...
by Jonathan Clarke
Thu Dec 20, 2012 12:31 am
Forum: Issues
Topic: Complex JSON Posts from Service
Replies: 9
Views: 627
 
Jump to post

Complex JSON Posts from Service

Hi Max, Thanks for this. I tried your solution, but I still have some problems. I have created a service that posts a structure like the one above, only that I'm mapping {"id":"1","name":"MyName"} to a parameter of MyObject. This Post service works in the test...
by Jonathan Clarke
Tue Dec 18, 2012 3:24 am
Forum: Issues
Topic: Complex JSON Posts from Service
Replies: 9
Views: 627
 
Jump to post

Complex JSON Posts from Service

Dear All, I'm trying to post a simple example of a more complex(!) JSON structure, that I want to extend, once I've shown this working. My receiving service expects the MyObject portion to be there, but I can't see how I can do this embedding of the object attributes using the post service. {"M...
by Jonathan Clarke
Wed Oct 17, 2012 11:09 pm
Forum: Issues
Topic: Problems with REST call to localhost
Replies: 6
Views: 653
 
Jump to post

Problems with REST call to localhost

I understand why it's not working now. I didn't realise that the REST call would actually be done from a .js file! I thought Tiggzi was a "hybrid" mobile app builder, meaning that it would be possible to have some "behind-of-the-UI" functionality in there too. Is it not possible ...
by Jonathan Clarke
Wed Oct 17, 2012 10:41 pm
Forum: Issues
Topic: Problems with REST call to localhost
Replies: 6
Views: 653
 
Jump to post

Problems with REST call to localhost

I just use the standard Android "internal" IP address for localhost: 10.0.2.2. The emulator works just fine using that, to make all my REST calls to a webserver on the same machine. I think I'll try the eclipse source export approach first. Thanks for your help.

by Jonathan Clarke
Wed Oct 17, 2012 10:34 pm
Forum: Issues
Topic: Problems with REST call to localhost
Replies: 6
Views: 653
 
Jump to post

Problems with REST call to localhost

Thanks for the quick reply, but the reason why tried this route of testing is that I original built it as an apk, and loaded it up on an Android emulator. I have an equivalent handwritten Android app that uses the same REST call, with the appropriate 10.0.2.2. "local" IP, which works, but ...
by Jonathan Clarke
Wed Oct 17, 2012 10:24 pm
Forum: Issues
Topic: Problems with REST call to localhost
Replies: 6
Views: 653
 
Jump to post

Problems with REST call to localhost

Dear All, I've got a localhost webserver running, and I'm trying to get my Tiggzi app make a REST call to it. The same call works in both a browser and cURL, but not the Tiggzi app, either as a browser tab test or as an installed apk. Is this a known problem, or can anyone help me on this please? Th...

Go to advanced search