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 =…
![](../../users/profiles/989139.webp)
monish001
- 631
- 1
- 7
- 20
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…
![](../../users/profiles/1744254.webp)
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…
![](../../users/profiles/1586338.webp)
user1586338
- 3
- 2
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…
![](../../users/profiles/1118311.webp)
pdschuller
- 518
- 6
- 24