Just in case others are facing a similar issue: -
Just struggled with calling a SOAP web service that returned Base64 data in a string (this was the contents of a file held in a database). It doesn't work! Case 34352.
So instead I used an HTTPSocket: -
Dim socket As New HTTPSocket
Dim SOAPCall As String
Dim SOAPResponse As String
Dim XML As New XmlDocument
Dim Data As String
' This generates the SOAP call. I can share this routine if you are interested.
SOAPCall = GenerateSOAPCall
URL = "http://dell-laptop/tldisubscriber/dlsubscriber.asmx"
socket.SetRequestContent(SOAPCall, "text/xml; charset=utf-8")
SOAPResponse = socket.Post(URL, 30)
' This was a test app so not the best way of reaching the data! But if you now save "Data" to a file, the file is correctly created!
Data = DecodeBase64(XML.FirstChild.FirstChild.FirstChild.FirstChild.Child(1).FirstChild.Value)