 |
|
 |
|
|
 |
Error Notification for inbound documents wanted |
 |
 |
|
|
02-17-04 07:36 AM
Hi,
in our project with BizTalk 2002 we have to implement the functionality to
send an detailed E-Mail to a sender, if he has submitted a document which
cannot be validated by BizTalk
The information should be like:
sender identification, name of the document, a text string with the document
data and the error description (EDI example: BGM segment is missing)
How can I achieve this requirement? Are their existing scripts or tools,
which can do this?
I know, that if BizTalk receives a corrupt document than the inbound
document will be shifted into the Suspend Queue. But the information which
can be retrieved in the Suspend Queue isn't enough
Please help me!
Regards
Günther
mailto: guenther.brach@atosorigin.com
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Error Notification for inbound documents wanted |
 |
 |
|
|
02-17-04 12:36 PM
There's no scripts or tools to resolve your needs. The best aproach to do
what you need is to implement an orchestration, so you first receive the
document and then evaluates the doc, if the result is ok, then you send the
mail, if not you need to send the doc to an AIC that resolve the error
handling.
Hope this helps.
Regards,
Martin Rodriguez.-
"Günther Brach" <Guenther.Brach@koeln.sema.slb.com> wrote in message
news:OmyaE5W9DHA.2856@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> in our project with BizTalk 2002 we have to implement the functionality to
> send an detailed E-Mail to a sender, if he has submitted a document which
> cannot be validated by BizTalk
> The information should be like:
> sender identification, name of the document, a text string with the
document
> data and the error description (EDI example: BGM segment is missing)
>
> How can I achieve this requirement? Are their existing scripts or tools,
> which can do this?
>
> I know, that if BizTalk receives a corrupt document than the inbound
> document will be shifted into the Suspend Queue. But the information which
> can be retrieved in the Suspend Queue isn't enough
>
> Please help me!
>
> Regards
>
> Günther
>
> mailto: guenther.brach@atosorigin.com
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Error Notification for inbound documents wanted |
 |
 |
|
|
02-17-04 11:34 PM
Hi,
We have done a similar work.
When the inbound document is failed during parsing then it is sent to the
suspended queue. Most of the time, the error message logged will not be
sufficient.
So we developed a component which takes the biztalk schema and the xml
instance as inputs.
It does the validation for mandatory checks, field length checks, field type
checks etc and give a consolidated error message.
We created two sets of shema; one with validation(mandatory checks,field
length checks etc) and one without any validation.
We used the schema without validation for inbound document defn.
Inside the AIC, we call the schema validation component passing the
validation schema and the XML instance and we throw the error appropriately.
This error message can be send as a email attachment .
Regards,
R.Balaji
"Günther Brach" <Guenther.Brach@koeln.sema.slb.com> wrote in message
news:OmyaE5W9DHA.2856@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> in our project with BizTalk 2002 we have to implement the functionality to
> send an detailed E-Mail to a sender, if he has submitted a document which
> cannot be validated by BizTalk
> The information should be like:
> sender identification, name of the document, a text string with the
document
> data and the error description (EDI example: BGM segment is missing)
>
> How can I achieve this requirement? Are their existing scripts or tools,
> which can do this?
>
> I know, that if BizTalk receives a corrupt document than the inbound
> document will be shifted into the Suspend Queue. But the information which
> can be retrieved in the Suspend Queue isn't enough
>
> Please help me!
>
> Regards
>
> Günther
>
> mailto: guenther.brach@atosorigin.com
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Error Notification for inbound documents wanted |
 |
 |
|
|
02-18-04 12:34 AM
Hi Martin,
I guess, that this approach cannot be used to fit our requirement.
My understanding of XLANG is that it can only be instantiated if the inbound
document can parsed
from BizTalk against the assigned schema if it is error free. If the parsing
failed than the XLANG cannot be instantiated!
On the other hand, we have a couple of organsitations which send different
documents to different partners within BizTalk. The problem is, only for one
organistaion, namely the BizTalk home organsitaion, a XLANG instance can be
created.
If I am wrong, please teach me.
Regards
Günther
Using a XLANG instance
for the inbound document
"Martin Rodriguez" <ricardor@beyondit.com.ar> wrote in message
news:uogtjdZ9DHA.3364@TK2MSFTNGP09.phx.gbl...
> There's no scripts or tools to resolve your needs. The best aproach to do
> what you need is to implement an orchestration, so you first receive the
> document and then evaluates the doc, if the result is ok, then you send
the
> mail, if not you need to send the doc to an AIC that resolve the error
> handling.
>
> Hope this helps.
>
> Regards,
>
> Martin Rodriguez.-
>
> "Günther Brach" <Guenther.Brach@koeln.sema.slb.com> wrote in message
> news:OmyaE5W9DHA.2856@TK2MSFTNGP10.phx.gbl...
to
which
> document
which
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Error Notification for inbound documents wanted |
 |
 |
|
|
02-18-04 01:34 AM
Hi,
I have not realy understand your solution.
Here a lots of question, I have:
Your AIC can only handle inbound XML-documents?
Have you built a preprocessor AIC?
What did you pass to your AIC, the inbound document data and the schema to
check against the data? How can you give the AIC the appropriate schema
input parameter?
If all my questions are to answer with yes, then I assume that your AIC
parsed the inbound XML data against the schema. But what can be done if the
input document is a NON-XML one and it must be validated with an EDIFACT
BizTalk schema? Then you should call the BizTalk parser for EDIFACT within
your AIC, but how can you do that?
Do you have sample code of your AIC? It would help me to understand your
solution.
Regards
Günther
"R.Balaji" <rbalaji007@hotmail.com> wrote in message
news:udsuyCf9DHA.2472@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> We have done a similar work.
> When the inbound document is failed during parsing then it is sent to the
> suspended queue. Most of the time, the error message logged will not be
> sufficient.
>
> So we developed a component which takes the biztalk schema and the xml
> instance as inputs.
>
> It does the validation for mandatory checks, field length checks, field
type
> checks etc and give a consolidated error message.
>
> We created two sets of shema; one with validation(mandatory checks,field
> length checks etc) and one without any validation.
>
> We used the schema without validation for inbound document defn.
> Inside the AIC, we call the schema validation component passing the
> validation schema and the XML instance and we throw the error
appropriately.
> This error message can be send as a email attachment .
>
> Regards,
> R.Balaji
>
> "Günther Brach" <Guenther.Brach@koeln.sema.slb.com> wrote in message
> news:OmyaE5W9DHA.2856@TK2MSFTNGP10.phx.gbl...
to
which
> document
which
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 03:10 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|