Forum Replies Created
-
AuthorPosts
-
February 7, 2007 at 10:58 AM in reply to: Suspended message, strange error because of file size #17596
Aroder,
I have been testing with XML input files from 250 kb to 500 kb and it's been ok. It seems like BizTalk, at least in the solutions I've watched, consumes the input files and digests them before any disk writes. It definitely benefits from adding ram but I don't know if a lack of ram would cause your problem. How much ram do you have?
February 7, 2007 at 10:50 AM in reply to: Deploying Orchestration in another project undeploys others #17595CodeCola,
Are both orchestrations in the same solution?
Hey there,
The BRE has a predicate called "between" that compares two datetime variables. There's also a "before" and "after" predicate that looks for valuesbefore and after a specified date. I've often used helper components in the BRE to turn strings into dates, and also pass in a date, add a value (like 26 weeks), and then use the return value in concert with the provided predicate functions.
That make sense?
February 7, 2007 at 8:57 AM in reply to: Add reference to application programatically/using script #17592You can add a reference programatically using the explorerOM object model (Microsoft.BizTalk.ExplorerOM). In particular, look at the AddReference() method of the Application class.
February 7, 2007 at 7:01 AM in reply to: How to Associate Business Rule Policy to Application #17589You could use the option Call Rules (in a scope) in an orchestration.
The transaction type of the scope schould be set to Atomic.
The transaction type of the orchestration (and all calling orchestrations) schould be set to Long Running.
Thankyou you for the suggestion. i will give it a go. Unfortunately i forgot to mention that I am receive the xml via a Pop3 adapter. Therefor no batching option(I think). I'll see if it's feasible to copy to a file location and have another orchestration do the batching, but it's a little double handling.
Regards
Rob
Rob,
I think if you make your batch size equal to one, that should solve your problem because that forces biztalk to process one file at a time. For setting up the batch Size, go in the configuration of file adapter and choose the batching tab.
Regards,
Sajid.
I have used the same approach that Sajid has explained. What I have found though, is that the map often can't be moved after creation without breaking it. For example:
- I create a new map using the approach above that takes two source schemas.
- The map is created in the main directory of the BizTalk project.
- Within the project, I am keeping all map files in a directory named 'Maps'. I move the new map into this directory.
- When I build the project, I get an "This map contains a reference to a schema node that is not valid. Perhaps the schema has changed. Try reloading the map in the BizTalk Mapper…" exeption.
- I reload the map in the BizTalk Mapper and find that one of the source schemas is empty thus the links to it are broken.
Can anyone offer any suggestions here?- Is there a way to specify which directory the map gets created in?
- Should I leave the map in the directory where it gets created?
- Is this an issue with one of the source schemas, as only one of them is breaking?
Thanks in advance,Ryan.
You can write a custom pipeline, where you'll have to promote the filesize into a promoted property of your source file. Then map it to a target field in your destination shema.
Sasidhar,
By your explanation I understand that you need to make a destination message from multiple schemas in mapper of BizTalk. You cannot open multiple source schemas when you make a map file, can open only one. The work around to this is, drop a transform shape in an orchestration, double click it to launch Tranform Configuration, Give the map an appropriate name, Leave the default checked New Map, In the Source Schema, choose all the source schemas you want, select the destination schema, there is a check at the bottom (Launch mapper when I click OK) leave that checked and click ok, You'd be presented with a mapper file with all the selected source schemas and one destination schema. From now onwards you can delete that shape from orchestration as your map is in-place.
Hope that helps,
Regards,
Sajid.
I think you attended Biztalk 2002 Interview.
Nobody would ask u abt channels if u attend Biztalk 2004 or 2006 interview
February 5, 2007 at 11:28 PM in reply to: Distinguished fields null object reference exception #17571hi jon,
thanks for your reply…
actually i have just found out that the problem was actually that when i changed my schema to add distinguished fields, i redeployed the schema but it was not cleared from the GAC…I thought that by redeploying from VS.NET the dll would also be redeployed in the GAC…
Appreciate the reply.
Fairly new at this but I'll try creating a variable and outputing the response to it – that helps a lot! Thanks for the insight.
Hmm, so you say the "field is blank" when there is no corresponding value. What happens if you create a variable/message of type XmlDocument, then set your response document to that XmlDocument. Then you can spit out the whole XML message to the event log. Can we see if the node doesn't exist, vs being empty (<BillTo />)? I'm thinking that if it was just empty, your ' BillTo == "" ' would be ok. But more info is needed.
Rseroter,
in addition to my prior reply on Friday, I forgot to mention that the Customer Lookup is in a scope.
Any and all help appreciated!
Thanks.
-
AuthorPosts