Using this method the caller may request that a job which has previously been temporarily suspended (by a call to suspendJob
) is resumed.
Note: This is a request only as the service cannot guarantee to comply with this immediately. There may still be a cost incurred.
An entry of the following format will be added to the <history>
element returned from retrieveJobInformation
:
<event stage="job" status="resumed" timeStamp="2005-01-01T12:00:00.000Z"/>
<xsd:element name="resumeJobRequest"> <xsd:complexType> <xsd:sequence> <xsd:element ref="types:ticket"/> </xsd:sequence> </xsd:complexType> </xsd:element>
<xsd:element name="resumeJobResponse"> <xsd:complexType> <xsd:sequence> <xsd:element ref="types:ticket"/> <xsd:element ref="types:succeeded"/> <xsd:element ref="types:info"/> </xsd:sequence> </xsd:complexType> </xsd:element>
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <resumeJobRequest xmlns="urn:oasis:names:tc:wstrans:v1:types"> <ticket jobId="job-001" projectId="proj-002" userId="user-003"/> </resumeJobRequest> </soapenv:Body> </soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <resumeJobResponse xmlns="urn:oasis:names:tc:wstrans:v1:types"> <ticket jobId="job-001" projectId="proj-002" userId="user-003"/> <succeeded>1</succeeded> <info>Resumption succeeded</info> </resumeJobResponse> </soapenv:Body> </soapenv:Envelope>