Denzil Pinto님의 프로필TheBuzz사진블로그리스트 도구 도움말

블로그


    5월 9일

    BizTalk Map

    What is a BizTalk Mapper ?
     
    BizTalk mapper is a transformation tool that transforms or translate data from one schema to another.
     
    What is a BizTalk Map ?
     
    A BizTalk map is a XML file that defines the data between records and fields in source and destination schemas.
     
    To begin create a map using the BizTalk Mapper.
     
    Lets create two schemas
     
    Open Visual Studio and then select File > New Project.
    From the list of templates select Empty BizTalk Project and type in a desired name for your project file.
     
    Now lets create two new schemas. If you dont know how, go through the earlier blog entries and that should help you. 
    • The first schema I have named it OrderItems.xsd. Right Click on the Root node and then click on Rename.
    • Type Order as the new name, and then press Enter.
    • Right Click again and select Insert Schema Node and click on Child Field Element and create two field elements : OrderID, Description.

    Now lets create another schema file and call it Purchase.xsd

    • Right Click on the Root node and then click on Rename.
    • Type Purchase as the new name, and then press Enter.
    • Right Click again and select Insert Schema Node and click on Child Field Element and create two field elements : OrderID, Description.

    Now that we have two schemas lets now create a new map that will help us tranform the data from one schema to another.

    • Right Click on your Project file and select Add > Add New Item. From the templates select map and enter a new name and click on Open. I like being a little too descriptive hence I have entered the name of the map as "OrderItems_To_Purchase_map.btm". This helps me remember which is the source and the destination schemas. OrderItems here is the source and we are transforming the data to the Purchase schema which is the destination schema.

    Now that we have our map opened in the BizTalk mapper. You will notice the left hand side as the Source Schema and the right hand side as the Destination Schema.

    • Click on Open Source Schema and from the Schemas select OrderItems.
    • Click on Open Destination Schema and from the Schemas select Purchase.

    Now you might have some trouble loading the schemas and it may just show you the Root node. Well you will need to save the schemas inorder for them to load in the mapper, so if you cannot see them loaded in the mapper, click on the orderItems and click Save and do the same for the Purchase schema as well. The bizTalk mapper will sense any changes and will prompt you to reload the schemas.

     

    You should now be able to see your schemas in the BizTalk mapper. Now click on OrderID in the Source Schema and then drag it across the grid to the destination field " OrderID" in the destination schema. Repeat this for the description. The lines that you see show how the fields have been mapped between the source and the destination. Now save your new map.

     

    댓글

    잠시만 기다려 주세요...
    죄송합니다. 입력한 댓글이 너무 깁니다. 내용을 줄여 보세요.
    입력한 내용이 없습니다. 다시 시도해 보세요.
    죄송합니다. 지금은 댓글을 추가할 수 없습니다. 나중에 다시 시도해 보세요.
    댓글을 추가하려면 부모님의 사용 허락이 필요합니다. 허용 요청
    부모님이 댓글 기능을 해제한 상태입니다.
    죄송합니다. 지금은 댓글을 삭제할 수 없습니다. 나중에 다시 시도해 보세요.
    하루에 남길 수 있는 댓글의 최대 한도를 초과했습니다. 24시간 후에 다시 시도해 보세요.
    회원님의 계정은 다른 사용자에게 스팸 메일을 보낼 수 있다고 여겨지므로 댓글 기능이 비활성화되어 있습니다. 이 설정에 문제가 있다고 생각되면 Windows Live 지원에 문의하시기 바랍니다.
    댓글을 남기려면 아래 보안 검사를 완료해야 합니다.
    보안 검사에 입력한 글자는 그림 또는 오디오에 있는 글자와 일치해야 합니다.

    댓글을 추가하려면 Windows Live ID로 로그인하세요. 핫메일, 메신저 또는 Xbox LIVE를 사용하는 경우 해당 계정을 Windows Live ID로 사용할 수 있습니다.로그인


    Windows Live ID가 없으신가요? 등록

    트랙백

    이 블로그의 트랙백 URL은 다음과 같습니다.
    http://denzilpinto.spaces.live.com/blog/cns!A2256C53CD2EC18E!170.trak
    이 블로그를 참조하는 웹 로그
    • 없음