Multiple variables in HTTP Method and URL mapping of WCF-WebHttp adapter RRS feed

  • Question

  • Using the variable mapping technique, I want to pass in multiple properties into one queryString.

    The mapping XML looks as follows :

    <Operation Name="http://XXXXXXX/ManageMOBIBSubscriptions/wsdl/1#GetMOBIBSubscriptionsRequest#BySSN" Method="GET" Url="/v1/persons/nrn/{nrn}" />
    <Operation Name="http://XXXXXXX/ManageMOBIBSubscriptions/wsdl/1#GetMOBIBSubscriptionsRequest#ByName" Method="GET" Url="/v1/persons?queryString.firstName={firstName}&queryString.lastName={lastName}&queryString.dateOfBirth={dateOfBirth}" />

    When trying to open the variable mapping input window, I receive the following error message "...'=' is an unexpected token. The expected token is ';'

    Though this is a valid query string, it seems as if it is not supported to have more than one variable per operation?

    Tuesday, August 16, 2016 9:39 AM


All replies