I am working in a WCF rest service part for IPhone application. One of my method is as follows.
[OperationContract]
[WebInvoke(Method="POST",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "Update/{tokenId}/{title}")]
int Update (string tokenId, string title);
My problem is when we pass special characters in the “title” parameter , this method has not been calling. I think it is related to encoding. How can we implement encoding for this? If possible please provide the encode and decode code for both IPhone and WCF section. Thanks in advance.