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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.12
    • Fix Version/s: 4.13
    • Component/s: Web Services
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      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>
    • Bugzilla Update:
      Perform

      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>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tadayosi Tadayoshi Sato
                  Reporter:
                  tadayosi Tadayoshi Sato
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: