1
Reply

Restful WCF Service with 2 Parameters

ashutosh kumar gupta

ashutosh kumar gupta

May 5 2016 7:24 AM
326
I have created a restful WCF Service with parameters of type Stream and integer. But when executing it it is showing the error that we can not use any other parameter with parameter as Stream type. How we can do this. The signature of the method is as.
 
[OperationContract(Name = "CustomerBillingDetail")]
[WebInvoke(Method = "POST",
UriTemplate = "/CustomerBillingDetail/BillDetails")]
string CustomerBillingDetail(Stream xmlStream, string ClientId);
 

Answers (1)