Siebel 错误:入站 SOAP 消息 XML 解析在第 2 行和第 1 列失败

问题描述 投票:0回答:1

我正在使用

SoapUI
将带有
SOAP
附件的
MTOM file
请求发送到
Oracle Siebel
应用程序,但收到此错误:

Error: Inbound SOAP Message - XML parsing failed at line number : 2 and column number : 1.Check log for more details

请求属性已启用

UTF-8
编码和
MTOM
Siebel server
日志不显示
XML parsing error
上的任何信息。

这是我的

SOAP
请求
XML

<soap-env:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://siebel.com/Service/ServiceReqs" xmlns:data="http://www.siebel.com/xml/ServiceReqIO/Data">
   <soapenv:Header>
      <UsernameToken xmlns="http://siebel.com/webservices">userfoo</UsernameToken>
      <PasswordText xmlns="http://siebel.com/webservices">passwordbar</PasswordText>
      <SessionType xmlns="http://siebel.com/webservices">None</SessionType>
   </soapenv:Header>
   <soap-env:Body>
        <ser:ServiceReqExecute_Input>
            <data:ListOfServicereqio>
                <data:ServiceRequest>
                    <data:SRNumber>111111111111</data:SRNumber>
                    <data:ListOfServiceRequestAttachment>
                        <data:ServiceRequestAttachment>
                            <data:Created>10/02/2024 12:00:00 PM</data:Created>
                            <data:ActivityFileExt>png</data:ActivityFileExt>
                            <data:ActivityFileName>Image</data:ActivityFileName>
                            <data:ActivityFileSize>20000</data:ActivityFileSize>
                            <data:ActivityFileBuffer>cid:123456789</data:ActivityFileBuffer>
                        </data:ServiceRequestAttachment>
                    </data:ListOfServiceRequestAttachment>
                </data:ServiceRequest>
            </data:ListOfServicereqio>
        </ser:ServiceReqExecute_Input>
    </soap-env:Body>
</soap-env:Envelope>

<soapenv:Header>
之前的缩进空格可以是空格或制表符,但我仍然收到错误。

这是

SOAP
回复
XML

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Client</faultcode>
         <faultstring>Error Code: SOAP_ERROR Error Message: Error: Inbound SOAP Message - XML parsing failed at line number : 2 and column number : 1.Check log for more details</faultstring>
         <detail>
            <siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault">
               <siebelf:error>
                  <siebelf:errorsymbol/>
                  <siebelf:errormsg>Error: Inbound SOAP Message - XML parsing failed at line number : 2 and column number : 1.Check log for more details</siebelf:errormsg>
               </siebelf:error>
            </siebelf:errorstack>
         </detail>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
xml soap soapui siebel
1个回答
0
投票

我没有发送 MTOM 附件,而是尝试发送内联附件,Siebel 服务器似乎更喜欢这样(没有 XML 解析错误)。 SoapUI 附件和文件

© www.soinside.com 2019 - 2024. All rights reserved.