Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java
:114)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Pars
er SAX Error: org.xml.sax.SAXException: Fatal Error: URI=https://test.medtox.com
/eChainTestOrderWebService/eChainTestOrderService.asmx Line=81: The element type
"p" must be terminated by the matching end-tag "</p>".
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
CodeGenerationEngine.java:268)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java
:97)
... 2 more
Caused by: org.xml.sax.SAXException: Fatal Error: URI=https://test.medtox.com/eC
hainTestOrderWebService/eChainTestOrderService.asmx Line=81: The element type "p
" must be terminated by the matching end-tag "</p>".
at org.apache.axis2.util.XMLUtils$ParserErrorHandler.fatalError(XMLUtils
.java:374)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError
(Unknown Source)
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.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse
(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse
(Unknown Source)
at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:191)
at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:236)
at org.apache.axis2.util.XMLUtils.newDocument
(XMLUtils.java:219)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
CodeGenerationEngine.java:262)
... 3 more
The wsdl2java.bat does not work for me. I spiced it up with several more
"echo ..." statements and all names, the paths and the command line
looks fine to me, but all it ever produced so far was:
"An error occured while generating codejava.lang.ClassNotFoundException:
org.dailymoon.classifieds.ClassifiedService" (I'm going through the
"classified ads" example in the tutorial at
http://www-128.ibm.com/developerworks/edu/ws-dw-ws-understand-web-services2.html ).
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]