Commerce Server General - Retrieve Orders in the chosen schema (Biztalk receive adapters)

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > October 2006 > Retrieve Orders in the chosen schema (Biztalk receive adapters)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Retrieve Orders in the chosen schema (Biztalk receive adapters)
prasen67@yahoo.com

2006-10-25, 1:24 am

When I use the Commerce Server Receive adapater for Biztalk to retrieve
Purchase Orders, it gives me the results in the OrderGroup schema

<OrderGroups xmlns="">
<PurchaseOrder>
<body />
</PurchaseOrder>
</OrderGroups>

instead of the PurchaseOrder schema

<PurchaseOrder xmlns="...">
<body />
</PurchaseOrder>

Which I want. How do I effect this?

Jeff Lynch

2006-10-25, 1:24 am

The OrderGroupCollection schema is what the new Orders adapter emits by
default. It contains 0 to n PurchaseOrder elements. Are you having trouble
using the OrderGroupCollection schema in BizTalk Server 2006?

--
Jeff Lynch
MVP Windows Server System - Commerce Server
http://codebetter.com/blogs/jeff.lynch


<prasen67@yahoo.com> wrote in message
news:1161643245.465906.49460@m73g2000cwd.googlegroups.com...
> When I use the Commerce Server Receive adapater for Biztalk to retrieve
> Purchase Orders, it gives me the results in the OrderGroup schema
>
> <OrderGroups xmlns="">
> <PurchaseOrder>
> <body />
> </PurchaseOrder>
> </OrderGroups>
>
> instead of the PurchaseOrder schema
>
> <PurchaseOrder xmlns="...">
> <body />
> </PurchaseOrder>
>
> Which I want. How do I effect this?
>



prasen67@yahoo.com

2006-10-25, 1:24 am

No trouble as such but I have already constructed a complicated map
extending to 6 grid pages, which is mapped to the PurchaseOrder root
schema. Now to redo all that with the OrderGroup root node is a helluva
grunt job.

But I guess I can always do a Find-Replace of the .btm file in text
editor to replace the //PurchaseOrder root with
//OrderGroup/PurchaseOrder ?

Thanks!

Jeff Lynch wrote:
> The OrderGroupCollection schema is what the new Orders adapter emits by
> default. It contains 0 to n PurchaseOrder elements. Are you having trouble
> using the OrderGroupCollection schema in BizTalk Server 2006?
>
> --


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com