Skip to Content
0
Former Member
Feb 11, 2016 at 10:34 AM

What's the syntax for getMessageList of the AdapterMessageMonitoringVi API?

656 Views

Hi,

I recently started to work with the AdapterMessageMonitoringVi API, and there is a function getMessageList. I am using SOAPui to test the API, with the following request for getMessageList:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:AdapterMessageMonitoringVi" xmlns:urn1="urn:com.sap.aii.mdt.server.adapterframework.ws" xmlns:urn2="urn:com.sap.aii.mdt.api.data" xmlns:lang="urn:java/lang">

<soapenv:Header/>

<soapenv:Body>

<urn:getMessageList>

<urn:filter>

<urn1:archive></urn1:archive>

<urn1:dateType></urn1:dateType>

<urn1:nodeId></urn1:nodeId>

<urn1:onlyFaultyMessages></urn1:onlyFaultyMessages>

<urn1:retries></urn1:retries>

<urn1:retryInterval></urn1:retryInterval>

<urn1:timesFailed></urn1:timesFailed>

<urn1:wasEdited></urn1:wasEdited>

<urn1:fromTime>2016-02-11T09:00:00.000+01:00</urn1:fromTime>

<urn1:toTime>2016-02-11T09:59:59.604+01:00</urn1:toTime>

</urn:filter>

<!--Optional:-->

<urn:maxMessages>5</urn:maxMessages>

</urn:getMessageList>

</soapenv:Body>

</soapenv:Envelope>

As you can see, I want the messages between 9 and 10, but instead it's giving me all the messages, up to the amount of max messages I specify of course. I don't understand why I am getting all messages. Maybe the input time is not in the correct format?

Any ideas?