Search code examples
visual-studio-2010listwcf-clientdatacontractwcftestclient

How do I pass value to List<string> property while testing my WCF service?


I am testing a WCF service method which accepts a DC type parameter, some of my DC properties are of type List. How do i pass values to that, I tried strings in "", did not accept, Please refer the attached screenshot.enter image description here

AdjReason in the attached screenshot is of type List. Hope I am clear with my question.

Thanks, Adarsh


Solution

  • Check the image I'v uploaded.

    First set length=10 and press enter, then click on arrow infront of AdjReason to expand it. Fill up the value in the expanded section.

    Check the image

    Hope this helps.