cancelUpgrade
The cancelUpgrade method cancels an upgrade or COP file installation previously started via the startUpgrade method. This call should always be made asynchronously.
-
- Use UpgradeStageService to check the status of the upgrade.
Request Parameters
None
Response Parameters (return element children)
result
A result code such as internal.request.complete that describes the result. See Error Codes in the Developer's Guide for details.
upgradeCancelled
Boolean - True if upgrade has been cancelled, false if not.
Example Request and Response
Request
Response
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Action>urn:cancelUpgrade </wsa:Action> <wsa:MessageID>uuid:e08a0e1f-1a36-414c-b8e5-4cbff27c036a</wsa:MessageID> <wsa:ReplyTo> <wsa:Address>http://server/servlet/WSACallBackHandler</wsa:Address> <wsa:PortType xmlns:ns1="http://example.org">ns1:LocalPart</wsa:PortType> </wsa:ReplyTo> <wsa:To>https://server/platform-services/services/ CancelUpgradeService.CancelUpgradeServiceHttpSoap11Endpoint</wsa:To> </SOAP-ENV:Header> <SOAP-ENV:Body> <cancelUpgrade xmlns="http://server_url"/> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:To>http://server/servlet/WSACallBackHandler</wsa:To> <wsa:MessageID>urn:uuid:FE6356947E20FE3BD91297893141096</wsa:MessageID> <wsa:Action>urn:cancelUpgradeResponse</wsa:Action> <wsa:RelatesTo>uuid:45c4d6e3-6c04-4115-8fcc-4bc8fe90940b</wsa:RelatesTo> </soapenv:Header> <soapenv:Body> <ns:cancelUpgradeResponse xmlns:ns="http://server_url"> <ns:return xmlns:ax251="http://server_url/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ax252="server_url/xsd" xsi:type="ax251:CancelUpgradeResponse"> <ax251:result>internal.request.complete</ax251:result> <ax251:upgradeCancelled>true</ax251:upgradeCancelled> </ns:return> </ns:cancelUpgradeResponse> </soapenv:Body> </soapenv:Envelope>