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
wsbwg  
#1 Posted : Thursday, March 30, 2017 10:24:11 AM(UTC)
wsbwg

Rank: Newbie

Groups: Registered
Joined: 3/30/2017(UTC)
Posts: 8
Netherlands

Hi, we recently downloaded MobileTogether and are evaluating it for use. The goal is to create an app which communicates with a wsdl SOAP service hosted by Microsoft NAV. We ran into an issue related to saving/loading the project file.

I create a simple project with 1 button. When clicked a SOAP request is fired and the result is shown in a MSGbox. This works perfectly well, when I do a test run (F5) the request succeeds and the correct message is shown.

I then proceed to save the project to disk and close the designer tool. Then when I reopen the project and do a test run the request fails. I get the following message:
FatalError: I/O operation on file 'http://12r2-sql14-01.int.vandelande.com:7047/DynamicsNAV/WS/VDL101/Codeunit/KistenRegistratieV1' failed.
Details:
I/O Error 500: HTTP response code said error

(Keep in mind I did not get a 500 when I ran the request before saving)

When I go into the button's actions again and re-configure the SOAP request (enter all settings again) and then do a test run the request succeeds again. When I then save and reopen the project it breaks again.

Conclusion: somehow SOAP requests aren't saved properly, this makes the tool unusable for our purposes. I hope you can resolve this.

The API used for communication isn't public, I fear this will make debugging harder for you. I include the project file (.mtd) and service definition (.wsdl) as attachments.

EDIT: This isn't true for all SOAP calls, I tried another function (GetToolBinInfo) and this time the problem did not occur.
File Attachment(s):
TestSoap.mtd (6kb) downloaded 45 time(s).
KistenRegistratieV1.xml.wsdl (36kb) downloaded 46 time(s).
wsbwg  
#2 Posted : Tuesday, April 4, 2017 7:56:57 AM(UTC)
wsbwg

Rank: Newbie

Groups: Registered
Joined: 3/30/2017(UTC)
Posts: 8
Netherlands

Any progres on fixing or even reproducing this bug? I feel like I've tried everything now and I can't get it to work.
AFC  
#3 Posted : Tuesday, April 4, 2017 8:40:24 AM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 140
Austria

Was thanked: 18 time(s) in 18 post(s)
Hi wsbwg!

No, we could not reproduce this issue here.

HTTP error 500 means "Internal Server Error", so it's hard to say what's wrong with your server or which different request it expects.

Maybe you can look into the server log files to get more information?

As a second step, it would be great if we could compare the sent network data before and after saving the design file.
Maybe you can log this on your server? Or use a tool to capture the network traffic (e.g. Wireshark)?

You can send the files directly to our Support team in case you do not want to post it here.

Sorry for the inconvenience,
AFC
wsbwg  
#4 Posted : Tuesday, April 4, 2017 3:24:49 PM(UTC)
wsbwg

Rank: Newbie

Groups: Registered
Joined: 3/30/2017(UTC)
Posts: 8
Netherlands

Hey AFC,

Thanks for your suggestion, I have inspected the requests with Wireshark. The request before saving doesn't seem to differ from the one sent after saving and reopening the project. The only thing that changes is the response, which is weird since given the same request you expect to receive the same response.

So for now I am unsure what is causing this issue, AMT seems to be sending the correct requests. I cannot, at the moment, access the server for logs or diagnostics.

You can consider this matter closed for now, thanks for your input. I might get back in touch again when I have more information.

Kind regards,
wsbwg
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.