Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have created a WCF service that has GET methods

[OperationContract]
[WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "Bookmarks?" +
"sessionId={SESSIONID}")]
Stream Bookmarks(string sessionid);

[OperationContract]
[WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "FilmStore?" +
"sessionId={SESSIONID}&profileId={PROFILEID}&maxResults={MAXRESULTS}&startIndex={STARTINDEX}&language={LANGUAGE}")]
Stream FilmStore(string sessionid, string profileId, string maxResults, string startIndex, string language);

Both these methods work absolutely fine on dev`enter code here`elopment machine, however when i deployed the service on client server IIS. The ones that has single value as query string works fine but those methods that has multiple query string values returns "Endpoint not found".

I am stuck and need help.

Thanks in advance.
Posted
Comments
Can you post the web.config here?
Rob Philpott 3-Jun-13 15:05pm    
Does this happen when you supply all parameters, or just when you supply some of them?
bluesathish 11-Jun-13 8:21am    
whether the service is displayed get method when its browsed in IIS?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900