title: Should we unit test web service?
body: <p>Should we unit test web service or really be looking to unit test the code that the web service is invoking for us and leave the web service alone or at least until integration testing, etc.... ?</p>
  
  <p>EDIT: Further clarification / thought</p>
  
  <p>My thought is that testing the web service is really integration testing not unit testing??  I ask because our web service at this point (under development) is coded in such a way there is no way to unit test the code it is invoking.  So I am wondering if it is worth while / smart to refactor it now in order to be able to unit test the code free of the web service? I would like to know the general consensus on if it's that important to separate the two or if it's really OK to unit test the web service and call it good/wise.</p>
  
  <p>If I separate them I would look to test both but I am just not sure if separation is worth it.  My hunch is that I should.</p>