代码之家  ›  专栏  ›  技术社区  ›  Hoang Do

为什么我的ariba不能解析我的响应api?

  •  1
  • Hoang Do  · 技术社区  · 8 年前

    <?xml version="1.0" encoding="UTF-8"?>
    <cXML payloadID="1501467044460-2947794417638298020@216.109.111.19" timeStamp="2017-07-30T19:10:44-07:00">
       <Response>
          <Status code="200" text="OK" />
          <PunchOutSetupResponse>
             <StartPage>
                <URL>test.ariba.com</URL>
             </StartPage>
          </PunchOutSetupResponse>
       </Response>
    </cXML>
    

    然而,我仍然从Ariba那里得到了这样的信息:

    无法分析文档

    2 回复  |  直到 8 年前
        1
  •  0
  •   Frederic Henri    8 年前

    这是我们正在正确使用和工作的文档

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
    <cXML timestamp="<%= @timestamp %>" payloadID="<%= @payload_id %>">
      <Response>
        <Status code="200" text="success"></Status>
        <PunchOutSetupResponse>
          <StartPage>
            <URL><%= @start_url %></URL>
          </StartPage>
        </PunchOutSetupResponse>
      </Response>
    </cXML>
    

    http://test.mysite.com/xxxxx

        2
  •  0
  •   Ganesh    8 年前

    你能检查一下是否有语言依赖性吗。lang=“en US”