Monday, March 21, 2011

+1 bug

/Invoke service operations from client

. The operation could only be invoked
http://localhost:51685/serv.svc/Companies no parentesis on the end allowed!!!

ServiceClient - CreateQuery works only if operation has no parameters, i.e. it creates request without parentesis on the end, as far as you add some parameter, it add parentesis and server refuse to recognaise such request WTF

The only safe way to invoke operation through execute request

var courses = proxy.Execute<Course>(

new Uri(string.Format("{0}CoursesByCredits?credit={1}",
proxy.BaseUri, 3),

UriKind.RelativeOrAbsolute));


No comments:

Post a Comment