http adapter
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > http adapter




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    http adapter  
jeff


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-23-05 11:01 PM

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





[ Post a follow-up to this message ]



    RE: http adapter  
Radim Hampel


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-24-05 12:51 PM

"jeff" wrote:[vbcol=seagreen]
> I have an orchestration that receives an xml doc via the biztalk http
> adapter.  The orchestration then transforms the xml into either an HL7 fil
e
> or a flat file format and then sends it back to the HTTP adapter (note: The[/vbcol
]

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






[ Post a follow-up to this message ]



    RE: http adapter  
jeff


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-24-05 10:50 PM

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 speci
fy
> the filter expression(ie schema equals hl7). But I don't know, maybe the
> request-response functionality is needed.
>
> Radim Hampel
>





[ Post a follow-up to this message ]



    Re: http adapter  
Yossi Dahan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-29-05 07: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:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

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

Back To The Top
Home | Usercp | Faq | Register