Fixed this issue. On Wed, Mar 14, 2012 at 7:09 AM, Amani Soysa <[email protected]> wrote:
> I am looking into this > > On Wed, Mar 14, 2012 at 12:44 AM, Denis Weerasiri <[email protected]> wrote: > >> Hi, >> $Subject >> >> [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @ >> org.wso2.carbon.url.mapper.stub --- >> [INFO] Executing tasks >> [java] Retrieving document at >> 'src/main/resources/URLMapperService.wsdl'. >> [java] [Fatal Error] URLMapperService.wsdl:473:2: The markup in the >> document following the root element must be well-formed. >> [java] Exception in thread "main" >> org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL >> [java] at >> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:178) >> [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) >> [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) >> [java] Caused by: javax.wsdl.WSDLException: WSDLException: >> faultCode=PARSER_ERROR: Problem parsing >> 'file:/opt/installations/wso2/trunk/carbon/platform/trunk/service-stubs/org.wso2.carbon.url.mapper.stub/src/main/resources/URLMapperService.wsdl'.: >> org.xml.sax.SAXParseException: The markup in the document following the >> root element must be well-formed. >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2133) >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2208) >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2174) >> [java] at >> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320) >> [java] at >> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:133) >> [java] ... 2 more >> [java] Caused by: org.xml.sax.SAXParseException: The markup in the >> document following the root element must be well-formed. >> [java] at >> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249) >> [java] at >> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2123) >> [java] ... 6 more >> [java] Java Result: 1 >> [java] Retrieving document at >> 'src/main/resources/HostAdminService.wsdl'. >> [java] [Fatal Error] HostAdminService.wsdl:780:2: The markup in the >> document following the root element must be well-formed. >> [java] Exception in thread "main" >> org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL >> [java] at >> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:178) >> [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) >> [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) >> [java] Caused by: javax.wsdl.WSDLException: WSDLException: >> faultCode=PARSER_ERROR: Problem parsing >> 'file:/opt/installations/wso2/trunk/carbon/platform/trunk/service-stubs/org.wso2.carbon.url.mapper.stub/src/main/resources/HostAdminService.wsdl'.: >> org.xml.sax.SAXParseException: The markup in the document following the >> root element must be well-formed. >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2133) >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2208) >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2174) >> [java] at >> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320) >> [java] at >> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:133) >> [java] ... 2 more >> [java] Caused by: org.xml.sax.SAXParseException: The markup in the >> document following the root element must be well-formed. >> [java] at >> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249) >> [java] at >> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) >> [java] at >> com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2123) >> [java] ... 6 more >> [java] Java Result: 1 >> [INFO] Executed tasks >> >> >> -- >> Thanks, >> Denis >> ---------------------------------------------------------- >> *Denis Weerasiri* >> Software Engineer >> Integration Technologies Team, WSO2 Inc.; http://wso2.com, >> *email: denis <http://goog_277208233/>** [AT] wso2.com <http://wso2.com/> >> * >> *phone: +94117639629 >> * >> *site: >> **https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/> >> *blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/> >> * >> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri> >> * >> linked-in: >> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
