the conflict is between jwsdl4j.jar and jbossall-client.jar. the jbossall-client.jar
doesn't have the close method.
added the jwsdl4j.jar higher in the import scheme.
It executes but now I get:
| log4j:WARN No appenders could be found for logger
(org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory).
| log4j:WARN Please initialize the log4j system properly.
| Exception in thread "main" org.apache.xerces.xni.XNIException: Parser should
stop: [domain:http://ww
|
w.w3.org/TR/1998/REC-xml-19980210]::[key=ContentIllegalInProlog]::Message... is
not allowed in
| prolog.
| at
org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler.fatalError(JBossXSErrorHandler.j
| ava:78)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
| at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
| at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
| at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
| at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown
Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown
Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown
Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
| at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:182)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:391)
| at
org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:172)
| at
org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
| at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:119)
| at
org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:298)
| at org.jboss.ws.tools.WSTools.process(WSTools.java:147)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:123)
| at org.jboss.ws.tools.WSTools.main(WSTools.java:58)
| C:\projects-cal-ws\act-ws-scheduler\client>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098622#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...