Author |
Message
|
pawargmat |
Posted: Fri Jul 29, 2005 1:30 am Post subject: Mapping Node - Mapping Input does not show all the types!!! |
|
|
Novice
Joined: 13 Feb 2004 Posts: 14
|
Hi,
I've imported the following XML shema into a message set. When I add it as input message in a mapping node, the elements in type GdexBaseVO are not available for mapping!!.. I'm on CSD 4. Is there a problem with the schema or Mapping node?
<?xml version="1.0" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Address" type="AddressVO"/>
<xs:simpleType name="char">
<xs:restriction base="xs:string">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="AccountVO">
<xs:complexContent>
<xs:extension base="BaseEntityVO">
<xs:sequence>
<xs:element name="accountGroup" type="xs:string" nillable="true"/>
<xs:element name="accountNumber" type="xs:string" nillable="true"/>
<xs:element name="customsID" type="xs:string" nillable="true"/>
<xs:element name="department" type="xs:string" nillable="true"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AddressVO">
<xs:complexContent>
<xs:extension base="GdexBaseVO">
<xs:sequence>
<xs:element name="VATNumber" type="xs:string" nillable="true"/>
<xs:element name="addressLine1" type="xs:string" nillable="true"/>
<xs:element name="addressLine2" type="xs:string" nillable="true"/>
<xs:element name="addressLine3" type="xs:string" nillable="true"/>
<xs:element name="addressTypeCode" type="char"/>
<xs:element name="city" type="xs:string" nillable="true"/>
<xs:element name="companyName" type="xs:string" nillable="true"/>
<xs:element name="conNumber" type="xs:string" nillable="true"/>
<xs:element name="contactName" type="xs:string" nillable="true"/>
<xs:element name="countryISO" type="xs:string" nillable="true"/>
<xs:element name="postCode" type="xs:string" nillable="true"/>
<xs:element name="premiseNumber" type="xs:string" nillable="true"/>
<xs:element name="provinceName" type="xs:string" nillable="true"/>
<xs:element name="telephoneAreaCode" type="xs:string" nillable="true"/>
<xs:element name="telephoneNumber" type="xs:string" nillable="true"/>
<xs:element name="account" type="AccountVO" nillable="true"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BaseEntityVO">
<xs:sequence>
<xs:element name="addDate" type="xs:dateTime" nillable="true"/>
<xs:element name="addUserId" type="xs:string" nillable="true"/>
<xs:element name="softlockTime" type="xs:dateTime" nillable="true"/>
<xs:element name="updateDate" type="xs:dateTime" nillable="true"/>
<xs:element name="updateUserId" type="xs:string" nillable="true"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="idref" type="xs:IDREF"/>
<xs:attribute name="votype" type="xs:string"/>
</xs:complexType>
<xs:complexType name="GdexBaseVO">
<xs:complexContent>
<xs:extension base="BaseEntityVO">
<xs:sequence>
<xs:element name="conEntryDepot" type="xs:string" nillable="true"/>
<xs:element name="gdexActionCode" type="char"/>
<xs:element name="legacyConNumber" type="xs:string" nillable="true"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
Thanks
Pawar. |
|
Back to top |
|
 |
pawargmat |
Posted: Tue Aug 02, 2005 12:37 am Post subject: |
|
|
Novice
Joined: 13 Feb 2004 Posts: 14
|
Please let me know if anybody has tried to import the schema and used it as an input in a mapping node.. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Aug 02, 2005 3:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you set the message flow project to be dependant on the message set project? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pawargmat |
Posted: Tue Aug 02, 2005 4:03 am Post subject: |
|
|
Novice
Joined: 13 Feb 2004 Posts: 14
|
jefflowrey wrote: |
Did you set the message flow project to be dependant on the message set project? |
Yes. |
|
Back to top |
|
 |
fazz |
Posted: Wed Apr 05, 2006 1:24 am Post subject: |
|
|
 Centurion
Joined: 20 Feb 2004 Posts: 144 Location: England
|
Did you ever find out why this was happening, I have just hit the same problem....
Message looks like its imported ok, can see all elements, types etc...but when added to the mapping node, the types are missing, very odd.
Cheers |
|
Back to top |
|
 |
shanson |
Posted: Thu Apr 13, 2006 4:44 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
|
Back to top |
|
 |
|