zoukankan      html  css  js  c++  java
  • 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的不一致导致该问题,特别注意有多个命名空间情况下的消息检验。

    解决办法

    修改消息命名空间。

  • 相关阅读:
    【BZOJ2288】生日礼物 [贪心]
    Tinyhttpd阅读笔记
    数据结构-图-经典算法(三)
    数据结构-图-经典算法(二)
    数据结构-图-经典算法(一)
    TCP协议的滑动窗口协议以及流量控制
    2016腾讯实习电话面试总结---2016-03-10
    B树,B+树,B*树
    平衡二叉树(AVL树)
    二叉搜索树(二叉查找树,二叉排序树)
  • 原文地址:https://www.cnblogs.com/aiwz/p/6154647.html
Copyright © 2011-2022 走看看