SFRMMessageStatusQueryService¶
-
public class
SFRMMessageStatusQueryService
extends WebServicesAdaptor¶ The
SFRMMessageStatusQueryService
is a SOAP-based Web services for querying the current status of particular SFRM message. The web services schema is defined here: Input XML tag:<messageId> messageId</messageId>
Output XML tag:
<messageInfo> <status> The current status of message </status> <statusDescription> The current status description of message </statusDescription> <numberOfSegments> Maximum number of segments </numberOfSegments> <numberOfProcessedSegments> Number of processed segments </numberOfProcessedSegments> <lastUpdatedTime> The last updated timestamp </lastUpdatedTime> </messageInfo>
There are some situation that the returned value may differ than your expectation and they are listed below:
- When the SFRM message is in status of handshaking (HS), the number of segments is
- maximum integer. This is because the number of segments can not be determined at that moment.
- When the SFRM message can’t be found by the web service parameter. The returned tuple is [“N/A”,””, “2147483647”,”0”,”current time].
Creation Date: 26/4/2007
Author: Twinsen Tsang
Methods¶
serviceRequested¶
-
public void
serviceRequested
(WebServicesRequest request, WebServicesResponse response)¶ Process the web services call by the client.
Parameters: - request – The SOAP-based Web services request.
- response – The SOAP-based Web services response.
Throws: