Axis2
  1. Axis2
  2. AXIS2-5115

debug log level makes the EndpointInterfaceDescriptionImpl not initialized correctly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1, 1.7.0
    • Component/s: jaxws
    • Labels:

      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));
                  }
              }
          }
      

        Activity

          People

          • Assignee:
            Andreas Veithen
            Reporter:
            Ivan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development