php soap xml前缀错误

时间:2015-06-10 07:23:31

标签: php soap

我正在使用php soap,我已经请求xml:

 <?xml version="1.0" encoding="utf-16"?>
<Search xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ExtraParamList i:nil="true" />
  <Form>
    <ProductId>20</Id>
  </Form>
</Search>

我有错误:The prefix 'i' is not defined.

如果删除i:nil="true"我有错误Object reference not set to an instance of an object.

0 个答案:

没有答案