Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Use the document queue to inspect the XML data being sent to and from the Mobile devices. Also, error call stacks can be found here.


Table of Contents
maxLevel2
minLevel2

Use case

When development it can be very useful to inspect the XML to know:

...

  • Mobile always initiates the communication with a Request
  • BC Responds



How to inspect mobile communication

Go to the "Mobile Document Queue"-page.

...

Code Block
languagexml
themeEclipse
titleRequest example
<?xml version="1.0" encoding="utf-8"?>
<request name="PostAdhocRegistration" created="2020-02-14T15:24:24+01:00" xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Request">
  <requestData name="PostAdhocRegistration">
    <MyDate>14-02-2020</MyDate>
    <MyText>2</MyText>
    <MyDecimal>4</MyDecimal>
    <MyDateStep>14-02-2020</MyDateStep>
    <MyTextStep>2</MyTextStep>
    <MyDecimalStep>4</MyDecimalStep>
    <RegistrationType>MyUnplanned</RegistrationType>
  </requestData>
</request>

How to inspect errors Call Stack

Go to the "Mobile Document Queue"-page.

...