Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Angel Franch  
#1 Posted : Thursday, January 4, 2018 5:54:09 PM(UTC)
Angel Franch

Rank: Newbie

Groups: Registered
Joined: 1/4/2018(UTC)
Posts: 4
Spain
Location: Madrid

I have a simple REST call working in Designer. Simple = no parameters, no auth, ... If success I put result in a box ($MT_HTTPExecute_Result//nextval -> node)
Well. I run from Designer and it works.
From my Android device it doesn't.
No log entries in my web server.
It was working in the past.
I tried to manage by uninstalling and re-installing the app ....
Can anyone help me?
File Attachment(s):
test.mtd (5kb) downloaded 20 time(s).
bbv  
#2 Posted : Thursday, January 4, 2018 8:02:28 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 345

Was thanked: 54 time(s) in 54 post(s)
Can you share with us your sample file, otherwise no chance to help
Angel Franch  
#3 Posted : Friday, January 5, 2018 12:09:09 PM(UTC)
Angel Franch

Rank: Newbie

Groups: Registered
Joined: 1/4/2018(UTC)
Posts: 4
Spain
Location: Madrid

Originally Posted by: bbv Go to Quoted Post
Can you share with us your sample file, otherwise no chance to help


Test solution attached.
Page load action calls REST service and gets a number.
bbv  
#4 Posted : Friday, January 5, 2018 12:55:17 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 345

Was thanked: 54 time(s) in 54 post(s)
Just tried your app with an Android 4.0 client and MobileTogether Server 4.0

Everything works just as expected. What version of the server do you use? You have to understand that the server makes the REST call and sends the result to client.
Angel Franch  
#5 Posted : Friday, January 5, 2018 1:47:15 PM(UTC)
Angel Franch

Rank: Newbie

Groups: Registered
Joined: 1/4/2018(UTC)
Posts: 4
Spain
Location: Madrid

Originally Posted by: bbv Go to Quoted Post
Just tried your app with an Android 4.0 client and MobileTogether Server 4.0

Everything works just as expected. What version of the server do you use? You have to understand that the server makes the REST call and sends the result to client.


Server is 4.0 on x64 Windows Server 2012 R2
Mobile is Samsung S6 with Android 7.0
bbv  
#6 Posted : Friday, January 5, 2018 7:07:03 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 345

Was thanked: 54 time(s) in 54 post(s)
1. Did you also install most recent MobileTogether client on your Samsung phone?
2. Are you sure that your server is not prohibited anyhow from accessing REST service?
3. What happens if you simulate execution in your Designer using your server. There is this command "Use Server for Workflow Simulation" which has a Ctrl-F5 as shortcut. What happens then?

If none of my questions above help, is there any chance for us or for Altova Support to reach your server and try execution. Otherwise we can only continue guessing, because as I said - your app works just fine for me...
Angel Franch  
#7 Posted : Monday, January 8, 2018 12:32:30 PM(UTC)
Angel Franch

Rank: Newbie

Groups: Registered
Joined: 1/4/2018(UTC)
Posts: 4
Spain
Location: Madrid

Originally Posted by: bbv Go to Quoted Post
1. Did you also install most recent MobileTogether client on your Samsung phone?
2. Are you sure that your server is not prohibited anyhow from accessing REST service?
3. What happens if you simulate execution in your Designer using your server. There is this command "Use Server for Workflow Simulation" which has a Ctrl-F5 as shortcut. What happens then?

If none of my questions above help, is there any chance for us or for Altova Support to reach your server and try execution. Otherwise we can only continue guessing, because as I said - your app works just fine for me...


#2 was the problem. Thanks.
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.