How to Pass dynamic parameters to a WCF Service ? Developer Network Developer Network Developer Network ProfileText ProfileText :CreateViewProfileText: Sign in Subscriber portal Get tools Downloads Visual Studio SDKs Trial software Free downloads Office resources Programs Subscriptions Overview Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Samples Retired content We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: How to Pass dynamic parameters to a WCF Service ? Archived Forums 441-460 > WCF, ASMX and other Web Services Question 0 Sign in to vote User-1634172812 posted Hi, I am writing a WCF Service (REST) and about to Pass the Parameters to the service dynamically. example: Here, The Passanges details will save in Database based on the input selection. If the Adult Count is 2, the Value of two Adults should store in Database by the Service. Value of Adult should pass like this,(Example) Adult1: Title:Mr Firstname: Thiri Lastname:Sangu, Adult2:Title:Mr Firstname:Sontu LastnameLSandeep The Same Parameter will apply for Child and Infant too. Please, Help me to Proceed further. 1. What method should i use to call the service ?(POST or GET) 2. How to pass of group of values(Adult count is 2) to a Service ? Thanks Friday, March 29, 2013 2:35 AM Answers 0 Sign in to vote User-1658256289 posted Hi, if you want to post data to rest service dynamically, you can consider creating Dynamic Data Entry User Interfaces for the client. I do not come out a better way until now. Creating Dynamic Data Entry User Interfaces: http://msdn.microsoft.com/en-us/library/aa479330.aspx Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM Tuesday, April 2, 2013 5:46 AM All replies 0 Sign in to vote User220959680 posted Adult1: Title:Mr Firstname: Thiri Lastname:Sangu Passenger class with properties as below. public class Passenger {    public string firstName{get;set;}    public string lastName{get;set;}    //To store Adult/Infant etc.     public string pType{get;set;}