Skip to main content

Posts

Showing posts with the label Biztalk

BizTalk Creating Data and Envelope schema for Debatching

NEW NOTES: - Creating Debatching schemas: Env -- Create new schema with this naming convension "YourPreDefineName" + "Env.xsd" -- Select top most node "<Schema>" -- Properties > Advanced > Imports > click (Collection) -- Click Add... -- Select the equivalent DATA schema => "YourPreDefineName" + "Data.xsd" and click OK -- On Imports popup window click OK -- Properties > Reference > Envelop > Yes -- Select next node +Root -- Properties > Reference > Parse > Body  XPath > ... -- Body XPath popup window > Select SELF > click OK - Add child record -- Properties > General > Data Structure Type > Select DATA schema OLD NOTES: Debatching: - Create Data schema - Create Env schema > Name root as its filename > Select <Schema> * Advanced > Imports : select the Data Schema * Reference > Envelope : Yes - Select Root Record Env * Parse > Body XPath > select self - A...

Biztalk is failing on LIVE server with different Regional Settings

Resolution: //Culture settings: using System.Globalization; using System.Threading; namespace Baliw.PetiksHours.Customs {     public class PetiksHourDatToXmlStructure : IPetiksHourDatToXml     {         public VirtualStream PetiksHourTextFileToXml(Stream textFile)         {             Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");