Skip to content

Instantly share code, notes, and snippets.

@ketola
Created March 2, 2012 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ketola/1960554 to your computer and use it in GitHub Desktop.
Save ketola/1960554 to your computer and use it in GitHub Desktop.
Import service with Spring Framework's http invoker.
<bean id="customerService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl" value="http://localhost:8081/remoting/CustomerService"/>
<property name="serviceInterface" value="com.codereanimator.spring.httpinvoke.serviceinterface.CustomerService"/>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment