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

suppress prefix option not working in 1.8.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • 2.0.0
    • wsdl
    • None
    • Java11

    Description

      We are migrating our application to Java11 and using Axis2 1.8.0 version for SOAP webservices. We are generating the Java classes using wsdl2java. We are observing a prefix ns2 is added in the response by default. We have tried -sp option as well while generating the Java classes to suppress this prefix but didn't get the desired result. 

      <ns2:Response xmlns:ns2="namespace">
      <data>5</data>
      </ns2:Response>

       
      We would like to know why the -sp option is not working and the methods to remove the prefix to response elements

      Attachments

        Activity

          People

            Unassigned Unassigned
            venkat_85 venkat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: