Hi,
Is there any way to expose Biztalk orchestration as a service that accepts POX over HTTP.
Restfull service runs over http and accepts pox.
Can we configure the biztalk wcf custom adapter and have our own custom binding and custom behaviour extension, so that the orchestration service starts behaving as a restful service.
Thanks,
Reshma.
www.biztalkgurus.com/.../video-using-biztalk-server-2006-r2-with-rest-services-net-3-5.aspx
I guess this links provides an answer, but I am not sure how to implement as all the code is not shown and there is no download of the code.
Hi Reshma,
There is source code associated with that video, if you go the blog page, there is a link on the left hand side that reads "Book Code!!!", and if you click on it, it will download a zipped file that contains the source code. I've pasted the URL of that zipped file here:
www.masteringbiztalk.com/restbookcode.zip
Daniel.
"Google skills are more important than your coding skills."
Thanks for the reply Daniel.
I will try to reframe my question.
John Flander's video talks about consuming a Restfull service from Biztalk thru WCF custom adapter.
However in my case, I want to expose the biztalk orchestration as a POX service.
I have implented a sample biztalk project with some simple orchestration in it.
I then used the publish wcf service wizard and published the orchestration as a wcf service with wcf custom isolated adapter.
In the biztalk admin console, applied the following configurations to the request respone port:
The following are the configurations done on the port:
1.Adapter used: WCF Custom Isolated Adapter
2.Binding: Custom Binding
TextMessageEncoding: Message Version set to None
httpTransport: Manual Addressing Set to true.
3.Behaviour: Created a Custom Endpoint Behaviour with 2 input parameter:
Method: POST
ContentType:application/xml
The follwoing is the url for the custom endpoint behavior code:
codemonkeyseedo.blogspot.com/.../biztalk-to-wcf-data-services-part-2-wcf.html
Created a windows console application.
Added the service reference.
However in the app.config:
The Message Version was set to SOAP12.
There was no address associated with the endpoint.
I then changed the MessageVersion to None and manually added the address in the EndPoint.
And was able to test this successfully.
I am still not convinced that I had done the right thing.
Below is the custom endpoint behaviour code which i had taken from CodeSeeMonkey:
Has anybody worked on exposing biztalk orchestration service as a restfull service.
Hi Reshma:
You might want to look through the discussion on the following two MSDN forum threads:
http://social.msdn.microsoft.com/Forums/en-US/biztalkr2adapters/thread/f800f4d9-bea4-43d9-9027-05e37f654660/
http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/c60e306f-4b46-4934-95e8-d964315bfefd/
There are a couple of ways to go about exposing a BizTalk orchestration as a RESTful service.
Thanks for your time Daniel.
Finally i got it working :)
John Flander's video was base.
Implented the same and now the orchestration wcf service request and response are in xml --- no soap envelope :)
Did you manage to expose the orchestration as restful service.In one of my requirement i need to take a input from restful service within biztalk.
can you please help.