Home Page › Forums › BizTalk 2004 – BizTalk 2010 › .svc to consume in biztalk › Re: .svc to consume in biztalk
Hi Gurus,
I managed to use the .SVC file into my Orchestration and I am using Construct Message which inturn is using an expression shape.But when the msgs reaches the send port(WCF send port) I receive the following error msg.I imported the bindinginfo.xml at the appiication in the administration console.
Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 10024
Date: 8/7/2008
Time: 10:46:29 PM
User: N/A
Computer: SCCUTL02-SDC
Description:
Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Module_1.BizTalk_Orchestration1(bf3feb58-b47e-e0ee-8b1e-bec580b77e3d)’.
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: 6fdbd194-f912-4da0-925a-69b286527c9b
Shape name: Send_MTSWS_req
ShapeId: 455d2c21-e892-4daf-97e6-7bb36cf90677
Exception thrown from: segment 1, progress 12
Inner exception: The value assigned to property ‘http://MeansTesting.PropertySchema.PropertySchema:MessageContent’ is not valid: ‘<MTQuery><PatientNRIC>S1234567D</PatientNRIC><PatientAddress><FloorNumber>123</FloorNumber><UnitNumber>06-81</UnitNumber><PostalCode>760123</PostalCode>
</PatientAddress><Unborn>S</Unborn><CitizenshipStatus>P</CitizenshipStatus><DateOfValidity>2008-04-28</DateOfValidity><TierNumber>2</TierNumber><RetestIndicator>N</RetestIndicator><HealthcareFacility>1234567890</Healthc’.
Exception type: InvalidPropertyValueException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Microsoft.BizTalk.Agent.Interop.IBTMessage PrepareMessage(Microsoft.XLANGs.BaseTypes.XLANGMessage, System.Collections.IList, System.Collections.IList)
The following is a stack trace that identifies the location where the exception occured
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.PrepareMessage(XLANGMessage msg, IList promoteProps, IList toPromote)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.WriteMessageState(IBTPEPInfoLookup pepLookup, Guid portId, XLANGMessage msg, Segment seg, String opname, String url, IList promoteProps, Boolean track, IList toPromote)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXLogicalPortBinding.SendMessage(XLANGMessage msg, XlangStore store, Segment seg, OperationInfo op, IList additionalProps, IList toPromote, Boolean ignoreRoutingFailure)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32 iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[] followCorrelations, SubscriptionWrapper& subscriptionWrapper, Context cxt, Segment seg, ActivityFlags flags)
at Microsoft.XLANGs.Core.PortBase.SendMessage(Int32 iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[] followCorrelations, SubscriptionWrapper& subscriptionWrapper, Context cxt, Segment seg)
at Module_1.BizTalk_Orchestration1.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:
The property “MessageContent” has a value with length greater than 256 characters.
Exception type: COMException
Source:
Target Site: Void Promote(System.String, System.String, System.Object)
The following is a stack trace that identifies the location where the exception occured
at Microsoft.BizTalk.Message.Interop.IBaseMessageContext_RawMapping.Promote(String strName, String strNameSpace, Object obj)
at Microsoft.BizTalk.Message.Interop.MessageContext_ManagedViewOfNative.Promote(String strName, String strNameSpace, Object obj)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.PrepareMessage(XLANGMessage msg, IList promoteProps, IList toPromote)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Any Pointers?