Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
|
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 12th, 2006, 11:32 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with mapping

Hi, I'm new in biztalk and I need to solve this problem.

I'm receiving messages like this

<ns0:SCADA_MEDICION punto_medicion="punto_medicion_0" />
    <ns0:cromatografia poder_calorifico="10.4" densidad="10.4" />
</ns0:SCADA_MEDICION>


Then I need to transform them to this one

<ns0:Medicion>
  <Header>
    <Punto_Medicion>Punto_Medicion_0</Punto_Medicion>
  </Header>
  <Tags>
    <Tag>
      <Description>poder_calorifico</Description>
      <Value>10.4</Value>
    </Tag>
    <Tag>
      <Description>densidad</Description>
      <Value>10.4</Value>
    </Tag>
  </Tags>
</ns0:Medicion>


Can I resolve the problem using schemas and maps? or I need to write some code?

Somebody can help me?

Thanks in advance.

Mauricio Bs. As - Argentina
 
Old March 3rd, 2006, 11:32 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You just need to create two schemas, one for each message. You can then create a map that converts one to the other using the graphical map tool. The orchestration will just consist of a receive port, a transformation and a send port. No actual code needs to be hand written.

--

Joe (Microsoft MVP - XML)
 
Old August 16th, 2006, 06:47 AM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anuphshah
Default

Hi Joe..
Can you please tell me how to incorporate this mapper in the Orchestration file between Send and Receive Ports???

Your quick reply will be really appreciated..

-Anup






Similar Threads
Thread Thread Starter Forum Replies Last Post
O/R mapping many to many relationship popoxinhxan BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 August 17th, 2006 11:18 PM
Character Mapping muki XSLT 2 November 11th, 2005 03:11 AM
O/R mapping s_sana General .NET 0 April 12th, 2005 06:34 AM
Mapping SID Anantsharma SQL Server 2000 2 February 10th, 2005 05:32 AM
mapping a database. kyootepuffy Classic ASP Databases 11 August 22nd, 2003 03:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.