Biztalk 2006 Question – Srini

Home Page Forums BizTalk 2004 – BizTalk 2010 Biztalk 2006 Question – Srini

Viewing 1 reply thread
  • Author
    Posts
    • #21525

      Hi

      I posted my question but somehow i cant find in the forums. I m posting it again.

      I created biztalk solution with a source schema and a destination schema. I m using XSLT so the field checking and mapping is done there. My scenario is to picup the text file and put it in the out folder matching the destination schema.

      Created send port called spcarefirst – points to out folder and the sendpipeline is set to XMLTransmit

      Created receive port called rpcarefirst

      Created rlcarefirstlocation points to IN folder – Receive pipeline used is DefaultpipelinesPassthruReceive

      I m not too sure if thats right. Can someone please let me know if thats right. My input is a txt file and output required is a XML file

      In VS Solution no errors and deployed it. File is being picked up but nothing in the OUT foldr.

      Any help appreciated.

      Thanks

      Srini

    • #21528

       

      Hi, not sure from your description if you’ve already done these steps: usually you define a flat file schema for your txt file. This will defile how the flat file gets transformed to XML. Then create a pipeline with the flat file disassembler component in it that references the flat file schema you created. If the output of the flat fiel schema is not exactly in the XML format you want you can create your destination schema and create a map between the flat file schema and the destination xml schema. Tthen deploy the solution and on your receive port select the pipeline you created and not the pass thru receive one. On the send port add a filter under the Filters tab on the send port configuration so that it filters on the receive port name (BTS.ReceivePortName = your receive port name), or on the flat file message type.

      Hope this helps!

      Thiago Almeida

      http://connectedthoughts.wordpress.com

       

      • #21532

        Hi I got over the problem.

        Now the error i get is

        <code>

        The Messaging Engine failed while executing the inbound map for the message coming from source URL:”C:\Documents and Settings\sharmas\My Documents\Visual Studio 2005\Projects\CareFirst\CareFirst\IN\*.xml” with the Message Type “CarefirstHullClient”. Details:”Document type “http://schemas.xyz.com/ISA/1.0/core/rt2#Records” does not match any of the given schemas. ”

        </code>

        I presume its the xml file not matching with the destination schema.

        I m using XSLT as well.

        Srini

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.