Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3947

SoapUI SOAPClient doesn't pick up HttpClient properties if "wsdl" specifies local file ("file://...")

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 4.12
    • 4.13
    • Web Services
    • None
    • Workaround Exists
    • Hide

      You can configure the "target-host-url" property explicitly to avoid this issue, as follows:

      <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">
        ...
        <property name="http-client-properties">
          <http-client-property name="target-host-url" value="http://127.0.0.1:8080/"/> <!-- the endpoint URL specified in WSDL -->
          <http-client-property name="http.proxyHost" value="192.168.0.101"/>
          <http-client-property name="http.proxyPort" value="18080"/>
        </property>
      
      Show
      You can configure the "target-host-url" property explicitly to avoid this issue, as follows: <action name= "soapui-client-action" class= "org.jboss.soa.esb.actions.soap.SOAPClient" > ... <property name= "http-client-properties" > <http-client-property name= "target-host-url" value= "http://127.0.0.1:8080/" /> <!-- the endpoint URL specified in WSDL --> <http-client-property name= "http.proxyHost" value= "192.168.0.101" /> <http-client-property name= "http.proxyPort" value= "18080" /> </property>

    Description

      In the soapUI version of SOAPClient, when hosting a WSDL locally (i.e. "file://..."), the Apache HttpClient which is used in SOAPClient does not pick up the proxy server settings:

      <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">
        <property name="wsdl" value="file:///opt/jboss-soa-p-5.3.1/jboss-as/samples/quickstarts/webservice_consumer1/HelloWorldWS.wsdl" />
        <property name="http-client-properties">
          <http-client-property name="http.proxyHost" value="192.168.0.101"/>
          <http-client-property name="http.proxyPort" value="18080"/>
        </property>
        ...
      </action>
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tasato Tadayoshi Sato
              rhn-support-tasato Tadayoshi Sato
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: