Results 1 to 3 of 3

Thread: urgent: how to use jax-rpc with a proxy server?

  1. #1
    Join Date
    Jul 2005
    Posts
    5

    Default urgent: how to use jax-rpc with a proxy server?

    Hi all,

    we are using Spring with Axis and Tomcat which worked very nice so far. But now we need to access a web service that is only accessible through a proxy server. Now my question is how this can be done.
    Do I need to create a generic handler? But what must I actually do then in this handler? Any other way or ideas?

    thanks for your help,

    Johannes

  2. #2
    Join Date
    Jul 2005
    Posts
    11

    Default

    Maybe this is what you need..

    System.setProperty("http.proxyHost", ipAddress);
    System.setProperty("http.proxyPort", "80");

  3. #3
    Join Date
    Jul 2005
    Posts
    5

    Default

    Tthank you. I found code like yours a while later somewhere. And indeed this works, but it's not really satisfying as it sets the proxy for all connections, and I need to call some services I don't like to use the proxy for. Moreover I think it affects the whole (tomcat)server where also other applications are running.
    So I still hope there is a way to set the proxy just for one service.

Similar Threads

  1. Replies: 6
    Last Post: Sep 29th, 2005, 04:25 AM
  2. Using ChannelEntryPoint with proxy server
    By billsalvucci in forum Security
    Replies: 1
    Last Post: Aug 23rd, 2005, 07:05 PM
  3. Replies: 3
    Last Post: Aug 16th, 2005, 12:39 PM
  4. Other Hibernate DAO LazyInitializationExceptions
    By bernardsirius in forum Data
    Replies: 5
    Last Post: Feb 18th, 2005, 04:09 PM
  5. Replies: 9
    Last Post: Feb 8th, 2005, 09:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •