I get the following error when trying to generate code a xsd that has an
import from a non local xsd. Any suggestions would be greatly
appreciated. thanks
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bf="
http://docs.oasis-open.org/wsrf/bf-2" xmlns:NWFault="
http://nationwide.com/schemas/iaa7_1/customerrelationshipmanagement/ecif/NWFault
" targetNamespace="
http://nationwide.com/schemas/iaa7_1/customerrelationshipmanagement/ecif/NWFault
" elementFormDefault="qualified" attributeFormDefault="unqualified"
version="1.6.0">
<xsd:include schemaLocation="PayloadHeader3_1.xsd"/>
<xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"
schemaLocation="http://docs.oasis-open.org/wsrf/bf-2.xsd"/>
java -cp C:\programs\jibx1.2.5\jibx\lib\jibx-tools.jar
org.jibx.schema.codegen.CodeGen NWFault_1_6.xsd
C:\programs\jibx1.2.5\jibx\lib>java -cp
C:\programs\jibx1.2.5\jibx\lib\jibx-tools.jar
org.jibx.schema.codegen.CodeGen NWFault_1_6.xsd
Fatal: Error loading schema: docs.oasis-open.org for import at (line 4,
col 122, in NWFault_1_6.xsd)
FATAL codegen.CodeGen - Error loading schema: docs.oasis-open.org for
import at(line 4, col 122, in NWFault_1_6.xsd)
Fatal: Referenced type '{http://docs.oasis-open.org/wsrf/bf-2
}:BaseFaultType' is not defined for extension at (line 8, col 44, in
NWFault_1_6.xsd)
FATAL codegen.CodeGen - Referenced type '{
http://docs.oasis-open.org/wsrf/bf-2}:BaseFaultType' is not defined for
extension at (line 8, col 44, in NWFault_1_6.xsd)
Terminating due to errors in input schemas FATAL codegen.CodeGen -
Terminating processing: Terminating due to errors in input schemas
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users