Click here to Skip to main content
15,885,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I receive 504 error message when i try to return List<dynamic>

my Interface looks like

XML
[WebGet(UriTemplate = "Get_All_Result", ResponseFormat = WebMessageFormat.Json)]
[OperationContract]
List<dynamic> Get_All_Result();
Posted
Comments
Afzaal Ahmad Zeeshan 19-Mar-15 7:14am    
That was a time out error. What is the method body actually?
Rajat_RJT 20-Mar-15 1:49am    
Yeah, that is gateway time out error.

1 solution

VB
Public Function <functionname>(<parameters>)as List(of object) implements <interface>        

    End Function</interface></parameters></functionname>

C#


Hope this helps
Interface must also return the same List
 
Share this answer
 
v2

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