[ http://issues.apache.org/jira/browse/BEEHIVE-781?page=comments#action_66810 ] daryoush mehrtash commented on BEEHIVE-781: -------------------------------------------
The XMLBeanWSDLProcessor and WSDLParser should be modified to use DefinitionsDocument (XMLBean Object) instead of the Stream. It would avoid the duplication in this case, and also improves the code. > web service control leaks two input streams when creating a service control > --------------------------------------------------------------------------- > > Key: BEEHIVE-781 > URL: http://issues.apache.org/jira/browse/BEEHIVE-781 > Project: Beehive > Type: Bug > Components: Controls > Versions: V1, V1Alpha, TBD, V1Beta > Reporter: Eddie O'Neil > Assignee: daryoush mehrtash > Priority: Critical > Fix For: TBD > > The web service control leaks two InputStreams in: > ExtensionMaker > genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed > to the XmlBeanWSDLParser are both leaked. They are also both the same, so we > should use exactly one input stream instaed of two. > :) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira