BizTalk请求JAVA的Web Service报错

错误

Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'FJUC.LRMS.BTS.Core.Import(625f1ace-0afd-0887-16ac-4e0648345c8a)'.
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: 429faab0-82bc-4f14-95c7-9a5f8ab8d4a4
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: {EB736161-D12C-48BF-B0DF-7F493BBF7BB2}
Instance ID: {CD81B425-BCCE-401D-979B-E4713E67CBB1}
Error Description: Failed to serialize the message part "attemperReceiveBean" into the type "AttemperReceiveBean" using namespace "
http://bean.webservice.attemperres.geosoft.com". Please ensure that the message part stream is created properly.
Exception type: XlangSoapException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void VerifyTransport(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.BTXPortBase.VerifyTransport(Envelope env, Int32 operationId, Context ctx)
at Microsoft.XLANGs.Core.Subscription.Receive(Segment s, Context ctx, Envelope& env, Boolean topOnly)
at Microsoft.XLANGs.Core.PortBase.GetMessageId(Subscription subscription, Segment currentSegment, Context cxt, Envelope& env,CachedObject location)
at FJUC.LRMS.BTS.Core.Import.segment2(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

原因

XML消息的命名空间跟Schema的不一致导致该问题,特别注意有多个命名空间情况下的消息检验。

解决办法

修改消息命名空间。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值