I can't seem to make WCF happy. I have 2 methods in my service, here are their Uri and method sig:
[WebGet(UriTemplate = "/?memberID={memberID}&count={count}&pageNumber={pageNumber}&sortOrder={sortOrder}&event_ID={event_ID}&ticketids={ticketids}")]
public InventoryResponse Get(string memberID, string count, string pageNumber, InventorySortOrder sortOrder, string event_ID, string ticketids)
[WebGet(UriTemplate = "/?memberID={mmberID}&count={count}&pageNumber={pageNumber}&sortOrder={sortOrder}&event_ID={event_id}&ticketids={ticketids}&isTestCall=1")]
public virtual InventoryResponse GetTest(string memberID, string count, string pageNumber, InventorySortOrder sortOrder, string event_id, string ticketids, bool isTestCall)
seems like even though on the second Uri, I added "&isTestCall=1
" to the end, "&isTestCall={isTestCall}
" no matter what I do I still get this error, even though I feel I've differentiated the Uri:
UriTemplateTable does not support multiple templates that have equivalent path as template '/?memberID={memberID}&count={count}&pageNumber={pageNumber}&sortOrder={sortOrder}&event_ID={event_ID}&ticketids={ticketids}' but have different query strings, where the query strings cannot all be disambiguated via literal values. See the documentation for UriTemplateTable for more detail.