No Subject...
Here is a question from a customer posted on my blog:
Here is a question from a customer posted on my blog:
As a quick note, using the R2 Interceptors with the WCF Adapters are pretty specific. You have to use the IOneWayAsync or ITwoWayAsyncxx type of Interfaces as the event sources. Because BizTalk WCF Adapters use the "BizTalkSubmit" method which either return void or a Message as return params, respectively, and both take in one parameter: Message.
Set the manifest in the EventSource in the Interception Configuration to 'Microsoft.BizTalk.Adapter.Wcf.Runtime.ITwoWayAsyncVoid, Microsoft.BizTalk.Adapter.Wcf.Runtime, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' for example (Taken from the BizTalk 2k6 documentation found here: BizTalkServer2006.chm::/html/d85aa130-3219-4df1-8974-a44a51a15002.htm) See this link for more details: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1713065&SiteID=1
Besides that, what kind of problems are you running into Vidyakumar?
Hi Dwight
I followed your steps and created a sample Interceptor Configuration File(IC). When i try to deploy the same using Command Promt , it is throwing the erroe.
Here are the steps i followed while deploying the Interceptor Configuration File.
1) Created IC file
2) from Visual Studio Commant prompt went to the path
C:\Program Files\Microsoft BizTalk Server 2006\Tracking\BM.exe deploy-interceptor -filename:< ajduster.xml > (Ajduster is my IC file name)
and then i press Enter...it is showing an error stating that "unknown Command"...when i googled it i came to know that this is because "Bm.exe tool does't have the enhancement for handelling interceptor file".....
But i'm using Visual studio 2005, Sql Server 2005 , BizTalk Server 2006R2 with all latest service packs.
Please help me and let me know the why one can deploy the interceptor Configuration file. Do i need to do some more configurations in the WCF Adapter also?"
Any help will be greatly appreciated .
thanks
Vidyakumar.naarumanchi
MCTS-BizTalk 2006
Strange,
What version of the BAM Manager (BM.exe) are you using? You can always open it with Reflector to verify that the command "deploy-interceptor" is there. Maybe there's a string encoding issue...?
I'm not sure if this helps, but I received a strange error when trying to configure a WCF service to use the BAM interceptors. The issue boiled down to NOT having WF/WCF Visual Studio Extensions installed.
You can try this.
You can get the November CTP here:
HTHTry bm.exe /? for help. Also enable tracing by bm.exe -Trace
n to get a tracelog. You will find more info there.
HTH,
Keith Lim
Keith, i tried but still the problem persists....I undeployesd Observation model and when i try to deploy it again...it is throwing a new error "BM.exe is not a valid Win32 Application"..... I'm not even getting help (/?) .....BAM is creating hell lot of problems for me ..please help me
Thanks
Vidyakumar.naarumanchi
MCTS-BizTalk-2006
How did you undeploy the observation model -- using bm.exe remove-all? So did bm.exe work fine for undeploy and now complaining that it is not a "valid Win32 application"? Typically this message means that the executable is corrupt or something which would seem extremely strange to me. Could you list out the steps (the actual commands) that you have undertaken till now for an accurate prognosis.
Thanks,
Amlan
Hi Keith , i started working on BAM WCF Interceptor in BizTalk 2006R2, ur blogs helped me in understanding some concept behind WCF Interceptor and Interceptor Configuration File, but still i'm facing lots of problems in Creating Interceptor Configuration File for WCF and even i n the aread of WCF Adapte configuration to intercept the data.... so i'm requesting you to kindly send me any kind of material which helps me in understanding and also helps me in moving forward.
I'm looking a complete approach from your end in this reard.
Looking forward to here a positive reply from your end.
Thanks
Vidyakumar.naarumanchi
MCTS-BizTalk 2006
vidyakumar.starex@gmail.com