# Error creating record from xml schema

**URL:** <https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177>\
**Category:** Forum\
**Created:** [March 11, 2003, 9:12pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177 "2003-03-11T21:12:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven.robinson.15497](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@steven.robinson.15497](https://techcommunity.softwareag.com/u/steven.robinson.15497)\
**Post date:** [March 11, 2003, 9:12pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/1 "2003-03-11T21:12:00Z")

</div>

I am trying to create a record from a xml schema. The schema I am using is well formed and valid. Once I pick the xsd file from the drop down in the and click finish, I am getting the following error:  
Warning: 0   
identifier: /schema/complexType[@name=“InvoiceLineItemTypeTR”]

```
source: ----- Source -----	
<complexType abstract="false" mixed="false" name="InvoiceLineItemTypeTR">	

```

.  
.  
.  
warningCode: XSDC-081   
warningMessage: [B2BCORE.0082.9702] Duplicate definition found in another schema with the same target namespace

I do not understand why the integration server can not create this record and schema from the xml schema, has anyone run into the this before?

---

<div class="post-metadata">

**Author:** ![fred.hartman.5916](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@fred.hartman.5916](https://techcommunity.softwareag.com/u/fred.hartman.5916)\
**Post date:** [March 13, 2003, 3:24pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/2 "2003-03-13T15:24:00Z")

</div>

This is a warning and should not impact the creation of the Record.

The message is telling you that the XML Schema type (as defined with a namespace, localName pair) has already been defined in an IS Schema object that is already in one of the packages on your IS.

If you are using schemas that have ‘high-level’ contructs that use the same ‘base’ types, it is possible to get this warning without doing anything ‘wrong’.

IS assumes that the existing uniquely defined type is to be used and does not create a new one.

Are there problems with the generated Record?

---

<div class="post-metadata">

**Author:** ![steven.robinson.15497](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@steven.robinson.15497](https://techcommunity.softwareag.com/u/steven.robinson.15497)\
**Post date:** [March 13, 2003, 7:41pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/3 "2003-03-13T19:41:00Z")

</div>

well, honestly I am not sure.

---

<div class="post-metadata">

**Author:** ![fred.hartman.5916](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@fred.hartman.5916](https://techcommunity.softwareag.com/u/fred.hartman.5916)\
**Post date:** [March 14, 2003, 6:42pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/4 "2003-03-14T18:42:00Z")

</div>

I’m missing part of your message, but if you are worried that there are multiple records created from a single schema - don’t be.

IS will look in the schema for ‘repeating chunks’ and make these sub-parts of the record into their own records. The ‘main’ record will contain record references to these sub-parts.

The reason this is done is to allow re-use of the sub-parts to make mapping easier (as the parts are built into or decomposed from the full document).

HTH,  
Fred

---

<div class="post-metadata">

**Author:** ![steven.robinson.15497](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@steven.robinson.15497](https://techcommunity.softwareag.com/u/steven.robinson.15497)\
**Post date:** [March 17, 2003, 6:03pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/5 "2003-03-17T18:03:00Z")

</div>

gotcha, I have about half a dozen schemas and some are including a library. The duplicate records created for each of the schemas that include that library makes sense. Also, the fact that all these schema reference the same namespace was the reason for the warning message. Thanks for the info.  
steve

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:55pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/6 "2021-04-02T14:55:30Z")

</div>

Closed on April 2, 2021, 2:55pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [June 12, 2025, 2:49pm UTC](https://techcommunity.softwareag.com/t/error-creating-record-from-xml-schema/87177/7 "2025-06-12T14:49:29Z")

</div>

Unlisted on June 12, 2025, 2:49pm UTC


