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

  • JaxWsPortProxyFactoryBean and HTTP Proxy

    Hi folks,

    In a project I'm working we defined our JaxWs port fine using the JaxWsPortProxyFactoryBean, and it's all working well. Now, we need to move the app to a controlled environment, where we have to go through a proxy to get to the Internet and, consequently, the said webservice.

    I did some googling and searched this very own forums, but found nada. So, can anyone please show me how to set a Http Proxy for JaxWs calls, or point me to some tutorial, blog, article, whatever that can help me?

    As I said, locally testing it all works, the problem is when we move to the controlled env.

    Here's the JaxWs config (of course, names were changed to protect the innocent, in this case, my job ):

    Code:
    <bean id="myPort" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
    	<property name="serviceInterface" value="MyWs" />
    	<property name="wsdlDocumentUrl" value="classpath:myWs.wsdl" />
    	<property name="namespaceUri" value="${myWs.namespaceUri}" />
    	<property name="serviceName" value="MyWs_Service" />
    	<property name="endpointAddress" value="${myWs.endpointAddress}" />
    </bean>
Working...
X