[jira] [Updated] (CXF-4575) Could not find any node with XPath expression
[ https://issues.apache.org/jira/browse/CXF-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Osmar Miraval updated CXF-4575: --- Description: I have wsdl and xsd in files separate when attempt generate java files show the next error: [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java (generate-sources) on project svOrder: Execution generate-sources of goal org.a pache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java failed: Could not find any node wit h the XPath expression: //wsdl:definitions/wsdl:types/xs:schema[@targetNamespace ='http://www.axcess-financial.com.pe/schema/transaction'] -> [Help 1] this is code chunk from pom.xml generate-sources generate-sources ${basedir}/src/main/java ${basedir}/src/main/resources/wsdl/WSOrder.wsdl classpath:wsdl/WSOrder.wsdl -b ${basedir}/src/main/resources/binding.xml wsdl2java {code} this is code chunk from binding.xml http://java.sun.com/xml/ns/jaxws"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:jxb="http://java.sun.com/xml/ns/jaxb"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> http://www.axcess-financial.com.pe/schema/transaction']"> http://java.sun.com/xml/ns/jaxb"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> {code} was: I have wsdl and xsd in files separate when attempt generate java files show the next error: [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java (generate-sources) on project svOrder: Execution generate-sources of goal org.a pache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java failed: Could not find any node wit h the XPath expression: //wsdl:definitions/wsdl:types/xs:schema[@targetNamespace ='http://www.axcess-financial.com.pe/schema/transaction'] -> [Help 1] this is code chunk code from pom.xml {code} generate-sources generate-sources ${basedir}/src/main/java ${basedir}/src/main/resources/wsdl/WSOrder.wsdl classpath:wsdl/WSOrder.wsdl -b ${basedir}/src/main/resources/binding.xml wsdl2java {code} this is code chunk code from binding.xml {code} http://java.sun.com/xml/ns/jaxws"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:jxb="http://java.sun.com/xml/ns/jaxb"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> http://www.axcess-financial.com.pe/schema/transaction']"> http://java.sun.com/xml/ns/jaxb"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> {code} > Could not find any node with XPath expression > - > > Key: CXF-4575 > URL: https://issues.apache.org/jira/browse/CXF-4575 > Project: CXF > Issue Type: Bug >Affects Versions: 2.7.0 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) > Java version: 1.6.0_35, vendor: Sun Microsystems Inc. > Default locale: es_PE, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Osmar Miraval > Attachments: Order.xsd, WSOrder.wsdl > > > I have wsdl and xsd in files separate when attempt generate java files show > the next error: > [ERROR] Failed to execute goal > org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java > (generate-sources) on project svOrder: Execution generate-sources of goal > org.a > pache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java failed: Could not find any node > wit > h the XPath expression: > //wsdl:definitions/wsdl:types/xs:schema[@targetNamespace > ='http://www.axcess-financial.com.pe/schema/transaction'] -> [Help 1] > this is code chunk from pom.xml > > generate-sources > generate-sources > > ${basedir}/src/main/java > > > > ${basedir}/src/main/resources/wsdl/WSOrder.wsdl > > classpath:wsdl/WSOrder.wsdl > > -b > > ${basedir}/src/main/resources/binding.xml >
[jira] [Updated] (CXF-4575) Could not find any node with XPath expression
[ https://issues.apache.org/jira/browse/CXF-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Osmar Miraval updated CXF-4575: --- Attachment: Order.xsd WSOrder.wsdl > Could not find any node with XPath expression > - > > Key: CXF-4575 > URL: https://issues.apache.org/jira/browse/CXF-4575 > Project: CXF > Issue Type: Bug >Affects Versions: 2.7.0 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) > Java version: 1.6.0_35, vendor: Sun Microsystems Inc. > Default locale: es_PE, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Osmar Miraval > Attachments: Order.xsd, WSOrder.wsdl > > > I have wsdl and xsd in files separate when attempt generate java files show > the next error: > [ERROR] Failed to execute goal > org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java > (generate-sources) on project svOrder: Execution generate-sources of goal > org.a > pache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java failed: Could not find any node > wit > h the XPath expression: > //wsdl:definitions/wsdl:types/xs:schema[@targetNamespace > ='http://www.axcess-financial.com.pe/schema/transaction'] -> [Help 1] > this is code chunk code from pom.xml > > generate-sources > generate-sources > > ${basedir}/src/main/java > > > > ${basedir}/src/main/resources/wsdl/WSOrder.wsdl > > classpath:wsdl/WSOrder.wsdl > > -b > > ${basedir}/src/main/resources/binding.xml > > > > > > wsdl2java > > > this is code chunk code from binding.xml > > xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"; > xmlns:xs="http://www.w3.org/2001/XMLSchema"; > xmlns:jxb="http://java.sun.com/xml/ns/jaxb"; > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> > > node="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='http://www.axcess-financial.com.pe/schema/transaction']"> > http://java.sun.com/xml/ns/jaxb"; > xmlns:xs="http://www.w3.org/2001/XMLSchema";> > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CXF-4575) Could not find any node with XPath expression
Osmar Miraval created CXF-4575: -- Summary: Could not find any node with XPath expression Key: CXF-4575 URL: https://issues.apache.org/jira/browse/CXF-4575 Project: CXF Issue Type: Bug Affects Versions: 2.7.0 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Java version: 1.6.0_35, vendor: Sun Microsystems Inc. Default locale: es_PE, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" Reporter: Osmar Miraval I have wsdl and xsd in files separate when attempt generate java files show the next error: [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java (generate-sources) on project svOrder: Execution generate-sources of goal org.a pache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java failed: Could not find any node wit h the XPath expression: //wsdl:definitions/wsdl:types/xs:schema[@targetNamespace ='http://www.axcess-financial.com.pe/schema/transaction'] -> [Help 1] this is code chunk code from pom.xml generate-sources generate-sources ${basedir}/src/main/java ${basedir}/src/main/resources/wsdl/WSOrder.wsdl classpath:wsdl/WSOrder.wsdl -b ${basedir}/src/main/resources/binding.xml wsdl2java this is code chunk code from binding.xml http://java.sun.com/xml/ns/jaxws"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:jxb="http://java.sun.com/xml/ns/jaxb"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> http://www.axcess-financial.com.pe/schema/transaction']"> http://java.sun.com/xml/ns/jaxb"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira