01-28-05 07:46 AM
How did you map the data between the two messages? Can you show the map
that you used? did you test your map outside of the orchestration to make
sure it worked for you?
matt
"Scot S" <ScotS@discussions.microsoft.com> wrote in message
news:6B9374AA-F8C2-4635-80BD-435CE4BADE1A@microsoft.com...
> I've got a receive location where I'm doing a sql statement, that
> dumps out an XML file to a send port. The sql is below
>
> SELECT top 1 header.sannumber, detail.ponum, detail.podate,
> detail.vendorid,
> detail.isbnupc, detail.Newused, detail.poreqqty FROM tblPOs
> detail,
> edi_vendor_info header WHERE detail.status = 'opn' AND detail.vendorid
> =
> header.vendorid and header.pubnet_indicator = 1 FOR xml auto, elements
>
> I get a good formatted XML file.
> Next, I'm trying to pull in the XML file into a receive location bound to
> a project... I was using covast to run the data over to an 850 (PO)
> schema, and I started to have problems. I was getting a lot of NULL data.
> So, I tried to simply dump the read XML file... out to another XML file.
> The output XML file doesn't have any data in it.
> Here is the starting XML file.
>
> - <Root xmlns="http://SQLReceivePubnet850">
> - <header>
> <sannumber>2813769</sannumber>
> - <detail>
> <ponum>369269</ponum>
> <podate>20041105</podate>
> <vendorid>10400</vendorid>
> <isbnupc>0406949972</isbnupc>
> <Newused>N</Newused>
> <poreqqty>1</poreqqty>
> </detail>
> </header>
> </Root>
>
> The output XML is below.
>
> - <ns0:Root xmlns:ns0="http://TestXMLProject1.Schema1">
> - <header>
> <sannumber />
> - <detail>
> <ponum />
> <podate />
> <vendorid />
> <isbnupc />
> <Newused />
> <poreqqty />
> </detail>
> </header>
> </ns0:Root>
>
> I'm not getting any errors... it just doesn't show anything in the output
> file.
> Anyone have any ideas?
> The orchestration is a straight field to field mapping.
[ Post a follow-up to this message ]
|