Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis and Proxy setting

Niral Trivedi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using Axis client to connect to a webservice. And we have to use proxy to connect to external URL. So, how do I set proxy setting for my Axis client? I have seen only one way of doing it and that is by setting System property using

But I do not want to use this as this will be a System level setting. I know that with old Apache SOAP, you can use SOAPHttpConnection.setProxyHost method which will do setting only at connection level.

Any similar way available with Axis?

Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic