分配给Biztalk业务流程中长属性的值无效
我在Biztalk中遇到以下错误分配给Biztalk业务流程中长属性的值无效,biztalk,long-integer,Biztalk,Long Integer,我在Biztalk中遇到以下错误 The value assigned to property 'https://blah.Schemas.PropertySchema:sequenceNumber' is not valid: '15'. Error: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'blah.Orchestrations.CommitDisp
The value assigned to property 'https://blah.Schemas.PropertySchema:sequenceNumber' is not valid: '15'.
Error:
Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'blah.Orchestrations.CommitDispatcher(3d0134b5-83b1-1fb7-c6b0-5d6fa4614373)'.
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: 4da93c1f-7303-4052-adf4-976afcdda1cf
Shape name: SetSequence
ShapeId: 3909c37f-092e-419d-864d-4a0cb5a7c03e
Exception thrown from: segment 1, progress 134
Inner exception: The value assigned to property 'https://blah.Schemas.PropertySchema:sequenceNumber' is not valid: '15'.
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)
这是我用来设置上述长值的模式
<ns0:SetSequenceNumber xmlns:ns0="http://tempuri.org/">
<ns0:transactionId>transactionId_0</ns0:transactionId>
<ns0:sequenceNumber>10/<ns0:sequenceNumber>
</ns0:SetSequenceNumber>
事务ID_0
10/
sequenceNumber
的数据类型是xs:long
有人能帮我了解出了什么问题。我认为这是Biztalk中的一个明显错误(我也有过Biztalk 2009) 约西·达汉谈到了这一点
我使用的解决方法只是将相关性的类型更改为xs:string。这在BTS2016中仍然是一个问题:-( 我使用了nonNegativeInteger,这同样有效。类似nonNegativeInteger的Seams在编排中使用int64变量