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

Axis2 InterfaceImplementation generated with jaxbri binding does not compile.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.7.3
    • None
    • codegen
    • None
    • Patch, Important

    Description

      jaxbri generates binding containing toOM method with 3 parameters as follows:
      private org.apache.axiom.om.OMElement toOM(
      com.comcast.xml.commercialdocumentmanagement.services.GetFileByName param,
      boolean optimizeContent, javax.xml.namespace.QName elementQName)
      throws org.apache.axis2.AxisFault {

      However InterfaceImplementation generates method invocation with 2 parameters as follows:
      org.apache.axiom.om.OMElement omElementrequestHeader = toOM(requestHeader,
      optimizeContent(
      new javax.xml.namespace.QName(
      "http://xml.comcast.com/commercialdocumentmanagement/services",
      "getFileByName")));

      The result is InterfaceImplementation does not compile when we try to build client jar.

      Attachments

        1. DocumentManagementService.wsdl
          29 kB
          Jayesh Nageshkar

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jayeshn Jayesh Nageshkar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: