You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org> on 2005/06/02 01:50:52 UTC

[jira] Commented: (BEEHIVE-780) WSM leaks InputStreams at build time

     [ http://issues.apache.org/jira/browse/BEEHIVE-780?page=comments#action_66809 ]
     
daryoush mehrtash commented on BEEHIVE-780:
-------------------------------------------

The abstract-ness of the class doesn't seem to make sense.  The object model that is generated from WSDL has system dependencies for resolving types (needs Axis), so there has to be a class in the Axis package that gets the OM.  The relationship between the base class and the axis class should be changed to follow IOC model, where the Axis implementation constructs the OM and passes it to the implementation to generated the JWS file.  It should then close the stream also.



> WSM leaks InputStreams at build time
> ------------------------------------
>
>          Key: BEEHIVE-780
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-780
>      Project: Beehive
>         Type: Bug
>   Components: Web Services (181)
>     Versions: V1, V1Alpha, V1Beta
>     Reporter: Eddie O'Neil
>     Assignee: daryoush mehrtash
>     Priority: Critical
>      Fix For: TBD

>
> The WSM code base leaks InputStreams in the following locations:
>   AbstractWsdl2AJava
>     generateAnnotatedJavaFromWSDL -- an InputStream is used to construct the BeehiveWsTypeMetadata object and is not closed
>   Utilities
>     findSchemaDocument -- an InputStream is passed to the WSDLParser class and is not closed
>   

-- 
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