beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daryoush mehrtash (JIRA)" <>
Subject [jira] Updated: (BEEHIVE-780) WSM leaks InputStreams at build time
Date Tue, 14 Jun 2005 01:47:50 GMT
     [ ]

daryoush mehrtash updated BEEHIVE-780:

    Attachment: streampatch.txt

This is the fix for this bug and also 781.  

The interfaces on the classes have been cleaned up by moving the parsing of the xml document
out of the XMLBeanWSDLProcess and Schema classes and updated calling classes.  The WSDL to
xmlbean parsing has been moved to the org.apache.beehive.wsm.wsdl.Utilitites class.  Also
added two unit tests to verify the WSDL to OM logic.  For the test I am using the current
Google and Amazon wsdls.  There is no need to update thse WSDLs as we are not really connecting
to the service, rather just using the current version of their wsdl as a test data.  We should
add more real wsdls in future.  To add the more wsdls you need to drop the wsdl in either
encoded-schmeas or schems in the drt/tests.    The build file would generate all types from
the wsdl iles before running the tests.

> WSM leaks InputStreams at build time
> ------------------------------------
>          Key: BEEHIVE-780
>          URL:
>      Project: Beehive
>         Type: Bug
>   Components: Web Services (181)
>     Versions: V1, V1Alpha, V1Beta
>     Reporter: Eddie O'Neil
>     Assignee: daryoush mehrtash
>     Priority: Critical
>      Fix For: TBD
>  Attachments: streampatch.txt
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message