ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » BO Structure for XMLDatahanler

Post new topic  Reply to topic
 BO Structure for XMLDatahanler « View previous topic :: View next topic » 
Author Message
adriandragos
PostPosted: Sat Sep 24, 2005 5:07 pm    Post subject: BO Structure for XMLDatahanler Reply with quote

Newbie

Joined: 08 Aug 2005
Posts: 7
Location: Bucharest

Hello

I have a schema similar to that below.
Code:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
   <xs:complexType name="ComplexType1">
      <xs:sequence>
         <xs:element name="Elem1" type="ComplexType2"/>
         <xs:element name="Elem2" type="ComplexType2"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="ComplexType2">
      <xs:simpleContent>
         <xs:extension base="xs:anySimpleType">
            <xs:attribute name="Attr1" use="required"/>
         </xs:extension>
      </xs:simpleContent>
   </xs:complexType>
   <xs:element name="ROOTElement" type="ComplexType1"/>
</xs:schema>

XML ODA generated the following structure of business objectes:
Code:

Attribute Name            Type                  Application Specific Information
ROOT                  ComplexType1_ROOTElement   elem_name=ROOTElement
   Elem1               ROOTElement_ComplexType2   elem_name=Elem1
      Attr1            String                  attr_name=Attr1;type=attribute
      ComplexType2      String                   elem_name=Elem1;type=pcdata;notag
   Elem2               ROOTElement_ComplexType2   elem_name=Elem2   
      Attr1            String                  attr_name=Attr1;type=attribute
      ComplexType2      String                  elem_name=Elem1;type=pcdata;notag

The datahandler does not fill the ComplexType2 attribute in the Elem2 child BO because in it's application specific information elem_name=Elem1.

Is there any possibility not to use different BOs for each child?
The only thing I can not modify is the schema.

Thanks in advance
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » BO Structure for XMLDatahanler
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.