Forum Replies Created
-
AuthorPosts
-
cool.. this is exactly what I was looking for.. Works fine.. Thanks tomas
Check out this article on the Microsoft site. I believe it will solve your problem.
http://support.microsoft.com/kb/923650
good luck.
Arnulfo Wing
Software Janitor, 😀
Configure your orchestration's send port as a direct-bound port, so that it publishes your message to the MessageBox directly and so triggers the subscriptions from any matching sendports. That way you can just add the appropriate filter expression to each sendport and enlist them.
This should accomplish what you want.
[quote user="trayburn"]
If you're trying to assign the GUID to a message and need it as a string, simply create an Orchestration variable before hand, assign the .ToString() to that, and then use the variable in the Message Assignment shape.
[/quote]
Sorry for not reporting back. That was exaccly what I had to do. Eventhoug I had the .ToString() method in my "origin" it woud fail! I had to make a copy of it to a variable, and then use the xxx.ToString() method to set the value to a promoted field! I don't understanf the need of an intermediary variable, but it's now working.
Thks anyway.I am experiencing this same situation. How did you approach solving your problem?
Thanks!
I’m not a huge SQL Adapter expert. I’d guess no.
If you are looking for a more preferment solution you could look at using a simple .net component inside an Orchestration. You’d have more control over the transactions.
Well, if you have to map the data anyway this is minimal performance impact.
If you are mapping only to trip the fields, it a hit but this solution is much easer than build a custom streaming pipeline component to accomplish the task.
Unless you have “HUGE” messages or a “LOT” of them you should be fine.
Huge and Lot or of course relative to your solution and hardware J
Have you tried to validate your Xml string against the Schema?
I’d save your string as an Xml file and make sure it validates.
That’s the first thing I can think of with that error…
Thank you very much Stephen.
I have done something similar to your suggestion on Sunday.
I build a FF schema with one field node but I done this node as a positional and set it to start from 1 to 100.
In the map, I concatenate all the fields from incoming schema with coma fore delimiter and I connect it to the one field in the FF schema.
Work perfect.
I have another question: How is the performance of this solution?
Thanx
Maybe the timeout on there side is set lower than the local system you are testing with?
If I remember right, that error is common when you have a timeout.
October 9, 2006 at 12:07 PM in reply to: Problem with system class not marked as serializable… #15990You could do something like this inside the map, assuming you have all your data in one field. You could concatenate all the fields together and map them forward into a single node on the output side. Then just use the Trim functoid.
October 9, 2006 at 11:35 AM in reply to: Custom Receive Pipeline getting "Index was outside the bounds of the array" #15988I have seen this problem in the past when the schemas are in the same project as the custom pipeline.
In 2004, it’s critical the schema and pipelines do not co-exist in the same project. Although, I don’t think that is documented.
I’m guessing that’s your problem.
October 9, 2006 at 7:51 AM in reply to: SerializationException: The type System.IO.FileStream in Assembly mscorlib … is not marked as serializable. #15986What type of message is newMsg – Xml Document? Is the file valid Xml?
I’ve seen similar behavior in the past when working with flat files.
Guess you could always move the file load into a custom Send Pipeline Component or maybe out of a Construct shape and into a .net component that returns the message.
Dirk, you might want to try using the RawString class that's found on the BizTalk Documentation for this purpose, instead of using a regular System.String one.
-
AuthorPosts