community-content

Forum Replies Created

Viewing 15 posts - 7,981 through 7,995 (of 9,648 total)
  • Author
    Posts
  • Hi Greg

    the OutputConnectionType is set to Record; I believe I had it set to All before.

    I am actually doing a customised, parameterised implementation of MassCopy, so I need to have a full node-set going out. Note that my implementation is via an XSLT Call-Template.

    What should the OutputConnectionType be in this case?

    I am also having trouble working out the InputConnectionTypes (I can’t find any docu that actually describes what the enums really mean): my first param is a node in the source schema, so I set the connection type to Record in this case and it seems to be fine (though I would like to know how to evaluate that link’s XPath too); the second param should be a boolean true/false, so I set the type to AllExceptRecord: this is not behaving entirely as I would like … I can enter a constant param with a value of true() or \”true\” and it works ok, and I can drag in a node in the source schema, but I can’t use the output of a logical functoid (even if I set the param’s conn type to FunctoidLogical), which seems a bit wierd… any thoughts on that one?

    Sorry for escalating the question, but thx in advance for any help!

    Bob

    On second thoughts Microsoft.BizTalk.BaseFunctoids.ConnectionType.Element might be better.

    in reply to: SOAP Adapter and Filename #14831

    That is correct.
    None of the adapters propagate the message context. Once the message leaves the adapter the message context no longer exists.

    The SOAP receive port does not have the filename, that was left behind at the SOAP send adapter

    You have two options add a filename field to your message or use custom SOAP headers to pass the filename.

    in reply to: Use of DataConnection command in Microsoft Rule Engine #14804

    I haven’t worked with them much at all myself. In fact, I always have to look them up to remember exactly what they do.

    I think the 2006 Help Guide covers the topic well. The Heading is: “Data Access in the Business Rule Engine”

    Hope this helps.

    in reply to: Unable to match the data in the input stream. #14806

    Usually I’ll see that type of error when I send in a Flat File and it’s expecting XML. You might want to double check your Receive Pipeline. Make sure it is set correctly. You will need a custom pipeline using the Flat File Disassemblier that’s using your Flat File Schema.

    Oh, also make sure your schema is defined as a Flat File Schema. I have some samples and a video that covers more advanced Flat Files – but they might help to look at.

    in reply to: Biztalk 2006 Install Option #14815

    That is such a good question and I have no clue. I’ll see if I can find someone to clarify this.

    in reply to: Biztalk Help files not installed #14826

    Not sure either. Did you have any of the VS Betas installed in the past?

    About the only thing I can say is run a repair on the BizTalk 2006 installation.

    You should be able to get to the BizTalk Help though Start – Programs – Microsoft BizTalk 2006.

    Hope this helps.

    in reply to: Trouble Validating Flatfile Schema #14828

    I am building a schema for a Flat File.

    A portion of the Flat File looks like this:

    Value A,,Value B
    Value A,,Value C

    When I set the source of this schema and Validate Instance, I get an XML output that looks like this:
    <MySchema>
    <Detail>
    <A>Value A</A>
    <C>Value C</C>
    </Detail>
    </MySchema>

    I want <B></B> in the XML, missing data or not.

    I also get an error message:
    C:\\Documents and Settings\\nk\\Local Settings\\Temp\\_SchemaData\\Test_Native_output.xml: error BEC2004: The element ‘Detail’ has invalid child element ‘C’. List of possible elements expected: ‘B’.

    in reply to: calling .net class from business rule composer #13836

    Yes, you can call .net from the Action Shape. Just make sure you have an instance of the object by pass it in as a fact or create it using a Long Term Fact Creator.

    Hi all

    I am building a custom functoid that implements an XSLT Call-Template, and I want to drag the functoid’s output to the node in the target schema within which the call-template should be executed. However, I have observed that when I do this the call-template call is inserted in the correct location, but that the target node definition does not appear in the validate-map xslt (then obviously, neither in the output xml).

    The mass-copy functoid illustrates what I need: if you drag mass copy output to a node called, say, <Data>, then in the validate-map xslt you will see that the <xsl:copy-of statements select=\”*\”/> appear within a <Data> node in the output.

    Could someone therefore please advise as to how, at compile (or any other!) time, I can evaluate the XPath in the Target Links property that is used by the calling map for this specific instance of the functoid so that I can embed the required node name in the call-template output (of the GetInlineScriptBuffer function)? …or advise if there is a better way of doing it?

    I assume this must be do-able as Mass Copy manages it…

    Thx in advance

    Bob

    Hi all

    I want to build a custom functoid to implement an XSLT Call-Template, but I want one of the parameters to be a node-set rather than a value. Can I do this and, if yes, then how?

    Thx in advance

    Bob

    in reply to: Load testing issue – suspended orchs #14821

    OH good – thats what i wanted to hear.
    Great advice.

    I’m not sure why the stored proc fails exactly. It is a small proc that takes 3 params and I have very few records in the db at this point. I have decent indexing on the SARGS so I am fairly confident in the SP. I was thinking maybe it was a time out issue trying to connect to the DB. I was also nervous that there may have been an issue releasing resources in the functoid code, but since i didnt code it, and i believe someone from microsoft did, I want to think there should not be a problem there either.

    I will look into some of your suggestions further. Our testing / production environments should have the proper resources, at least the min requirements. I also found out that we can tweak our other file grabber program, it loops through the files and copies one at a time & we can insert a variable seconds wait between files if we need to. I’m interested to look into the file adapter batch size you mentioned as well.

    THANKS for your advice!!!

    in reply to: Biztalk & Team System Source Control Issue #14812

    It must have been a problem with this specfic biztalk project, i started fresh with a new solution and recreated the project exactly and it looks to be working fine, i’ve no idea why i was having so many problems with this, i’ll let you know if i see this problem again but from the sounds of things i am unlilkely too!

    in reply to: Add or insert records to XML Repeating Sequence Group #13775

    [quote:9f69ecc8b3=\”nwalters\”]The C# code has NOTHING to do with a map.
    It is called from a Biztalk message assignment shape in an orchestration.

    The C# must have a strong name, and must be installed in the GAC on the machine where Biztalk server is running.

    In your Biztalk project, you make a reference to the assembly (project, right click reference, click \”Browse\” button, find BIN directory where you compiled .DLL to, and select the .DLL.

    Since the C# routine is static, you do not need a variable/object to call it.

    You will code something like this:

    YourNamespace.YourClass.AddChildDocument(
    msgParent, msgChild,
    \”ParentElement\”, \”http://*.com/schema\”);

    Since normal messages are xmlDocuments, I’m pretty sure you can pass them directly where the C# program expects an xmlDocument object.

    Eventually, you will probably develop several \”helper\” classes in C#,
    so you will probably have something like an XmlHelpersClass, and it may have 5 to 20 methods in it that you can call.[/quote:9f69ecc8b3]

    First of all, [u:9f69ecc8b3]thanks a lot[/u:9f69ecc8b3] for your answer. I now understand how works your [i:9f69ecc8b3]C# Class[/i:9f69ecc8b3].

    Actually, I need to insert a row (not blank) in my output flat file only if one of the values of the [color=orange:9f69ecc8b3][b:9f69ecc8b3]source schema[/b:9f69ecc8b3][/color:9f69ecc8b3] is [i:9f69ecc8b3]true[/i:9f69ecc8b3] else I don’t need to add it.

    Doesn’t matter, I think I can use a part of your code and add it in a [color=green:9f69ecc8b3][b:9f69ecc8b3]Message assignement[/b:9f69ecc8b3] shape[/color:9f69ecc8b3] inside my [color=green:9f69ecc8b3][b:9f69ecc8b3]Construct Message[/b:9f69ecc8b3] shape[/color:9f69ecc8b3], juste after the [color=green:9f69ecc8b3][b:9f69ecc8b3]transform[/b:9f69ecc8b3] shape[/color:9f69ecc8b3] (where the mapping is done). [size=9:9f69ecc8b3][i:9f69ecc8b3]hope that is enough clear …[/i:9f69ecc8b3][/size:9f69ecc8b3]

    But this involve I had to [color=darkred:9f69ecc8b3][b:9f69ecc8b3]promote[/b:9f69ecc8b3][/color:9f69ecc8b3] the value of my [color=orange:9f69ecc8b3][b:9f69ecc8b3]source schema[/b:9f69ecc8b3][/color:9f69ecc8b3] which is [i:9f69ecc8b3]true [/i:9f69ecc8b3]or [i:9f69ecc8b3]false [/i:9f69ecc8b3] to test if the row must be inserted or not, isn’t it ?

    In any case, I’m gonna try this !

    in reply to: Mapping to an Abstract Type Node #13808

    Hi Greg,

    I see…

    Thanks for helping me out….

    Thank you for your quick reply.

    Thanks,
    Fred

Viewing 15 posts - 7,981 through 7,995 (of 9,648 total)