isUpgradeValid
The isUpgradeValid method determines if the specified upgrade file is valid.
Request Parameters
arg0
The upgrade file name
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.
upgradeValid
Boolean - true if specified file is valid, false otherwise
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:isUpgradeValid</wsa:Action> <wsa:MessageID>uuid:1bbffcbe-e779-4277-9cfc-db285fc52a1f</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/UpgradeValidService .UpgradeValidServiceHttpSoap11Endpoint/</wsa:To> </SOAP-ENV:Header> <SOAP-ENV:Body> <isUpgradeValid xmlns="server_url"> <args0>UCSInstall_UCOS_8.6.0.98000-9020.iso</args0> </isUpgradeValid> </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:A42DDA286381C7F5DF1300917556810</wsa:MessageID> <wsa:Action>urn:isUpgradeValidResponse</wsa:Action> <wsa:RelatesTo>uuid:1431a298-33c5-4885-88e0-a35e9d2d98e3</wsa:RelatesTo> </soapenv:Header> <soapenv:Body> <ns:isUpgradeValidResponse xmlns:ns="server_url"> <ns:return xmlns:ax238="server_url/xsd" xmlns:ax237="server_url/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax237:UpgradeValidResponse"> <ax237:result>internal.request.complete</ax237:result> <ax237:upgradeValid>true</ax237:upgradeValid> </ns:return> </ns:isUpgradeValidResponse> </soapenv:Body> </soapenv:Envelope>