In my simplified Webservice below the + will not transfered to the WebServer:
In Start_Service
Dim Parameters as String
Parameters = "Test=OK/+"
Dim bParameters() As Byte
bParameters = conv.StringToBytes(Parameters,"UTF-8")
Dim in As InputStream
in.InitializeFromBytesArray(bParameters, 0, bParameters.Length)
request.InitializePost("http://10.0.0.12/PMDSService/Service.asmx/CheckParameter",in,bParameters.Length)
request.SetContentEncoding("UTF-8")
....
The result on the WebServer is "OK/ "
I didn´t find any way to transfer the + sign (in the real project parameters is part of an base64 encoded bitmap of app. 500 kB).
I also tried to use InitializePost2 -> same result.
In my test website fromC# I get all characters correctly.
Kind regards, Oskar
In Start_Service
Dim Parameters as String
Parameters = "Test=OK/+"
Dim bParameters() As Byte
bParameters = conv.StringToBytes(Parameters,"UTF-8")
Dim in As InputStream
in.InitializeFromBytesArray(bParameters, 0, bParameters.Length)
request.InitializePost("http://10.0.0.12/PMDSService/Service.asmx/CheckParameter",in,bParameters.Length)
request.SetContentEncoding("UTF-8")
....
The result on the WebServer is "OK/ "
I didn´t find any way to transfer the + sign (in the real project parameters is part of an base64 encoded bitmap of app. 500 kB).
I also tried to use InitializePost2 -> same result.
In my test website fromC# I get all characters correctly.
Kind regards, Oskar