community-content

Forum Replies Created

Viewing 15 posts - 9,196 through 9,210 (of 9,652 total)
  • Author
    Posts
  • in reply to: Files transfer #12596

    hi Stephen,

    We have multiple files to be transfer, so is it work for the same?

    Can you just tell me how to add FILE adapter without using orchestration?

    Thanks

    in reply to: Having trouble configuring biztalk2k6 application #14281

    Steve,

    I wanted to bind the ports by configuring the application through biztalk admin console.

    Anyways, I fixed the problem. I created a brand new solution and added all the artefacts to it and now I am able to configure the application….

    I appreciate the help

    in reply to: DB2 adapter in Biztalk server 2004 #12602

    Thanks for the help
    How Host Integration Server helps in connecting to db2 with BizTalk Server 2004. will it be useful in any way.

    subbu

    in reply to: DB2 adapter in Biztalk server 2004 #12603

    Both Attunity (http://www.attunity.com/biztalk/index.html) and WRQ (http://www.attachmate.com/en-US/Partners/BizTalk+Server) offer DB2 adapters. I have no clue how much the cost.

    I have not worked with either one myself though.

    in reply to: Files transfer #12598

    You do not really need any Orchestration for this.
    You could just use BizTalk messaging.

    Create a Receive Port using the File adapter to pick up your file using *.txt, *.xml, *.*, anything. Make sure you use the Pass Through Pipeline.
    Then, create a Send Port using the File adapter and Pass Through Pipeline. Create a Filer on the Send Port using BTS.ReceivedPortName = your_port_name.

    That should do it.

    in reply to: Having trouble configuring biztalk2k6 application #14283

    Sorry, I didn’t follow your 2nd point. What did you want to do again?

    in reply to: Having trouble configuring biztalk2k6 application #14280

    Steve,

    Thanks for the input.

    I would check to see if being a member of SSO group helps.

    Now coming to the second point, I wanted to bind ports while configuring the application and the host is availbale and running.

    in reply to: Files transfer #12595

    Sorry guys,

    In above posted issue i have mentioned that we want to transfer file from one database to another database…Here i want to correct my mistake that i want to transfer files from one location to another location regardless of its content.

    in reply to: web services Vs. vanilla biztalk #12593

    First Point: BizTalk give you a consistent approach to solving your integration problems. You are able to leverage the graphical development environment, BAM, and all the pre built adapters. Plus, if someone builds an Orchestration it is usually easier to component, read, and understand then a generic web service.

    Second Point: If you let Biztalk call the partner web service directly you can build into your Orchestration a retry and recovery process. You can let Biztalk do some of the harder work for you like managing the retrys and resubmits. If you use Delivery Notification, then your Orchestration will wait until your call timeout – otherwise your Orchestration will terminate and your messages will error or succeed in the Send Pipeline.

    Hope this helps.

    in reply to: Having trouble configuring biztalk2k6 application #14282

    You might want to make sure you are a member of the SSO Admin group as well, although you shouldn’t need it.

    Also, make sure you have a host defined for the Orchestration and all the ports are bound.

    in reply to: Organizing BizTalk Solutions #12573

    Thanks so much, Jim, for your real-life example. I can now definitely see the value in organizing things as my instructor described.

    in reply to: NUnit Test for Custom Pipelines #12565

    [quote:eb983a3758=\”beewil \”]Is there any documentation for testing custom pipelines with nunit.

    We have created a custom pipeline using the HL7 accelerater and we would like add some unit testing functionality to the project.

    I’m having problems creating the IPipelineContext and the IBaseMessage

    Help![/quote:eb983a3758]

    In fact, going further, to make this completely programmatic you can make use of the PipelineObjects assembly in the same location. You can call this as shown below to exceute an arbitrary pipeline as a unit test.

    In this case I am just calling the standard passthru receive pipeline and passing a simple xml message. I then output the resulting message at the end of the pipeline showing the same message as was entered.

    PipelineFactory factory = new PipelineFactory();

    string pipelineName = \”Microsoft.BizTalk.DefaultPipelines.PassThruReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\”;

    IPipeline p = factory.CreatePipelineFromType(pipelineName);

    MessageFactory msgFactory = new MessageFactory();
    IBaseMessage message = msgFactory.CreateMessage ();
    IBaseMessageContext context = msgFactory.CreateMessageContext();
    PipelineContext ctx = new PipelineContext();

    XmlDocument doc = new XmlDocument();
    doc.LoadXml(\”<test><this>is a test</this></test>\”);

    IBaseMessagePart part = msgFactory.CreateMessagePart();
    Stream s = new MemoryStream();
    doc.Save(s);
    s.Seek(0,0);
    part.Data = s;
    message.AddPart(\”part\”,part,true);
    p.InputMessages.Add (message);

    p.Execute(ctx);

    IBaseMessage output = p.GetNextOutputMessage(ctx);
    while (output != null)
    {
    byte[] buffer = new byte[output.BodyPart.Data.Length];
    output.BodyPart.Data.Read(buffer,0,(int)output.BodyPart.Data.Length);
    System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
    string result = new string(encoding.GetChars(buffer));
    Console.WriteLine(result);
    output = p.GetNextOutputMessage(ctx);
    }

    you’ll need to add the following ‘using’ clauses to the class file to compile it:

    using Microsoft.BizTalk.Message.Interop; // from microsoft.biztalk.pipeline.dll
    using Microsoft.Test.BizTalk.PipelineObjects; // from PipelineObjects.dll
    using System.Xml;
    using System.IO;

    in reply to: NUnit Test for Custom Pipelines #12564

    [quote:4b69f03814=\”beewil \”]Is there any documentation for testing custom pipelines with nunit.

    We have created a custom pipeline using the HL7 accelerater and we would like add some unit testing functionality to the project.

    I’m having problems creating the IPipelineContext and the IBaseMessage

    Help![/quote:4b69f03814]

    well, you could call pipeline.exe (<installlocation>\\SDK\\Utilities\\PipelineTools) to execute your pipeline programmatically. This utility allows you to pass in the document (message) and schema and obtain the resulting message at the end of the pipeline.

    in reply to: binding file #12580

    high

    thank you very much we got basic binding file from same steps

    in reply to: Migrating BizTalk 2002 maps to BizTalk 2004 #12568

    Well, the migration wizard supports schema and map upgrades.

    I’d suggest trying that first but not to hold your breath. I have not heard many good things about it.

    If they were simple map, I’d probably just dive right in and remap them.

    Best of luck.

Viewing 15 posts - 9,196 through 9,210 (of 9,652 total)