Hi,
I am getting the following error when I do SDK / BAMFormExpression sample.
This error started after I added BAM API code in to my orchestration.
--------------------------
Uncaught exception (see the 'inner exception' below) has suspended an
instance of service
'BIZ_SC_TO_UNIONPASIFIC_WEBSER_EDI_810_OUT.ORCH_UNIPA_WEBSER_EDI_810(6c7d8ec3-835c-de9b-b42b-192447be695c)'.
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: dceac035-4071-47ae-8a12-f6439fbeb325
Shape name: Send_GeneralException
ShapeId: 2f00b2f0-1263-447a-a4ef-19a92898b024
Exception thrown from: segment 8, progress 8
Inner exception: Type
'Microsoft.BizTalk.Bam.EventObservation.BAMTraceFragmentBatch' in Assembly
'Microsoft.BizTalk.Bam.EventObservation, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
Exception type: SerializationException
Source: mscorlib
Target Site: System.Reflection.MemberInfo[]
InternalGetSerializableMembers(System.RuntimeType)
The following is a stack trace that identifies the location where the
exception occured
at
System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType
type)
at
System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type
type, StreamingContext context)
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
ObjectWriter objectWriter)
at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
ObjectWriter objectWriter)
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream
serializationStream, Object graph, Header[] headers, Boolean fCheck)
at Microsoft.XLANGs.Core.ObjectSerializer._serialize(Object graph,
StringLookup sl)
at
Microsoft.XLANGs.Core.ObjectSerializer.SerializeStateManager(IStateManager
stateMgr, StringLookup lookup)
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context
ctx,
Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean
terminate)
at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore,
XMessage msg)
at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean
ignoreCommit, XMessage msg)
at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean
ignoreCommit, XMessage msg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTX****tBase.SendMessage(Int32
iOperation, XLANGMessage msg, Correlation[] initCorrelations,
Correlation[]
followCorrelations, Context cxt, Segment seg, ActivityFlags flags)
at
BIZ_SC_TO_UNIONPASIFIC_WEBSER_EDI_810_OUT.ORCH_UNIPA_WEBSER_EDI_810.segment8(StopConditions
stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
--------------------------------
I am mapping XML to EDI.
--
Thank you,
Siva
--
Thank you,
Siva


|