Announcement Announcement Module
Collapse
No announcement yet.
ws:outbound-gateway trouble behind network proxy Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Hello.
    How about this:
    http://static.springsource.org/sprin...le/#http-proxy

    Artem Bilan

    Comment


    • #3
      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.

      Comment


      • #4
        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...

        Comment


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

          Comment


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

            Comment


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

              Comment

              Working...
              X