asfand butt

asfand butt

  • NA
  • 1
  • 0

endpoint not found

Jun 4 2013 6:59 AM
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.

Answers (1)