0

我可以访问有关法律公司的网站数据信息。

我想在我的网站上显示这些信息,以利用它们。他们告诉我使用 xmlrequest 但我不知道如何实际提交 Siret 号码并检索信息

我被告知这是一个类型系统getdata。

他们给了我一个示例查询

<xmlrequest>
    <header>
        <username>demo</username>
        <password>********</password>
        <operation>getcompanyinformation</operation>
        <language>EN</language>
        <country>FR</country>
        <chargereference>[Demonstration.aspx]</chargereference>
    </header>
    <body>
        <package>standard</package>
        <companynumber>NUMERO SIRET</companynumber>
    </body>
</xmlrequest>

我将此代码放在页面 .xml 上,但是当我在浏览器中加载它时,它只显示没有 xml 标记的文本。

所以我不知道如何将消息发送到服务器并接收响应。

4

1 回答 1

0

to exploit them?

我猜你使用的是谷歌浏览器,对吧?默认情况下,Chrome 会将 XML 作为文本。如果您查看源代码,XML 就在那里。

于 2012-07-31T07:09:07.260 回答