Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Biz Talk Orchestration > Trying to use D...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 4090 of 4219
Post > Topic >>

Trying to use Direct Binding from Orch to call WCF service

by =?Utf-8?B?TmVhbCBXYWx0ZXJz?= <NealWalters@[EMAIL PROTECTED] Mar 10, 2008 at 11:22 AM

I'm trying to use Direct Binding to call a WCF web service.  In other
words, 
in my orchestration, I specify a request/response logical ****t, and set it
to 
direct binding. 

I used the "Add generated items" in order to have it build the 
Service1.BindingInfo.xml, which I im****ted into my application in BT Admin

Console.  I then added a Filter to the this ****t so it would pick up the
only 
the proper messages.  

In my orchestration, I want to pass the data using a schema.   I build a 
multipart message type, to wrap my schema. The web service was built using
a 
class derived from my schema (built with the XSD utility).  

   I used to do something this with SOAP/Web Services, but have not yet
got 
it to work with WCF.  To get it to work with SOAP, I had to build a proxy,

and specify the .NET assembly name on the third tab of the SOAP
configuration 
(the tab is labeled web service, then use specify the assembly name.)  I 
cannot find any corresponding item for the WCF service.  

Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 10034
Date:  3/10/2008
Time:  11:51:39 AM
User:  N/A
Computer: Dev-XP-BZWRK-01
Description:
Uncaught exception (see the 'inner exception' below) has suspended an 
instance of service 
'TMAC.BizTalk.ESB.DemoWCFDirBind.orchDemo1(0544b58e-8801-97b5-208d-b3de44c99dfa)'.
The service instance will remain suspended until administratively resumed
or 
terminated. 
If resumed the instance will continue from its last persisted state and
may 
re-throw the same unexpected exception.
InstanceId: 8cbe3b11-6145-4c11-a3ba-8692758c47a5
Shape name: 
ShapeId: 
Exception thrown from: segment -1, progress -1
Inner exception: An error occurred while processing the message, refer to 
the details section for more information 
Message ID: {BAE6B633-CC5F-4759-BA46-FC4406FF5A13}
Instance ID: {D76C0FE3-1839-4704-A8AB-C64521849860}
Error Description: System.ServiceModel.Security.MessageSecurityException:
An 
unsecured or incorrectly secured fault was received from the other party.
See 
the inner FaultException for the fault code and detail. ---> 
System.ServiceModel.FaultException: The message could not be processed 
because the action '<BtsActionMapping 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Operation Name="WebServiceSimulator" 
Action="http://tempuri.org/IService1/WebServiceSimulator"
/>
</BtsActionMapping>' is invalid or unrecognized.
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult
result)
   at 
System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult
result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, 
Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult 
result)

Exception rethrown at [0]: 
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&

msgData, Int32 type)
   at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult

result)
   at 
Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult
result)

        
Exception type: XlangSoapException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void VerifyTrans****t(Microsoft.XLANGs.Core.Envelope, Int32, 
Microsoft.XLANGs.Core.Context)
The following is a stack trace that identifies the location where the 
exception occured

   at 
Microsoft.BizTalk.XLANGs.BTXEngine.BTX****tBase.VerifyTrans****t(Envelope
env, 
Int32 operationId, Context ctx)
   at Microsoft.XLANGs.Core.Subscription.Receive(Segment s, Context ctx, 
Envelope& env, Boolean topOnly)
   at Microsoft.XLANGs.Core.****tBase.GetMessageId(Subscription
subscription, 
Segment currentSegment, Context cxt, Envelope& env, CachedObject location)
   at TMAC.BizTalk.ESB.DemoWCFDirBind.orchDemo1.segment1(StopConditions 
stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, 
StopConditions stopCond, Exception& exp)

 

Thanks in advance,
Neal Walters
http://Biztalk-Training.com
 




 9 Posts in Topic:
Trying to use Direct Binding from Orch to call WCF service
=?Utf-8?B?TmVhbCBXYWx0ZXJ  2008-03-10 11:22:24 
Re: Trying to use Direct Binding from Orch to call WCF service
"Claus Geer Hammersh  2008-03-12 15:38:54 
Re: Trying to use Direct Binding from Orch to call WCF service
=?Utf-8?B?TmVhbCBXYWx0ZXJ  2008-04-11 14:24:01 
Re: Trying to use Direct Binding from Orch to call WCF service
"Claus Geer Hammersh  2008-04-14 12:07:35 
Re: Trying to use Direct Binding from Orch to call WCF service
=?Utf-8?B?TmVhbCBXYWx0ZXJ  2008-04-14 12:01:00 
Re: Trying to use Direct Binding from Orch to call WCF service
"Claus Geer Hammersh  2008-04-17 16:14:58 
Re: Trying to use Direct Binding from Orch to call WCF service
=?Utf-8?B?TmVhbCBXYWx0ZXJ  2008-04-23 07:23:02 
Re: Trying to use Direct Binding from Orch to call WCF service
=?Utf-8?B?TmVhbCBXYWx0ZXJ  2008-04-28 12:22:02 
Re: Trying to use Direct Binding from Orch to call WCF service
=?Utf-8?B?R2FuZXNo?= <  2008-10-15 05:07:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 7:38:24 CST 2008.