...
...
Overview
Table of Contents | ||||
---|---|---|---|---|
|
Use case
A developer can:
- Inspect XML values and know whether AL code has taken effect
- Reprocess failed mobile documents and initiate debugging
- Inspect Error Call Stacks
Request and Response
When the mobile device communicates with Business Central, an XML document is sent to the system.
The XML contains the required instructions for Business Central to perform
- It is always the Mobile device that initiates the communication with a Request
- Business Central generates a Response
Viewing XML Request and Response
Open the Mobile Document Queue List.
Two large text fields display the current entry's Request and Response XML.
You can search the data using the browser "Find function", CTRL+F.
Download the XML
...
...
Example of Request XML
...
...
...
...
...
...
...
View Error Call Stack and Debug
See Debugging.
When a request ends in Status: Error, it will remain so until it succeeds. Subsequent attempts from mobile will only attempt to re-process this original request.
You can use this to inspect the Call stack and initiate debugging.
Go to the "Mobile Document Queue"-page.
- Select the latest Document with Status = Error
- Select Document > Show Response XML
or - Select Process > Process Document
You can also re-run the process and get the error on the screen
...