MHO
Sep 18, 2014Nimbostratus
Base64 decoding
Hello,
is it possible to decode this type of a soap post request on LTM. Section base64Content needs to be decoded. Any idea for an iRule?
POST /upload/documents HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 623
Host: avtestsoap
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:doc="http://xxxxxx/documents"
soapenv:Header/
soapenv:Body
doc:storeDocumentRequest
doc:nameEicar/doc:name
doc:base64ContentWDVPIVAlQEFQWzRcUFpYNTQoUF4pN0NDKTd9JEVJQ0FSLVNUQU5EQVJELUFOVElWSVJVUy1URVNULUZJTEUhJEgrSCo=/doc:base64Content
!--Optional:--
doc:mimeTypetext/xml/doc:mimeType
!--Optional:--
doc:descriptionVirus Sig/doc:description
/doc:storeDocumentRequest
/soapenv:Body
/soapenv:Envelope