Results 1 to 7 of 7

Thread: ws:outbound-gateway trouble behind network proxy

  1. #1
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Question ws:outbound-gateway trouble behind network proxy

    I have an application with several ws:outbound-gateways configured. During development, I was testing my app on a server that was not behind a proxy and everything worked fine. I'm trying to move my app to a production server that is behind a proxy and now connections to the web services are timing out. The server is running Suse linux. I've set the proxy settings in YAST and tested they worked by issuing "wget http://www.google.com" at the command line, which downloaded Google's homepage. Still, my application's attempts to connect to the web services keeps timing out. Any thoughts why?

  2. #2
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    632

    Default

    Hello.
    How about this:
    http://static.springsource.org/sprin...le/#http-proxy

    Artem Bilan

  3. #3
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default

    I don't think this will work since I'm using the ws namespace in a Spring Integration project. There's no attributes for referencing a bean to use as the proxy.

  4. #4
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    632

    Default

    Pay attention to the system properties.
    On the backgound any WS-call will be transported over HTTP. And your URLConnection can read those properties.
    Or as alternative you can setup proxy on your messageSender Bean...

  5. #5
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default

    I appreciate your help, but with the Spring Integration WS abstraction, I don't setup any of these beans.

  6. #6
    Join Date
    Nov 2009
    Location
    Montreal, Quebec
    Posts
    398

    Default

    I think I solved my problem by setting the JVM proxy settings in the server's JVM configuration.

  7. #7
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    632

    Default

    But
    server's JVM configuration
    Also setup JAVA System Properties...

Posting Permissions

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