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

debug log level makes the EndpointInterfaceDescriptionImpl not initialized correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1, 1.7.0
    • jaxws

    Description

      While constructing the EndpointInterfaceDescriptionImpl instance from WSDL on the line 1222 of EndpointDescriptionImpl, if the log level is configured with debug, some internal variable like soapParameterStyle is initialized, and even after updating the SEI in the following codes, they will not be re-initialized again.

      endpointInterfaceDescription = new EndpointInterfaceDescriptionImpl(this);
      
                              // Update the EndpointInterfaceDescription created with WSDL with information from the
                              // annotations in the SEI
                              ((EndpointInterfaceDescriptionImpl)endpointInterfaceDescription)
                                      .updateWithSEI(composite.getCorrespondingClass());
      
      EndpointInterfaceDescriptionImpl(EndpointDescriptionImpl parent) {
              parentEndpointDescription = parent;
              dbc = new DescriptionBuilderComposite();
              AxisService axisService = parentEndpointDescription.getAxisService();
              if (axisService != null) {
                  ArrayList publishedOperations = axisService.getPublishedOperations();
                  Iterator operationsIterator = publishedOperations.iterator();
                  while (operationsIterator.hasNext()) {
                      AxisOperation axisOperation = (AxisOperation)operationsIterator.next();
                      addOperation(new OperationDescriptionImpl(axisOperation, this));
                  }
              }
          }
      

      Attachments

        Activity

          People

            veithen Andreas Veithen
            xuhaihong Haihong Xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: