Note that there are some explanatory texts on larger screens.

plurals
  1. POJiBx error when inlcuding other schema
    primarykey
    data
    text
    <p>Here is the schema I am using for JiBx to codegen and bind.</p> <pre><code>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.abc.com/abc/service/APIService" targetNamespace="http://www.abc.com/abc/service/Service" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0"&gt; &lt;xs:include schemaLocation="OTA_AirLowFareSearchRQ.xsd"/&gt; &lt;xs:include schemaLocation="OTA_AirLowFareSearchRS.xsd"/&gt; &lt;xs:element name="APIRequest"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element ref="OTA_AirLowFareSearchRQ"/&gt; &lt;/xs:sequence&gt; &lt;xs:attribute name="version" type="xs:string" use="required"/&gt; &lt;xs:attribute name="bdmVersion" type="xs:string" use="required"/&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;xs:element name="APIResponse"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:annotation&gt; &lt;xs:documentation xml:lang="en"&gt;All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm&lt;/xs:documentation&gt; &lt;/xs:annotation&gt; &lt;xs:element ref="OTA_AirLowFareSearchRS"/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; </code></pre> <p></p> <p>and this is the error I am getting when trying to generate code. ERROR codegen.CodeGen - Error: Referenced element '{http://www.abc.com/abc/service/APIService}:OTA_AirLowFareSearchRQ' is not defined for 'element' at (line 11, col 47, in APIService.xsd).</p> <p>Any help is highly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload