Forum Replies Created
-
AuthorPosts
-
Dear friends,
i am httping RN messages to my trading partners. However the messages fail at my partners’ system due to missing DOCTYPE information in the Service Content… Anyone knows how to configure BizTalk 2004 to send RN messages with the DOCTYPE data ? Appreciate your help. Thank you.June 9, 2006 at 8:33 AM in reply to: Node-set as param to Custom Functoid with XSLT Call-Template #13840Hi Greg
thanks for the responses. But…
I already had the InputConnectionType set to record, and I think I tried Element too, though I will try that one again to be sure.
The input node is a parameter to the Call-Template that I am implementing, and when I look at the Validate-Map XSLT output I can see that it sets the value of the param to either:
– the text(.) value of the source node if the source link type is Copy Text
– the name (and annoyingly it is the local-name, not the full path … can I change the way the name appears?) of the linked source node if the link type is Copy Name
– a string(…) representation of all of the sub-node text if the link type is Copy text and content (or whatever it is)Also, at the point where the call-template is called within that XSLT, I can’t seem to force the XSLT to place that call within a for-each instance of the source link node, or do anything else the place the call-template context within the scope of the source link node, so that I can use the relative (.) knowing that it applies to the selected source node (if you see what I mean). I have tried using the looping function, etc, to achieve this but with no joy … this may well be down to my lack of experience doing such funky things with the mapper …
Any assistance would be greatly appreciated!
Thanks again
Bob
June 9, 2006 at 8:22 AM in reply to: Determine Target Links in custom functoid at compile time #13843Hi 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
June 9, 2006 at 7:51 AM in reply to: Node-set as param to Custom Functoid with XSLT Call-Template #13838On second thoughts Microsoft.BizTalk.BaseFunctoids.ConnectionType.Element might be better.
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.
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.
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.
That is such a good question and I have no clue. I’ll see if I can find someone to clarify this.
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.
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 CWhen 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’.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.
June 8, 2006 at 3:50 PM in reply to: Determine Target Links in custom functoid at compile time #13842Hi 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
June 8, 2006 at 3:37 PM in reply to: Node-set as param to Custom Functoid with XSLT Call-Template #13839Hi 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
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!!!
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!
-
AuthorPosts