Soap or WCF adpater

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Soap or WCF adpater

Viewing 1 reply thread
  • Author
    Posts
    • #23696

      Hi All,

      I am using BizTalk 2006 R2, I am suppose to read/write xml message in BizTalk 2006 R2, I am not sure whether I should use Soap or WCF adapter for the same, please help.

    • #23700

      Hi,

       

         Messages in the BizTalk engine are in XML format. Are you trying to connect to a Web service from BizTalk? If it’s an ASMX web service, use SOAP adapter; otherwise, if it’s a WCF service, use the WCF adapter.

       

         Daniel.

       

      • #23702

        yes I am trying to receive a message from a WebService in BizTalk thru a Soap Adapter for further processing, I mean the direction of communication would be “Receiving a request and sending a Response” and also I am suppose to write the webservice 🙁

        • #23703

          Hi,

           

             In your orchestration define a port (in the flow of your orchestration) with the following properties (when running the wizard):

          – Existing or New Port Type: New

          – Communication Pattern: Request-Response

          – Access restrictions: Public – no limit

          – Port direction of Communication: I’ll be receiving a request and sending a response

          – Port Binding: Specify later

           

             Once you deploy your orchestration, use the BizTalk Web Services Publishing Wizard to expose the physical port as a Web port, and there you have it.

           

             Daniel.

           

          • #23711

            So, basically If I am suppose to receive a soap message from webservices in BizTalk then the BizTalk Orch itself needs to be exposed as a Web Service for it to receive a soap message from a web service and when the Orch needs to send a soap message then it needs to consume a Web Service ….

            I hope my understanding is right …

            • #23712

              Yes, that is correct.

              If you are using Biztalk 2006, you only have  the option of using the Soap adapter. If you have Biztalk 2006 R2 or Biztalk 2009 then the WCF adapter is the best choice. The Soap adapter is deprecated in Biztalk 2009 – it willnot be available in the next major release. 

              • #23713

                Will there be any change in the implementation if I use WCF adapter, I mean instead of writing web services do we have to write WCF services and I guess also the binding I would use would be WCF-BasicHTTP ??

                • #23714

                  A WCF Service is a web service, you just have a lot more options in regard to implementing WS-* standards. WCF based web services are interoperable with most other web service stacks including asmx, WSE3, even Java.

                  If you publish web services on Biztalk using the WCF adapter these can be consumed by almost any other web service stack, although if you implement a service requiring WS-Transactions and federated WS-Security then you client stack must also support these standards.

                  If you are consuming web services from Biztalk, then the WCF adapter will give you the best interoperability.

                  If you are goind to consume Biztalk web services or create web services for Biztalk to consume then you can use any web service stack. If you are working with .Net, then the best option would be to use WCF

                  • #23715

                    Yes the remote App is build using .NET from which the BTS is suppose to send/receive messages from.

                    1) I guess If the remote App is using VS 2005 (i.e. 2.0 Framework) then probably I need to use Soap Adapter for both consuming web services or publishing orch as web services.

                    2) if the remote App is using VS 2008 (i.e. 3.0/3.5 Framework) then probably I need to use WCF adapter-basicHTTP for both consuming wcf services and publishing orch as WCF services

                    3) OR if I am using VS 2005 (i.e. Framework 2.0) and I am using BTS 2006 R2 then BTS orchestration can be published as a WCF service to receive message from a Web Service build using VS 2005 (i.e. Framework 2.0) …  only thing as you mentioned it won’t support the WS-* standards ….

                    Please do clarify the same…

                    • #23717

                      Hi,

                       

                         See the responses below (in bold)…

                       

                      [quote user="Anonymous"]

                      Yes the remote App is build using .NET from which the BTS is suppose to send/receive messages from.

                      1) I guess If the remote App is using VS 2005 (i.e. 2.0 Framework) then probably I need to use Soap Adapter for both consuming web services or publishing orch as web services.

                      In this case, yes.

                      2) if the remote App is using VS 2008 (i.e. 3.0/3.5 Framework) then probably I need to use WCF adapter-basicHTTP for both consuming wcf services and publishing orch as WCF services

                      Yes again. Using WCF adapter is your best bet.

                       

                      3) OR if I am using VS 2005 (i.e. Framework 2.0) and I am using BTS 2006 R2 then BTS orchestration can be published as a WCF service to receive message from a Web Service build using VS 2005 (i.e. Framework 2.0) …  only thing as you mentioned it won’t support the WS-* standards ….

                      As Greg mentioned, there are a lot more options with regards to implementing WS-* standards when publishing your BTS orchestration as a WCF service, moreover, it’s interoperable with other non-Microsoft technology stacks and platforms, which makes more flexible and appealing if you are dealing with a heterogeneous computing environment.

                       

                      Please do clarify the same…

                      [/quote]

                      • #23785

                        Hi,

                        I am using BTS 2006 R2 on WIN XP and have published the Orch as a WCF service using the WCF Adapter (Basic-HTTP binding), now I am trying to add a web reference of the WCF Service to the sample Windows App build using VS 2005 (Framework 2.0) but I am not able to add a web reference to the WCF service, I mean to use the WCF service do I need VS2008 ???

                      • #23786

                        I am able to add a reference now, only thing missing is svcutil.exe to create the proxy, looks like I need to install the MS SDK just to get the svcutil.exe as I am using Win XP/VS 2005/Framework 2.0 …

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.