Announcement Announcement Module
Collapse
No announcement yet.
HTTPInvoker and HTTPS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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>
Working...
X