title: could not access HTTP invoker remote service
body: <p>Im using Spring and im trying to access a HTTP invoker remote service and have specified the url in the spring-http-client-config.xml.  But Im getting the below exception </p>
  
  <pre><code>org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://blr1272d:8080/MaskOracle/remoting/securityService]; nested exception is java.io.IOException: Did not receive successful HTTP response: status code = 401, status message = [Unauthorized]
  </code></pre>
  
  <p>The configuration details that I have specified in the spring-http-client-config.xml are 
  below </p>
  
  <pre><code>    &lt;bean id="securityService"
        class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean"&gt;
      &lt;property name="serviceUrl" value="http://blr1272d:8080/MaskOracle/remoting/securityService" /&gt;
      &lt;property name="serviceInterface" value="com.him.mask.security.remote.service.SecurityService" /&gt;
      &lt;property name="httpInvokerRequestExecutor" ref="httpInvokerRequestExecuter"/&gt;
  
  &lt;/bean&gt;
   &lt;bean id="httpInvokerRequestExecuter"  
   class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" /&gt; 
  </code></pre>
  
  <p>Im not sure why im getting this exception. Please help me in resolving the issue. Thanks </p>