|
|
|
| I have an orchestration that receives an xml doc via the biztalk http
adapter. The orchestration then transforms the xml into either an HL7 file
or a flat file format and then sends it back to the HTTP adapter (note: The
logical port is a 2 way port). The flatfile transformation is simple where a
map does the transformation and the send port use the default xmltransmit
pipeline. The HL7 is more complicated in that there is a map and then the
send port uses a custom pipeline that uses Itemfields content master to
serialize it into HL7 format.
What I'm trying to accomplish but don't know if it possible is can I
dynamically using an expression shape specify on the sendreceive port the
send pipline to use? (e.g. "mycustpipe" or
"microsoft.biztalk.defaultpipelines.xmltransmit")
Any help would be appreciated
| |
| Radim Hampel 2005-03-24, 7:51 am |
| "jeff" wrote:
> I have an orchestration that receives an xml doc via the biztalk http
> adapter. The orchestration then transforms the xml into either an HL7 file
> or a flat file format and then sends it back to the HTTP adapter (note: The
Hello Jeff,
maybe you could use receive and send port pair. On the send port you specify
the filter expression(ie schema equals hl7). But I don't know, maybe the
request-response functionality is needed.
Radim Hampel
| |
|
| Thanks Radim for your reply.
I have tried creating 1 receive port with the URI set to:
'/Test/BTSHTTPReceive.dll'
and then created a separate send port with the URI set to:
'http://localhost/Test/BTSHTTPReceive.dll'.
This causes and error. I think it might be because the a single port with a
request and response is how the http adapter knows which http session to
respond back to.
At least thats my guess.
Thanks again and I will keep on searching.
"Radim Hampel" wrote:
> "jeff" wrote:
>
> Hello Jeff,
>
> maybe you could use receive and send port pair. On the send port you specify
> the filter expression(ie schema equals hl7). But I don't know, maybe the
> request-response functionality is needed.
>
> Radim Hampel
>
| |
| Yossi Dahan 2005-03-29, 2:48 am |
| Jeff,
Posting a message from BizTalk to the btshttpreceive.dll is posting back to
BizTalk.
I'm afraid there is no way to dynamically set the pipeline to be used.
so if you need synchronous communication you should have logic either in
your orchestration or in your pipeline to handle all the cases. if the main
difference is the transformation you could either move both transformations
to the orchestration (BizTalk mapper for the flat file and calling
Itemfiled's ContentMaster from an expression shape)
Another option (I did not try this) is to do exactly the same in the
pipeline - have ContentMaster parse the message only if its required too
(assuming you can identify the rule) and keep the map in place - I believe
it will only be called if the expected message type is delivered, which
after contentmaster serializes the message to HL7 will not be the case.
Hope this helps
Yossi Dahan
"jeff" <jeff@discussions.microsoft.com> wrote in message
news:30F02C2B-DF43-4AD7-A405-CFDB1037C112@microsoft.com...[vbcol=seagreen]
> Thanks Radim for your reply.
>
> I have tried creating 1 receive port with the URI set to:
> '/Test/BTSHTTPReceive.dll'
>
> and then created a separate send port with the URI set to:
> 'http://localhost/Test/BTSHTTPReceive.dll'.
>
> This causes and error. I think it might be because the a single port with
> a
> request and response is how the http adapter knows which http session to
> respond back to.
>
> At least thats my guess.
>
> Thanks again and I will keep on searching.
>
> "Radim Hampel" wrote:
>
|
|
|
|