title: Consuming WCF/Rest from an Android app
body: <p>I was working through a tutorial at <a href="http://fszlin.blogspot.com/2010/05/comsuming-wcf-services-with-android.html" rel="nofollow">http://fszlin.blogspot.com/2010/05/comsuming-wcf-services-with-android.html</a> and am having a problem.  The author of the tutorial doesn't look responsive so I figured I'd ask here.</p>
  
  <p>I have the WCF service up and running.  If I run the WCF Test application that comes with Visual Studio, I can access it no problem.  My problem comes running it from the application, or even trying to hit it through the browser, nothing gets returned.  </p>
  
  <p>Here's what I've tried:</p>
  
  <p>Setting a breakpoint in the WCF service and running the WCF Test application, when I make a call, it hits the breakpoint.  Makes sense.</p>
  
  <p>Putting the URL in a browser returns nothing (no error, no data) and the breakpoint never gets hit.</p>
  
  <p>Putting the URL in the Android application and running it in the Android emulator returns nothing (no error, no data) and the breakpoint never gets hit.</p>
  
  <p>Thinking that it might not be connecting from the browser or the Android app, I put in a bad URL into the browser (like changing it from <a href="http://localhost/hello.svc/GetPlates" rel="nofollow">http://localhost/hello.svc/GetPlates</a> to <a href="http://localhost/hellotest.svc/GetPlates" rel="nofollow">http://localhost/hellotest.svc/GetPlates</a>) returns an error, same in Android application.</p>
  
  <p>So to me it seems like it's hitting the service properly, just for some reason not executing the code.  I have no idea how to further test this.  Aren't SOAP services supposed to be able to be hit from the browser?  Especially when the function in the service you're calling takes no parameters and only returns data?</p>
  
  <p>Again, it all works in the WCF test app, just can't seem to reach the goal of ultimately calling the service from the Android application.</p>
  
  <p>Much thanks in advance!</p>
  
  <p>Mike</p>