Tuesday, April 22, 2008

Out of memory error while generating client classes using WSDL

To handle this error we can generate the classed by directly using clientgen program by passing the memory limits.
Here's the command that could be used,

C:\bea\weblogic81\server\bin>java -Xms128m -Xmx1024m -Dweblogic.xml.schema.binding.verbose=true weblogic.webservice.clientgen -wsdl http://113.130.235.213:7741/webservice/SentinelWS?WSDL -packageName com.verizon.enterprise.eBosi.BOSIRepair.CMIS -clientJar CmWSClient.jar

No comments: