2 Replies Latest reply on Nov 29, 2010 9:29 AM by Tim Marks

    jbr-provider -> get client IP address?

    Tim Marks Newbie

      The ESB quickstart webservice_producer uses  a jbr-provider to expose a web service.

      Using this quickstart, is it possible to access the HTTP request parameters (such as  to find the client/callers IP address)?

      (I vaguely remember it may be contained within the message properties, but could not find where I read it).

      Thanks in advance.

        • 1. Re: jbr-provider -> get client IP address?
          Tim Marks Newbie

          In the documentation, the HTTP request parameters can be fetched if you use an http-gateway. (Unfortunately, there ws no similar documentation for jbr-provider.) I have a requirement to serve up a SOAP endpoint (with wsdl), so I do not believe http-gateway is an option.

          • 2. Re: jbr-provider -> get client IP address?
            Tim Marks Newbie

            I looked at the jbossesb-4.8 src over the weekend.

            The SOAPProcessor class creates an instance of SOAPProcessorHttpServletRequest. This class defines this method.

             

            public String getRemoteAddr()
            {
                     throw new UnsupportedOperationException("Not yet supported") ;
            }

             

            Unless anyone can say differently, it appears the HTTP Request parameters are not available if you use jbr-provider and action SOAPProcessor.

             

            Of course, documentation shows http-gateway will provide the information I am looking for...but I have not figured out how to generate WSDL using http-gateway.