HI,
In the client application, I use the following code to upload the file to NetTalk SOAP server.
UPXM:Role = 'upload'
UPXM:FileName = Loc:UploadFile
UPXM:Number = 1
st.loadfile(Loc:UploadFile)
st.base64NoWrap = true
st.Base64Encode()
st.ToBlob(UPXM:SaveFile)
ADD(UploadXML)
xml.save(UpLoadXml)
PostString = xml.xmldata
do SendPost
* The "UploadXML" file is a inmemory file driver
If the file is not attach, the xml tree will show correctly and can pass to the SOAP server. But if attach with the file, the xml tree will broken after the blob file. Which missing the following data,
</SAVEFILE>
</group>
</data>
</soap:Body>
</soap:Envelope>
Did I missing something? or this is not the right method to upload file to SOAP server.
Regards
Terry Ho
The following is my working environment :
clarion 9 (9.0.10376) with NetTalk 7.31 and xfile 1.93