I downloaded HTTP REST BROKER from http://community.k2.com/t5/K2-blackpearl/HTTP-Rest-Broker/bc-p/99556#M822 , Then I registered service instance and created smartobject.I use method 'Http request' to call rest service.Sometime,I can call webservice without error,But sometime I can't call webservice and got message error " '.', hexadecimal value 0x00, is an invalid character ".Moreover, In success case and error case is same data. How should I do?
I believe hexadecimal value (0x00) is an ASCII NUL character; so it is likely that some of the data contains this character while others do not.
It is likely similar to the post below:
"Basically what happened is that a null character was pasted into a SQL Server database via an Access front end. When my asp.net app was pulling the data via a SOAP data layer, the null character can not be used in a XML document with UTF encoding. Which is the transport method of this particualr service. So the quick hack was to strip out the null character after the data pull but before the soap transfer back to the client."
http://www.pressthered.com/working_with_null_characters_in_c_net/
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.