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, 1.7.0
Reporter: Ivan
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: [email protected]
For additional commands, e-mail: [email protected]