Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 12th, 2006, 11:32 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old March 3rd, 2006, 11:32 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
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)
Reply With Quote
  #3 (permalink)  
Old August 16th, 2006, 06:47 AM
Registered User
 
Join Date: Aug 2006
Location: , , .
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:49 AM.


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