Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
标题和文档XML未正确分离错误_Xml_Dynamics Crm_Crm_Nusoap - Fatal编程技术网

标题和文档XML未正确分离错误

标题和文档XML未正确分离错误,xml,dynamics-crm,crm,nusoap,Xml,Dynamics Crm,Crm,Nusoap,我收到以下错误: Error: wsdl error: Getting https://XXXXXXX.crm5.dynamics.com/MSCrmServices/2007/CrmServiceWsdl.aspx?uniquename=XXXXXXX - HTTP ERROR: no proper separation of headers and document # # # # # # # Request # # # # # # # string(0) "" # # # # # #

我收到以下错误:

Error: wsdl error: Getting 
https://XXXXXXX.crm5.dynamics.com/MSCrmServices/2007/CrmServiceWsdl.aspx?uniquename=XXXXXXX
- HTTP ERROR: no proper separation of headers and document 
# # # # # # # Request # # # # # # # string(0) "" # # # # # # Response # # # # # # # string(0) ""
我正在使用NuSOAP执行以下请求:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><CrmAuthenticationToken xmlns="http://schemas.microsoft.com/crm/2007/WebServices"><AuthenticationType xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">2</AuthenticationType><OrganizationName xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">XXXXXXX</OrganizationName><CallerId xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">00000000-0000-0000-0000-000000000000</CallerId></CrmAuthenticationToken></soap:Header><soap:Body><Create xmlns="http://schemas.microsoft.com/crm/2007/WebServices"><entity xsi:type="contact"><address1_city>Fortitude Valley</address1_city><address1_line1>PO BOX 1042</address1_line1><address1_postalcode>4006</address1_postalcode><address1_stateorprovince>QLD</address1_stateorprovince><firstname>Dallas</firstname><lastname>Clark - 1329105592</lastname></entity></Create></soap:Body></soap:Envelope>

我试过这个建议()但没用你能解决这个问题吗?我有一个类似的问题。这是一个漫长的过程,我需要一段时间来记录。在不久的将来,我将尝试在这里提供更新。
array(3) {
  ["SOAPAction"]=>
  string(56) "http://schemas.microsoft.com/crm/2007/WebServices/Create"
  ["Content-Type"]=>
  string(26) "text/xml; charset="utf-8"""
  ["Content-Length"]=>
  int(1064)
}