BizTalk Server General - how can i send Acknowledgement to supplier system?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > June 2006 > how can i send Acknowledgement to supplier system?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how can i send Acknowledgement to supplier system?
amit chaudhary

2006-06-21, 7:28 am

Hi All,

i am new to BizTalk server 2004. I am using BTS2004 to
integrate our
application with supplier application. We are getting invoices from
supplier in xml
format by help of ftp.

Incoming invoice should be validate first and if any think is wrong
with invoice
Negative Acknowledgement should be go to supplier system, in case if
invoice
is processed successfully, we have to give positive ACK with our unique
id, that
is assigned by our system to incoming invoice, to supplier system.

Now problem is that how can I can ACK to supplier system if validation
is failed?

Can any one help me to find a solution?

Thanks in advanced.

Scott Colestock

2006-06-21, 7:17 pm

Rather than doing your validation in a receive pipeline (which is what I
suspect you are doing at the moment), you will want to consider doing it in
your orchestration instead. You will call into a component, and if your
"validate" method returns false, you can compose and send your nack.

See the following snippet for a start:
http://thearchhacker.blogspot.com/2...nction-for.html


Scott Colestock
www.traceofthought.net



"amit chaudhary" <amit1414@gmail.com> wrote in message
news:1150883701.274940.296000@r2g2000cwb.googlegroups.com...
> Hi All,
>
> i am new to BizTalk server 2004. I am using BTS2004 to
> integrate our
> application with supplier application. We are getting invoices from
> supplier in xml
> format by help of ftp.
>
> Incoming invoice should be validate first and if any think is wrong
> with invoice
> Negative Acknowledgement should be go to supplier system, in case if
> invoice
> is processed successfully, we have to give positive ACK with our unique
> id, that
> is assigned by our system to incoming invoice, to supplier system.
>
> Now problem is that how can I can ACK to supplier system if validation
> is failed?
>
> Can any one help me to find a solution?
>
> Thanks in advanced.
>



amit chaudhary

2006-06-30, 7:19 am

Hi Scott,
thanks for reply.
i am having a doubt. if invalid invoice file comes in system then receive
port will accept it or not because receive port is also binded with schema.

what will be happed if incomplete message come?

"Scott Colestock" wrote:

> Rather than doing your validation in a receive pipeline (which is what I
> suspect you are doing at the moment), you will want to consider doing it in
> your orchestration instead. You will call into a component, and if your
> "validate" method returns false, you can compose and send your nack.
>
> See the following snippet for a start:
> http://thearchhacker.blogspot.com/2...nction-for.html
>
>
> Scott Colestock
> www.traceofthought.net
>
>
>
> "amit chaudhary" <amit1414@gmail.com> wrote in message
> news:1150883701.274940.296000@r2g2000cwb.googlegroups.com...
>
>
>

amit chaudhary

2006-06-30, 7:19 am

Hi Scott,

pls give response early because i could not go ahead.


amit chaudhary wrote:
[vbcol=seagreen]
> Hi Scott,
> thanks for reply.
> i am having a doubt. if invalid invoice file comes in system then receive
> port will accept it or not because receive port is also binded with schema.
>
> what will be happed if incomplete message come?
>
> "Scott Colestock" wrote:
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com