none
Web Service Test RRS feed

  • Question

  • Hello all;

    I want to test my web service via vs tools (wcf test client) .

    my web method has string input parameter and testing value has line breaks 

    when i test the method , i can paste only first line to wcftestclient's value .

    How can i test for my string ?

    Thanks for helps;

     

    Friday, July 26, 2013 8:27 AM

Answers

  • Hi,

    In my mind, WCF Test Client works only with single line strings.

    The WCF test client is a simple test tool which allows you to quikcly validate and verify most common scenario. Like here - this being a web service - if one can pass a simple string to it.

    If you want to pass many line, maybe you can store the string in the arraylist.

    Best Regards.


    Amy Peng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


    Monday, July 29, 2013 6:09 AM
    Moderator

All replies

  • Hi,

    In my mind, WCF Test Client works only with single line strings.

    The WCF test client is a simple test tool which allows you to quikcly validate and verify most common scenario. Like here - this being a web service - if one can pass a simple string to it.

    If you want to pass many line, maybe you can store the string in the arraylist.

    Best Regards.


    Amy Peng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


    Monday, July 29, 2013 6:09 AM
    Moderator
  • what binding you are using ? If it is http , use SoapUI which allow multiline string.


    Lingaraj Mishra

    Monday, July 29, 2013 9:16 PM