Forum Discussion

abcdh's avatar
abcdh
Occasional Contributor
10 years ago

Changed proxy settings in 5.0.0

Hi,

I am using SoapUI to send SOAP requests to my service through a proxy with authorization.
While using version 4.6.4, I had to change soapui.bat to allow the requests to pass through the proxy. The change was as follows:

set JAVA_OPTS= ... -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=80 -Dhttp.proxyUser="myuser"

In SoapUI, I then set my proxy settings to "None", and sending requests worked perfectly.
I also have to go through the proxy to access the internet (getting external .xsd's or viewing the SoapUI "StarterPage"), which also worked fine with these settings.

However, when I changed to version 5.0.0, this change no longer enabled me to access the internet, but only to send requests.
If I change the proxy settings inside SoapUI, I am able to access the internet, but not send request through the proxy (!!!).

I put this under "Bugs", since the newer version does not act the same way (correct way?) as an earlier one.
I would very much like either one way or the other to work for both cases through the proxy - At least like it did in version 4.6.4.

2 Replies

  • Hi,

    Have you tried to enter the proxy information in SoapUI by going to File -> Preferences -> Proxy Settings?
  • abcdh's avatar
    abcdh
    Occasional Contributor
    I have tried to use the "Proxy Settings" in SoapUI in both 4.6.4 and 5.0.0, but without success.

    When I try to load a WSDL with imports, I am prompted with an "NT Authentication" window, even though I have entered username/password in the proxy settings.
    After entering the correct password and username, I get a message saying:

    "Error loading [the xsl url]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END"

    I have tried with different .xsl files, but with no luck. I have also tried with different combinations of domain/username during authentication.