I am consuming a web service that answers the xml:
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns0:getStatusCdrResponse xmlns:ns0="http://service.sunat.gob.pe">
<statusCdr>
<content>UEsDBBQACAgIABqiRFUAAAAAAAAAAAAAAAAiAAAAUi0yMDU1NDA2MDQ5OS0wMS1GMDA1LTAwMDAwMDc2LnhtbLVZW3OqShZ+n19h5TxmJ1wU1FSSqW5uooByVah5QUBEuQko6K+fRqMx+2TX7D01kzykWevrdfnWopvuvP6zSeLOISjKKEvfHohn/KETpF7mR2n49mAa/NPg4Z/v/3h1ixeQ53HkuRUCakGZZ2kZdNDktHx72BfpS+aWUfmSuklQvpR54EWrD/DLfhm/lN46SNyXpvRfxPSQRV7wRD5cpr+4xR9a+CaST2tBU/2hOSZLkizlmipIWxbQIzIZpFX5adRbev+VUYjg3rcG3f/OIAjDIgjdKvjOqI9Ksa6q/AXD6rp+rrvPWRFiJI7jGD7EEMYvo/CvK7rM3PyGvzgqn5GqlZ8ntgMsSA9BnOUBdnOCnN+mBU0ZV2dwKy6f3NR/qiKUy83JNc9yn7rVL/PMg2J/n6zeor/Llbgabn6VK4EtZEk/m7pikZWgyb8JGin2sVs8IW0RlG3xy4f3V9RBLyaUbg1RXtv8G91Fctc7KRpV7696FKIM9sXtFfmNuqDXrJ0W+GK6yt7/0em8Mm6apYinODqduZKDap35HRCHWRFV6+SXFBB4axbl5T15RC/9a47QbQO1HD5gZ9u3CH/bKN67xvqUZEXwV1G6T+XapQjyw6QWrIICrR5Bx9TEli4kRGKjcNNylRVJeRHci/6j2y8UXZvRfyqv0V9c/6HR3yEIGcR+jvyVjcKgrH6TsS+hI6KIm+GLGcuN98H7kgXDtOqDcUwMvYmaaZN5QcuczSX22yt2j2wpxm4co27BvrbLfVEvM2ZA2BNq1e2RiafCrWM6dEly41jf4956BwbxspGd46nXT214MgqGSw1Lb4zFptlPpLm86J9O/e4qHhA9vFhuhHT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bic4C3zk5E51d9RD4+8ve7C/3wr9TVS+v3pLrxVZl8tWkX0nn/FX7G/SM47Zl1WWfFz7ICFxhf6sOKNbWzhJEjhB9obUoE9+gG/6lnO2bf0W9kTgT3jvA3HTfAKNKGmBL0Tvherewc7yM+x66/qtyS/KL/CbYfpm+IvqFdXr5Y7ujxRaCdrggHGX1A2YFceZW1THi+w8FH1Uldv94h1DRBf9kkOK+jSE/XrWVXFp+3bCeXQXyUWD/YTEfhUc+qyNKje+JQiqyvXWybmFWn3bK0Xqxp9XPJeW0cT3v37ioJVdHH0zCftPzrCfeW4fg9QPiv8Pldi3DrTAC6LDH/ikqB5O473h8Ld9fuOCzbx9y8K18a6x3J7OTfnBJXLB4zj1hJ9/+vS1Zz/VX/qbyfzgHf/a2GfZGcUGpVdE+Tk8ye3wrofYdzspCqfIOl/8/GiXozLys47rBXnl+u7F6L2Ja4b3aXwm96WDvk/jxt93sy7kRXmE5L9ZIBrtaTQ+GAy7OIX/SYm+eMG+LxL2/T+g3v8NUEsHCAtcqf2ODQAAwBoAAFBLAQIUABQACAgIABqiRFULXKn9jg0AAMAaAAAiAAAAAAAAAAAAAAAAAAAAAABSLTIwNTU0MDYwNDk5LTAxLUYwMDUtMDAwMDAwNzYueG1sUEsFBgAAAAABAAEAUAAAAN4NAAAAAA==</content>
<statusCode>0004</statusCode>
<statusMessage>La constancia existe</statusMessage>
</statusCdr>
</ns0:getStatusCdrResponse>
</S:Body>
</S:Envelope>
The <content>
is supposed to be a ZIP file, unfortunately I have no idea how to convert those characters to a ZIP, any suggestions on windev options I can use.
Use WINDEV 21.
Greetings.
Try to decode "content" to file.
bufZip is buffer = Decode(content,encodeBASE64)
fsavebuffer("c:\your folder\file.zip",bufZip)