1 Reply Latest reply on Dec 18, 2007 5:26 AM by Tom Fennelly

    How to configure proxyhost and proxyport by the soapclient

    Joris Hazenberg Newbie

      Hello,
      I've been running into a problem with the soapClient. In our network we have a proxy server, I can't configure this proxy for the webservice call of the soapclient.

      I have the following script:

      <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">
       <property name="wsdl" value="http://wWW.webservices.nl/address/soapsimple?wsdl" >
       <http-client-property name="file" value="/localhost-http.properties" />
      </property>
       <property name="responseAsOgnlMap" value="true" />
       <property name="SOAPAction" value="processOrder"/>
      </action>
      


      In the localhost-http.properties I tried to configure the httpclient:
      # Configurators
      configurators=HttpProtocol,AuthBASIC
      
      # HttpProtocol config...
      protocol-socket-factory=org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory
      keystore=/packages/jakarta-tomcat-5.0.28/conf/chap8.keystore
      keystore-passw=xxxxxx
      proxyhost=174.0.0.25
      proxyport=8080
      proxy-host=174.0.0.25
      proxy-port=8080
      
      # AuthBASIC config...
      auth-username=user
      auth-password=password
      authscope-host=174.0.0.25
      
      authscope-port=8080
      authscope-realm=
      


      Any idea how I can configure the proxy settings for the soapclient?