다른 Magento 설치에서 두 가지 다른 응답이 나타납니다. 그들은 동일하게 간주하고 둘 다 작동해야하지만 두 번째 응답은 Axis Java 클라이언트 응용 프로그램에서 구문 분석 할 수 없습니다. Axis의 새로운 버전이 둘 다 구문 분석 할 수 있는지 여부는 알 수 없습니다.다른 형식의 축 SOAP 응답은 동일합니까?
질문은 다음과 같습니다. SOAP 형식의보기에서 두 응답 모두 동일한 결과로 잘 분석해야합니까?
응답 1 :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:salesOrderListResponse>
<result SOAP-ENC:arrayType="ns1:salesOrderEntity[24]" xsi:type="ns1:salesOrderEntityArray">
<item xsi:type="ns1:salesOrderEntity">
<increment_id xsi:type="xsd:string">100000056-1</increment_id>
<parent_id xsi:type="xsd:string">0</parent_id>
...
응답 2 :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento"
xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:salesOrderListResponse>
<result SOAP-ENC:arrayType="ns2:Map[30]" xsi:type="ns1:salesOrderEntityArray">
<item xsi:type="ns2:Map">
<item>
<key xsi:type="xsd:string">increment_id</key>
<value xsi:type="xsd:string">200000281</value>
</item>
<item>
<key xsi:type="xsd:string">parent_id</key>
<value xsi:type="xsd:string">0</value>
</item>
...
업데이트 : 모두 설치가 같은 Magento의 버전 1.3.2.4을 사용합니다. 두 번째 설치시 PHP 5.2.13이 실행 중입니다. PHP 버전과 관련이 있거나 PHP 비누 프레임 워크를 설치할 수 있습니까?