我的PHP有问题 - Microsoft AX集成。 我使用SOAP / WSDL与服务集成,我遇到的问题是我在从PHP发送请求到WSDL后出现此错误
"无效的实例类型名称' ns3:AxdEntity_DirParty_DirOrganization"
发送的部分XML导致此问题
<ns3:DirParty class="entity" xsi:type="ns3:AxdEntity_DirParty_DirOrganization"
和我的肥皂env
SOAP-ENV:Envelope xmlns:SOAP-ENV =&#34; http://schemas.xmlsoap.org/soap/envelope/"的xmlns:NS1 =&#34; HTTP://schemas.microsoft.com/dynamics/2006/02/documents/EntityKey"的xmlns:ns2的=&#34; HTTP://schemas.microsoft.com/dynamics/2006/02/documents/EntityKeyList"的xmlns:=的xsi&#34; HTTP://www.w3.org/2001/XMLSchema-instance"的xmlns:NS3 =&#34; HTTP://schemas.microsoft.com/dynamics/2008/01/documents/Customer"的xmlns:NS4 =&#34; HTTP://schemas.microsoft.com/dynamics/2008/01/sharedtypes"的xmlns:NS5 =&#34; HTTP://schemas.microsoft.com/dynamics/2008/01/services"的xmlns:NS6 =&#34; HTTP://schemas.microsoft.com/dynamics/2010/01/datacontracts"&GT;
正如您所看到的,PHP&amp;它的soap客户端已将所有命名空间别名,我需要它们内联,就像这样
<DirParty xsi:type="AxdEntity_DirParty_DirOrganization" class="entity" action="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
如何在PHP soap客户端中禁用命名空间别名?