I have an .net c# mvc3 web service application developed wirh visual web developer 2010. I am calling the web services from an android movile application. I want to test the web services, from the eclipse emulator. When i debug the webservice application everything works fine by calling the services from the web browser but when i call then from the android application using the emulator y get "HTTP/1.1 400 Bad Request".
the curious thing is that if i publish the web service application on my local IIS 7 everything wirks fine although i can not debug the service.
when i debig the service using the visual web developer a web page appear with a adress like that:
"http://localhost:1627/myservice.asmx/myMethod"
On my android application i call the service with a url like that:
"http://10.0.2.2:1627/myservice.asmx/myMethod"
but then i get the "HTTP/1.1 400 Bad Request"
I really would appreciate any help.
thanks.