IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Add an element between another two existents

  • 1.  Add an element between another two existents

    Posted 02/01/07 04:57 PM

    Hi.
    I need to add an element (optional, of course) to my schema (that have a lot of XMLs) between another two elements in a sequence.
    When I try to update the schema I obtain this:

    <ino:response xmlns:ino="http://namespaces.softwareag.com/tamino/response2" xmlns:xql="http://metalab.unc.edu/xql/">
    <ino:message ino:returnvalue="7946">
    <ino:messagetext ino:code="INOXDE7946">Mismatch of element or attribute name detected during schema update</ino:messagetext>
    <ino:messageline>Line 147, Column 3: old schema:  tsd:doctype : DDJJ-ARIB, &#10; xs:element : DDJJ-ARIB, &#10; xs:element : DDJJ-ARIB, &#10; xs:complexType, &#10; xs equence, &#10; xs:element : DATOS-WEB, &#10; xs:element : DATOS-WEB, &#10; xs:complexType, &#10; xs equence, &#10; xs:element : C-TIPO-CONTRI, &#10; xs:element : C-TIPO-CONTRI , new schema:  tsd:doctype : DDJJ-ARIB, &#10; xs:element : DDJJ-ARIB, &#10; xs:element : DDJJ-ARIB, &#10; xs:complexType, &#10; xs equence, &#10; xs:element : DATOS-WEB, &#10; xs:element : DATOS-WEB, &#10; xs:complexType, &#10; xs equence, &#10; xs:element : N-DEDUC, &#10; xs:element : N-DEDUC</ino:messageline>
    </ino:message>
    </ino:response>

    … where N-DEDUC is my new element that has to be placed before C-TIPO-CONTRI.
    It is posible to upgrade the schema or I’ve to delete it and replace it (not an option…)?


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Add an element between another two existents

    Posted 02/01/07 08:27 PM