Building a HTTP server that will work as a proxy

Hi,

I'm trying to receive EDI over AS2 from client and send back MDN synchronously using BTS 2013 R2. The issue I'm having is that our BizTalk server is on intranet and is not exposed to an internet, and we have a DMZ server which will have to receive the message directly from client and forward the message to BTS server.

We are not planning to use a reverse proxy to route the HTTP traffic in case. Instead, we are trying build a HTTP server that will work as a proxy. Please keep in mind that it will also have to send back the synch MDN back to client.

Can anyone provide any advice or samples on how to build this HTTP server?

Thanks in advance! 

September 3rd, 2015 4:19pm

Not completely following.

You have a client that is on the internet?

You have a BizTalk instance on-premise behind your firewall. You need to send an MDN to the client from BizTalk after it receives an EDI Document correct?

Are you expecting the EDI document to have to be synchronous? I see that you want an MDN to be sent back synchronously, but that's not the same as saying from client ==> HTTP (Proxy) ==> BizTalk (EDI) is.

So just want to make sure.

If all of this actually has to be literally Sync, then I would look at hosting a Two Way-WCF or ASMX Web Service(blocking) on your DMZ server. Have it talk to BizTalk, get the MDN and give it back to the client. That's actually easy because you can use the BizTalk Adapter Pack

I was assuming that your clients, do not accept incoming HTTP requests, so it wouldn't be able to directly get a call from BizTalk, hence why I said two way.

You could always host bridge services in Azure and connect BizTalk to that and then have your client talk to that. Then you wouldn't need to host anything on your DMZ and a hosted Web App, is cheap a month (really cheap).

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 9:48pm

Hi Anokneemous,

Thank you for the information. Your assumption on sync communication is correct. Do you have any samples or examples on the two-way WCF or ASMX web service which will route the HTTP traffic to BizTalk?

Thanks!

September 4th, 2015 11:45am

It's late for me. I will respond tomorrow if you don't have an answer already.
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 10:27pm

Hi,

Service Bus Relay may solve the problem directly without the need for a proxy.

With it you could expose your web endpoint over HTTPS using Service Bus Relay and just have your clients hit the relay endpoint in Azure.

You could either expose a BizTalk web service directly or use an intermediate service if you need different control.

http://www.quicklearn.com/blog/2013/07/05/publishing-a-wcf-service-via-service-bus-relay-in-biztalk-server-2013/

https://code.msdn.microsoft.com/windowsazure/How-to-integrate-BizTalk-f0195690

Cheers,

Martin

September 8th, 2015 8:07pm

Hi,

Service Bus Relay may solve the problem directly without the need for a proxy.

With it you could expose your web endpoint over HTTPS using Service Bus Relay and just have your clients hit the relay endpoint in Azure.

You could either expose a BizTalk web service directly or use an intermediate service if you need different control.

http://www.quicklearn.com/blog/2013/07/05/publishing-a-wcf-service-via-service-bus-relay-in-biztalk-server-2013/

https://code.msdn.microsoft.com/windowsazure/How-to-integrate-BizTalk-f0195690

Cheers,

Martin

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 12:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics