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

        Ivan created issue -
        Andreas Veithen made changes -
        Field Original Value New Value
        Labels Geronimo
        Affects Version/s 1.7.0 [ 12316136 ]
        Andreas Veithen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Andreas Veithen [ veithen ]
        Fix Version/s 1.6.1 [ 12316466 ]
        Fix Version/s 1.7.0 [ 12316136 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development