[jboss-user] [JBossWS] - Re: OutOfMemory exception when loading xml schemas in WSDL
do-not-reply at jboss.com
Tue Dec 2 12:04:15 EST 2008
It looks to me like there are a number of message types that are being parsed that don't seem relevant to the WSDL, MCCI_MT000100UV01.xsd, COCT_MT040203UV01.xsd. I assume each of these also have references to the datatypes.xsd, voc.xsd and the other base schema's, which is why there are numerous references to them. I would hope that those definitions would be cached and not be loaded into memory multiple times, but given the OutOfMemoryException that may be what is occuring.
I don't know how you're packaging the HL7 schemas, but you could try reducing the number of schemas down to the message type your actually interested in, which appears to be the PRPA_IN201101UV01, plus base schema's.
That might workaround the OutOfMemoryException.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193801#4193801
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193801
More information about the jboss-user