community-content

Forum Replies Created

Viewing 15 posts - 9,091 through 9,105 (of 9,648 total)
  • Author
    Posts
  • in reply to: Another Correlation Question #12725

    I wrote a simple two orchestration correlation demo to simulate a larger problem we were having at client.

    So basically Orch-A sends a message, Orch-B receives it, remaps it, and sends it out, Orch-A should correlate on it based on an element in a SOAPHeader.

    To simulate the client environment, all the ports (except the first activating file receive) use \”direct binding\”.

    Orch-B has the following line of code in a message assignment after a map in a construct block:
    msgServiceAgentCallResponse(*) = msgServiceAgentCallRequestIn(*);

    That copies the SOAP Headers to the outgoing message, and I verified through tracing and HAT that the SOAP Headers are there and both the outgoing and incoming match the expected GUID using the BTSSubscriptionViewer.

    So here’s the problem/question I have – if I don’t set any correlation in Orch-B, the messages don’t correlate. I have to use an \”Initalizing Correlation\” on the send shape of Orch-B to get it to work.

    My thinking is that Orch-B should not require any knowledge of correlation, as it could theoretically be a web service, a Sharepoint file drop, or some human workflow.

    Any ideas would be greatly appreciated.

    Thanks,
    Neal Walters
    http://Biztalk-Training.com

    in reply to: how to catch error from sql adapter #12719

    Believe it or not, you have to catch a SOAPException.

    Neal Walters
    http://Biztalk-Training.com

    in reply to: Quick Pipeline Question #12721

    We have a Biztalk Pipline project that references a C# project that has the following:
    public class SoapHeaderAdder : Microsoft.BizTalk.Component.Interop.IComponent, IBaseComponent, IPersistPropertyBag, IComponentUI

    If we want to change the C# code to promote a new field, do we have to recompile the Biztalk Pipeline project?

    In other words, since the stages of the pipeline are still the same, does the pipeline have to be recompiled and redeployed, or can we just redeploy the C# code.

    Thanks,
    Neal

    in reply to: Web References And Types #14333

    The problem is the way you are passing parameters
    If you cannot change the web service then you cannot use a transform to create the multipart requests for m1 and m2.
    Instead you need to use a MessageAssignment shape
    [code:1:61ff75d332]m1_request.s0 = \"string\";
    m1_request.s1 = \"string\";
    m1_request.d0 = System.DateTime.Now;
    //same for m2_request
    [/code:1:61ff75d332]
    The reason for this is the message parts are simple types and do not generate an Xml schema, therefore you cannot use a map.

    Alternatively you can change the web service
    [code:1:61ff75d332]class c0 {
    public r0[] m0();
    public bool m1(p1 parameter);
    public r1[] m2(p2 parameter);
    } [/code:1:61ff75d332]

    And add the following classes:
    [code:1:61ff75d332]class p1 {string s0, string s1, DateTime d0;}
    class p2 {string s0, string s1, DateTime d1, string[] arr;}
    class r0 { public string s0, s1; }
    class r1 { public string s; public double d; } [/code:1:61ff75d332]

    The request messages are now complex types and will generate an Xml schema and can be used in a map.

    in reply to: Dead HAT #12229

    No, the client was going to try re-install, I’m leaving it in his hands.

    Neal

    in reply to: Why use \"Following Correlation\" on a Send Shape? #12707

    Yup. Just to be clear, i was referring to the case where they didnt have an Initialize Correlation on any send/receive shapes and it still compiled. Mostlikely that correlationset was passed in as a paramter

    Cheers

    in reply to: Need help on How to Not assemble useless incoming data #12712

    As far as I am aware the Flat File disassembler cannot ignore records.
    Your options would be to write your own disassembler or deal with the errant records using a map

    in reply to: Pain Re-deploying Assemblies to Biztalk 2004 #12702

    Jon Flanders has a tool to help here: http://www.masteringbiztalk.com/blogs/jon/CategoryView,category,BTSnapshot.aspx

    Also, the BizTalk Development Tool on my site more light weight can save you some time as well: http://biztalkgurus.com/Tools/Development-Helper-Tool.html

    in reply to: Why use \"Following Correlation\" on a Send Shape? #12706

    Hi there.

    You would pass Correlation Sets as parameters. When that happens, a correlation is initialized and you could just set your shapes to follow that correlation.

    In order to do that, you go into Orchesration View and Right Click Parameters and Choose \”New Correlation Set Parameter\” and there you have it

    Hope that helps
    Gino

    in reply to: Pain Re-deploying Assemblies to Biztalk 2004 #12704

    thanks guys very useful posts

    in reply to: Pain Re-deploying Assemblies to Biztalk 2004 #12698

    Also out there is the Deployment Framework that has been created by Scott Colestock. It can be found at his website [url]http://www.traceoufthought.net[/url] Lets you bounce everything from right in Visual Studio and you can also set up some pretty neat custom processing stuff as well.

    in reply to: Why use \"Following Correlation\" on a Send Shape? #12708

    I have not needed to use much correlation at past clients, but current cliient uses it a lot!

    I see one case where they send out 5 messages in a loop, then wait for 5 responses. To get around the limitation of not beign able to initialize correlation in the loop, they have one send before the loop which initializes correlation, then a send in a loop that loops 4 times using \”following correlation\”.

    There was one orch. that compiled that used \”following orchestration\” instead of \”initialziing\” and it compiled, but I’m guessing it would cause a run-time error.

    Other than the loop, why would you not always want to use \”initializing correlation\”?

    Neal Walters
    http://Biztalk-Training.com – Video/Demo Training

    in reply to: Pain Re-deploying Assemblies to Biztalk 2004 #12703

    Is it me or is it a huge pain to re-deploy solutions.

    here’s what i do:

    – I un-enlist all orcherations in biztalk explorer (i check all the checkboxes when asked to terminate/stop ports and instances)
    – i go into each orchesration and unbind the ports
    – i delete the ports that are \”Specify Now\”
    – undeploy assembly
    – redeploy assembly
    – bind ports that are \”Specify Later\”
    – start orchestrations
    – wait 30 seconds
    – test

    I have a feeling there’s a nice script that could be written to automate that tideous process.

    Any ideas?

    Thanks

    in reply to: SQL Adapter #14331

    You will need to use a Trigger to create a message and send this to Biztalk.
    There would be a number of options for sending the message including MSMQ or SQL Service Broker .

    Check out Jesus Rodriguez SQL Service Broker Enhancements on GotDotNet:
    [url]http://www.gotdotnet.com/Workspaces/Workspace.aspx?id=f2e863c6-3444-47ae-8d13-668484a449f9[/url]

    in reply to: BizTalk Server 2002 Service will not start #12690

    It would appear that you have installed Biztalk developer using the same Biztalk Server group as production i.e. both Biztalk servers are sharing the same database.
    You have two choices.

    1. Upgrade production to the Enterprise version
    2. Remove the Developer server from the Biztalk Group.

    The best option would be 2. You do not want your development server connected to your production database.

    You will need to reinstall the development server using a different SQL Server.

Viewing 15 posts - 9,091 through 9,105 (of 9,648 total)