02-18-06 03:50 AM
did u extend the Output schema for Flat file??
Regards,
BizWorld
<jimadams@millard.com> wrote in message
news:1139941330.792312.142280@g47g2000cwa.googlegroups.com...
>I have a mapping created for an orchestration. It maps an XML file to
> a comma delimited flat file. At one time the map worked when it was
> applied to the send port of my orchestration. When I went back to it
> after a couple weeks of not working on it, the mapping did not work.
> It outputs a comma delimited flat file but there is no data. I tried
> putting the mapping in the orchestration and I get the same results.
> When I tested the mapping I got the following error: Native
> serialization error: The path is not of a legal form. However, I get
> an xml file outputted that has all the data in it and has the structure
> of the flat file except it is in xml format instead of the flat file
> format (I have the output set to Native). I am including the schemas
> for the xml and the flat file. Any help or insight would be greatly
> appreciated.
>
> INPUT XML FILE
>
> <?xml version="1.0" encoding="utf-16"?>
> <xs:schema xmlns="http://DMEXLoad.Schemas.DMEUpLoadRecv"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> targetNamespace="http://DMEXLoad.Schemas.DMEUpLoadRecv"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
> <xs:element name="DMEUpLoadRoot">
> <xs:complexType>
> <xs:sequence>
> <xs:element minOccurs="1" maxOccurs="1" name="OrderRec">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="TransmissionBatchDate">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="ListName">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MailerName">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="BrokerOrderNumber">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="QtyShipped">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:integer" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="ShippedVia">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="ShippedDate">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="Waybill">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MaterialShipped">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="VolumeSerialNumber">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="ShippingCharge">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:decimal" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MailDate">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="OrderSelect">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="QtyOrdered">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:integer" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="OwnrMgrPoNumber">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="DateOrderReceived">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="OwnerMgrContactName">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="OwnerMgrContactPhone">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="OwnerMgrContactEmail">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MGIOrderNumber">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MGISalesman">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MGIListNumber">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MGIOwner">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MGIEndUser">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="MGIClient">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="RowID">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:integer" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="BatchNumber">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="DateShippingEntered">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> <xs:element name="ShippingEnteredBy">
> <xs:complexType>
> <xs:simpleContent>
> <xs:extension base="xs:string" />
> </xs:simpleContent>
> </xs:complexType>
> </xs:element>
> </xs:sequence>
> <xs:attribute name="RecordType" type="xs:string"
> use="required" />
> <xs:attribute name="CompanyAcronym" type="xs:string" />
> </xs:complexType>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
>
> OUTPUT FLAT FILE
>
> <?xml version="1.0" encoding="utf-16"?>
> <xs:schema xmlns="http://DMEXLoad.Schemas.ALCShippingReceivedCSV"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> targetNamespace="http://DMEXLoad.Schemas.ALCShippingReceivedCSV"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
> <xs:annotation>
> <xs:appinfo>
> <schemaEditorExtension:schemaInfo namespaceAlias="b"
> extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension"
> standardName="Flat File"
> xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/Sch
emaEditorExtensions"
> />
> <b:schemaInfo count_positions_by_byte="false" standard="Flat
> File" default_child_order="prefix" root_reference="ShippingOrders" />
> </xs:appinfo>
> </xs:annotation>
> <xs:element name="ShippingOrders">
> <xs:annotation>
> <xs:appinfo>
> <b:recordInfo structure="delimited" sequence_number="1"
> preserve_delimiter_for_empty_data="true"
> suppress_trailing_delimiters="true" child_delimiter_type="hex"
> child_delimiter="0x0D 0x0A" child_order="postfix" />
> </xs:appinfo>
> </xs:annotation>
> <xs:complexType>
> <xs:sequence>
> <xs:annotation>
> <xs:appinfo>
> <b:groupInfo sequence_number="0" />
> </xs:appinfo>
> </xs:annotation>
> <xs:element minOccurs="1" maxOccurs="unbounded"
> name="OrderDetail">
> <xs:annotation>
> <xs:appinfo>
> <b:recordInfo structure="delimited"
> preserve_delimiter_for_empty_data="true"
> suppress_trailing_delimiters="true" sequence_number="1"
> child_delimiter_type="char" child_delimiter="," child_order="infix" />
> </xs:appinfo>
> </xs:annotation>
> <xs:complexType>
> <xs:sequence>
> <xs:annotation>
> <xs:appinfo>
> <b:groupInfo sequence_number="0" />
> </xs:appinfo>
> </xs:annotation>
> <xs:element name="RecordType" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="1"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="TransmissionBatchDateTime"
> nillable="true" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="2"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="ListName" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="3"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="MailerName" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="4"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="BrokersOrderNumber" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="5"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="QuantityShipped" nillable="true"
> type="xs:int">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="6"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="ShippedVia" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="7"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="ShippedDate" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="8"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="WayBillAirBill" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="9"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="MaterialShipped" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="10"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="VolumeSerialNumber" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="11"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="ShippingCharge" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="12"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="MailDate" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="13"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="Select" nillable="true"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="14"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="QTYOrdered" nillable="true"
> type="xs:int">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="15"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="OwnerManagerPONumber" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="16"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="DateReceived" type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="17"
> justification="left" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="OwnerManagerContactName"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="18"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="OwnerManagerContactPhone"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="19"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> <xs:element name="OwnerManagerContactEmail"
> type="xs:string">
> <xs:annotation>
> <xs:appinfo>
> <b:fieldInfo sequence_number="20"
> justification="left" wrap_char_type="char" wrap_char=""" />
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
>
> Thanks in advance for your help!
>
> Jim
>
[ Post a follow-up to this message ]
|