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

    解决办法

    修改消息命名空间。

  • 相关阅读:
    where和having的区别
    lnmp环境安装
    Elasticsearch 日常维护命令
    Haproxy基础知识
    LVM常规操作记录梳理(扩容/缩容/快照等)
    Centos7下ELK+Redis日志分析平台的集群环境部署记录
    CentOS7.2下安装php加速软件Xcache
    ELK实时日志分析平台环境部署
    Docker容器时间跟主机时间保持同步的操作记录
    ELK基础架构解析
  • 原文地址:https://www.cnblogs.com/hainange/p/6153610.html
Copyright © 2020-2023  润新知