axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5115) debug log level makes the EndpointInterfaceDescriptionImpl not initialized correctly
Date Sun, 14 Aug 2011 07:34:27 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084802#comment-13084802
] 

Andreas Veithen commented on AXIS2-5115:
----------------------------------------

Ivan, can you check if my change also solves your issue?

> debug log level makes the EndpointInterfaceDescriptionImpl not initialized correctly
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5115
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5115
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>    Affects Versions: 1.6.0
>            Reporter: Ivan
>              Labels: Geronimo
>
> 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.
> {code}
> endpointInterfaceDescription = new EndpointInterfaceDescriptionImpl(this);
>                         // Update the EndpointInterfaceDescription created with WSDL
with information from the
>                         // annotations in the SEI
>                         ((EndpointInterfaceDescriptionImpl)endpointInterfaceDescription)
>                                 .updateWithSEI(composite.getCorrespondingClass());
> {code}
> {code}
> 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));
>             }
>         }
>     }
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message