Hi,
I am fairly new to Fiddler and I am stuck in a issue.
I have a WCF service which has a Upload File Method which takes a Custom object
[DataContract]
public class UploadFile
{
[DataMember]
public Stream fileStream { get; set; }
[DataMember]
public string serverName { get; set; }
[DataMember]
public string accessPoint { get; set; }
[DataMember]
public string resourcePath { get; set; }
}
and this is the WCF method Definition
[WebInvoke(ResponseFormat = WebMessageFormat.Json, Method = "POST", UriTemplate = "FileName", BodyStyle = WebMessageBodyStyle.Bare)]
[OperationContract]
[FaultContract(typeof(Errors))]
void FileUpload(UploadFile uploadFile);
How do i test this in fiddler?
Thanks
I am fairly new to Fiddler and I am stuck in a issue.
I have a WCF service which has a Upload File Method which takes a Custom object
[DataContract]
public class UploadFile
{
[DataMember]
public Stream fileStream { get; set; }
[DataMember]
public string serverName { get; set; }
[DataMember]
public string accessPoint { get; set; }
[DataMember]
public string resourcePath { get; set; }
}
and this is the WCF method Definition
[WebInvoke(ResponseFormat = WebMessageFormat.Json, Method = "POST", UriTemplate = "FileName", BodyStyle = WebMessageBodyStyle.Bare)]
[OperationContract]
[FaultContract(typeof(Errors))]
void FileUpload(UploadFile uploadFile);
How do i test this in fiddler?
Thanks