Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-2990

WSDL port address is not correctly generated for machines having multiple network interfaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2
    • None
    • wsdl
    • None
    • Windows

    Description

      WSDL portAddress is filled with machines IP address. The code to get the IP address org.apache.axis2.transport.http.sever.HTTPUtils.getIpAddress() always takes the first available network interfaces ip address.

      This may not work in machine which has vmvare installed, or machines having multiple network interfaces or just a laptop which has wireless and wired lan. I believe that Correct way to do that it, is to use the hostName and resolve it to ipAddress.

      Attachments

        Issue Links

          Activity

            People

              sanka Hettige Don Ignatious Nywan Sanka Samaranayake
              haneef_s Haneef Ali
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: