last day (14 days later) » 

8:53 AM
0
A: No HTTP resource was found that matches the request URI, Failed to load resource: the server responded with a status of 404 (Not Found)

sachinIn the URI, you also need to pass an Id. The requested URI should be http://127.0.0.1:8080/api/service/markets/1 where 1 can be replaced with any valid Id. If you don't need to pass an Id, you don't need to have that as a parameter in the Markets method of ServiceController.

 
still not working...
 
try accessing url 127.0.0.1:8080/api/service/markets/1 in browser and see if even that works or not.
 
{"message":"No HTTP resource was found that matches the request URI '127.0.0.1:8080/api/service/markets/… type was found that matches the controller named 'service'."}
same message i am getting.
 
How do you know that your webapi is running at 127.0.0.1:8080?
 
xsp server is configured @127.0.0.1 and on 8080 port
 
8:53 AM
Shouldn't you have your application name before /api and after 8080/ then?
 
i tried nt working
 
How did you deploy your web api to XSP server?
 
i simply created a asp .net web mvc project using xamarin
there..?
 
yup
What if you run your API project directly?
Does it work? If it does, you should be able to get the URL from it when it launches the browser.
 
directly u mean..?
 
9:08 AM
You're using Xamarin Studio?
 
yes
 
I dnt know much about Xamarin Studio
you'll have to figure out how to run webapi using xamarin syudio
 
okay
thank you sir
 

last day (14 days later) »