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

?wsdl and ?wsdl2 returns wrong erp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3, 1.4, nightly
    • None
    • codegen
    • None
    • Windows Vista/Tomcat 6

    Description

      My webservice is generated with WSDL2Java (XMLBeans)
      I use these setting in services.xml:
      <parameter name="useOriginalwsdl">true</parameter>
      <parameter name="modifyUserWSDLPortAddress">true</parameter>

      In Axis2 1.3

      When I call..
      http://localhost:8080/mytomcat/services/Aspect4Users?wsdl
      the ERP returned is:
      location="http://10.150.201.158:8080/mytomcat/services/Aspect4Users"
      Why the IP address? this is useless when exposing the service on the web

      and if I call:
      http://localhost:8080/mytomcat/services/Aspect4Users?wsdl2
      returns:
      address="http://localhost:8080/mytomcat/services/Aspect4Users"
      This is as it should be

      In 1.4RC4

      When I call..
      http://localhost:8080/mytomcat/services/Aspect4Users?wsdl
      the ERP returned is:
      location="http://10.150.201.158:8080/mytomcat/services/Aspect4Users"
      Why the IP address? this is useless when exposing the service on the web

      and when i call:
      http://localhost:8080/mytomcat/services/Aspect4Users?wsdl2
      returns:
      address="http://localhost:7080/jaxws/services/Aspect4Users"
      This is the address from the original WSDL file. Again this is useless because I need to deploy this service on 50 different machines..

      Attachments

        Issue Links

          Activity

            People

              keithgchapman Keith Godwin Chapman
              neerup Thomas Neerup
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: