Questions tagged [uritemplate]

80 questions
0
votes
0 answers

Why WCF service is getting old values of parameters

I have setup two projects. One is WCF service project with following contract: [OperationContract] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate =…
0
votes
1 answer

WCF web service with functionality based on URI/URL

I have a WCF service I'm working on that is replacing an older CMS hosting API. For each client site in the old system/database it works like this: clientdomain.com pulls its content (XML) from a URL of hostingdomain.com/clientdomain/api.xml (the…
Beau D'Amore
  • 2,414
  • 4
  • 17
  • 45
0
votes
1 answer

Accessing WCF REST operation using WebChannelFactory when the operation has UriTemplate specified

I have a WCF Rest service as per the code snippet below [ServiceContract] public interface IService { [OperationContract] [WebInvoke(UriTemplate="/SaveList/Foos/",Method="POST")] bool SaveList(List myFoos); } The service…
0
votes
1 answer

UriTemplate FormatException "{}" is not a valid format for a segment or a query part

I have web service urls that were working fine and are now returning the following error: UriTemplate does not support "{}" as a valid format for a segment or a query part. I normally work on the files in Visual Web Developer 2010 Express. The…
pdschuller
  • 518
  • 6
  • 24
-1
votes
1 answer

Custom
element with URI Template support

Is there a custom element, which allow the use of RFC6570 URI templates? This is very similar to this question. Here's the sample HTML used there.
Tomasz Pluskiewicz
  • 3,469
  • 1
  • 16
  • 38
1 2 3 4 5
6