Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > kind of Data PostProcessor
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 14th March 06:04
divi
External User
 
Posts: 1
Default kind of Data PostProcessor



HI
I am wondering how can i know the type of data like
XML,txt etc the data coming in working_data for
PostProcessor as i need to save data based on type .
Any help greatly appreciated
thanks
divi
  Reply With Quote


  sponsored links


2 14th March 06:04
jan eliasen
External User
 
Posts: 1
Default kind of Data PostProcessor



I wonder what a postprocessor is? Are you talink about an AIC or are
you talking about a preprocessor?

Anyway, getting the datatype is not easy, as everything is strings.
You need to lok at a string to know what it is. XMLmust begin with "<"
for instance. Basically, what BizTalk does is check if the XM parser
can read the input. You could throw the input you receive through a
XmlTextReader in .NET. If it fails, then treat it as plain text?

--
Jan Eliasen, representing himself and not the company he works for.
  Reply With Quote
3 14th March 06:05
nick
External User
 
Posts: 1
Default kind of Data PostProcessor


If knowing the envelope would help, check out the "syntax"
value of the dictionary that is passed to the AIC.

There's a long list of values that come in that
dictionary. what follows is a subset that I've found
useful when parsing inbound HIPAA EDI do***ents.

// doc_type -- '837' -- value of ST01 of the submitted
do***ent

// in_doc_key -- Value of
dta_indoc_details.nlnDocKey (PK) column from Biztalk
Do***ent
// Tracking DB for submitted source
do***ent

// in_codepage -- codepage used by BTS to interpret
the inbound do***ent

// standards_version -- you'd think that this would be
from GS08, but instead it is the
// value of the standards_version
value from the do***ent definition

// in_doc_tracking_id -- Tracking id for inbound do***ent
in Biztalk Do***ent Tracking
// DB
dta_indoc_details.uidTrackingGUID

// syntax -- "CUSTOM" -- envelope type of inbound do***ent

// interchange_id -- Interchange control number
(ISA13) from the submitted do***ent

// submission_id -- Submission id of the source
do***ent. This is the value returned by
// the Submit() call

// in_group_key -- Value of
dta_group_details.nGroupKey(PK) column in Biztalk do***ent
tracking db.

// in_interchange_key -- Value of
dta_interchange_details.nInterchangeKey (PK) column
// from Biztalk do***ent tracking db

// working_data -- the body of the do***ent mapped
by the mapper
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666