Following is interface definition.
[OperationContract]
[WebGet(UriTemplate = "FacebookData/?accessToken={accessToken}")]
OperationResult<FacebookData> GetFacebookData(string accessToken);
The return type is OperationResult<FacebookData>
, it is a generic type
Then i will get xml like following...
OperationResultOfFacebookDataNcCATIYq xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
How can I remove namespace and rename xml element as "OperationResult"
By the way, I already set Namespace is empty
[DataContract(Namespace = "")]
public class OperationResult<T>
but I think generic type will generate class by every T.