title: grails remoting plugin - always 404?
body: <p>I'm trying to expose a remote interface to a spring web application, and I'm having issues, always getting 404. What's wrong with my setup below?</p>
  
  <p><em>Grails</em>:<br>
  <strong>services - package mypackage</strong></p>
  
  <pre><code>class RemoteUserService implements RemoteUserServiceInterface {
      static expose = ['httpinvoker']
  
      User findUser(String userId) {
          return User.findByUserId(userId);
      }
  }
  </code></pre>
  
  <p><strong>src/groovy/mypackage</strong></p>
  
  <pre><code>class RemoteUserService implements RemoteUserServiceInterface {
      static expose = ['httpinvoker']
  
      User findUser(String userId) {
          return User.findByUserId(userId);
      }
  }
  </code></pre>
  
  <p><em>Spring:</em><br>
  <strong>mypackage</strong>    </p>
  
  <pre><code>public class MyController extends AbstractController {
      RemoteUserServiceInterface remoteUserService
  }
  </code></pre>
  
  <p><strong>appContext</strong></p>
  
  <pre><code>&lt;bean id="viewController" class="mypackage.MyController"&gt;
      &lt;property name="remoteUserService" ref="remoteUserService"/&gt;
  &lt;/bean&gt;
  
  &lt;bean id="remoteUserService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean"&gt;
      &lt;property name="serviceUrl" value="http://localhost:8080/grails-app-name/httpinvoker/RemoteUserService"/&gt;
      &lt;property name="serviceInterface" value="mypackage.RemoteUserServiceInterface"/&gt;
  &lt;/bean&gt;
  </code></pre>