0

I have a command line spring application that uses a remote webservice via Spring's HttpInvoker. The connection URL is configured in a property file:

  <bean id="httpFooBarServiceProxy"
    class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
    <property name="serviceUrl" value="${serverURI}/
FooBarService-httpinvoker.rpc" />
    <property name="serviceInterface">
      <value>foo.bar.service.Interface</value>
    </property>
    <property name="httpInvokerRequestExecutor">
      <bean
        class="org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor" />
    </property>
  </bean>

All OK, but now our partner would like to use it over HTTPS to reach the service running on his Weblogic 10.3 server.

As far as I know the application can remain unchanged, he only has to import the certificate (?) into a keystore (?) and change the protocol in the url in the property file. Can you confirm this?

1 Answer 1

1

Yes, since you are already using CommonsHttpInvokerRequestExecutor which has support for https.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.