I try to send a string using the code below but it does not work :
Code: Select all
Call SalFileOpen( hFile, "close_16.bmp", OF_Read | OF_Binary )
Call VisFileSeek( hFile, 0, SEEK_End )
Set nPicByteSize = VisFileTell( hFile )
Call VisFileSeek( hFile, 0, SEEK_Begin)
Call SalFileRead( hFile, sPic, nPicByteSize )
Call VisFileClose( hFile )
Set sXMLParameterBody = '<TestGetPicString xmlns="http://tempuri.org/">
<Pic>' || sPic || '</Pic></TestGetPicString>'
sXMLParameterBody = '<TestGetPicString xmlns="http://tempuri.org/">
<Pic>䵂̶"'
This part '</Pic></TestGetPicString>' is missing and I cannot call the webservice.
I cannot find other solutions, any thoughts?