Forum Discussion

vladodias's avatar
10 years ago

Proxy authentication different than service authentication

Hi,

I need to pass two different levels of authentication, firstly to go through the internal proxy, then the service authentication. They have different username/passwords.

In curl I can do:

curl -x proxyserver:8080 -U proxyusername:proxypassword -u serviceusername:servicepassword --data @soap-envelope1.xml http://external-web-service.com/ServiceName

But I don't know how to pass two different authentications in SoapUI, or if that is even possible, as it seems that one authentication cancels the other. If I use the Authentication tab, and pass serviceusername:servicepassword I get "407 Proxy Authentication Required", if I pass proxyusername:proxypassword I get "Unauthorised" from the web service. Passing the credentials on the proxy preferences page also didn't work as they get overwritten by the Auth tab.

Does anyone has any clue on how I can overcome the double authentication dilemma?

Cheers,
Vlad
No RepliesBe the first to reply