-
Nov 27th, 2006, 10:20 PM
#1
HTTPInvoker and HTTPS
I'm using HTTPInvoker over HTTPS... for that reason a use the CommonsHttpInvokerRequestExecutor class in the httpInvokerRequestExecutor property... but, to connect, the CommonsHttpInvokerRequestExecutor class look for the keystore and truststore file in the JVM parameters...
can I set the keystore and truststore file to CommonsHttpInvokerRequestExecutor class in other way, like a xml bean declaration?
thanks!...
this is my xml bean declaration to connect a remote service:
--------------------------------------------------------
<beans>
<bean id="servicioRemotoLocalidad" class="org.springframework.aop.framework.ProxyFact oryBean">
<property name="target">
<bean class="org.springframework.remoting.httpinvoker.Ht tpInvokerProxyFactoryBean">
<property name="serviceUrl">
<value>https://${remoteServer}:${remotePort}/test/ServicioRemoto/ServicioRemotoLocalidad</value>
</property>
<property_name="serviceInterface"><value>com.servi cio.ServicioRemotoLocalidad</value>
</property>
<property name="httpInvokerRequestExecutor">
<bean_class="com.remoting.httpInvoker.CommonsHttpI nvokerRequestExecutor"/>
</property>
</bean>
</property>
<property name="proxyInterfaces">
<value>com.servicio.ServicioRemotoLocalidad</value>
</property>
</bean>
</beans>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules