Recently I had the opportunity to get some hands on experience using the BizTalk Adapter Pack 1.0 (BAP) and I thought I'd dust off my blog and share some of my takeaways.
If you are unfamiliar with the BAP, it consists of a set of WCF-based LOB Adapters/Bindings for:
While the BAP falls under the BizTalk brand (and is included with recent purchases of BizTalk Server 2006 R2 or Software Assurance), the BAP is also available as a separate stand-alone product. This is cool because as these adapters are packaged as WCF bindings you can leverage them as a part of your "vanilla" .NET 3.0 projects.
Just install the BAP and the rest of its software requisites and you're ready to code. Open your project in Visual Studio and launch the Add Adapter Service Reference Visual Studio Plug-In (via either the Project menu or right clicking on the project file in the solution explorer window). The Plug-In has a wizard which lets you choose the appropriate BAP adapter/binding for the system you want to connect to, specify your connection credentials and parameters, and then connect to the system to browse/search/select the methods you're interested in invoking. Once you've selected this set of methods you're interested in working with, click the OK button and the Plug-In will generate a client proxy file and stick appropriate WCF elements in your app.config file. For more details on generating and working with the client proxy be sure to check out articles in the online help on MSDN such as Invoking BAPIs by Using the WCF Service Model.
On a side note, the purpose in the project for leveraging the BAP was to pull complex data from potentially multiple SAP BAPI calls to multiple SAP systems (ECC and CRM) and return the resulting data to BDC and custom web parts in a MOSS 2007 site. This worked out really well. For more information on this approach, check out the scenario ideas on the BizTalk Adapter Pack - Office Developer Program page.
With that all said, here are my technical tips and tricks:
If you're getting started using the BAP I hope you find this helpful. Additionally, here are a couple more helpful resource links:
Download an evaluation copy of the BizTalk Adapter Pack
Sonu Arora's Blog
We could not get it to work with a SAP router string. Tried your example but get the error
The Application Server Host Name (ASHOST) has not been specified.
話題の小向美奈子ストリップを隠し撮り!入念なボディチェックをすり抜けて超小型カメラで撮影した神動画がアップ中!期間限定配信の衝撃的映像を見逃すな
Hi,
I am caling a BAPI from BTS 2006 R2 using WCF SAP adapter. When I execute the BAPI from SAP GUI with the same parameters, I see the reults in 2 parts - Export params and Tables.
However when I call the BAPI from BTS, I get only few elements in the XML as the result. I noticed that only those elements which are labelled export parameters (typically HEADER) are returned and those labelled as Table (ITEM details) are not returned. ANy ideas?