Utilice este método para suprimir los archivos adjuntos que se cargaron mediante el método executeStartRequest/ExecuteProcess.
<tns:deleteAttachments xmlns:tns="http://www.ca.com/itpam"> <tns:auth> <!--xsd:Choice Type--> <tns:token>token__</tns:token> <tns:user>Joe</tns:user> <tns:password>thisismypassword</tns:password> <tns:auth> <tns:attachments> <tns:attachmentId>111</tns:attachmentId> </tns:attachments> </tns:deleteAttachments>
<?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/> <SOAP-ENV:Body> <tns:deleteAttachments xmlns:tns="http://www.ca.com/itpam"> <tns:auth> <tns:user>Joe</tns:user> <tns:password>thisismypassword</tns:password> <tns:auth> <tns:attachments> <tns:attachmentId>111</tns:attachmentId> </tns:attachments> </tns:deleteAttachments> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <deleteAttachmentsResponse xmlns="http://www.ca.com/itpam"> <successMessage>Se han suprimido correctamente los archivos adjuntos.</successMessage> </deleteAttachmentsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
La etiqueta <successMessage> muestra los resultados de la solicitud.
|
Copyright © 2013 CA.
Todos los derechos reservados.
|
|