Имя: Пароль:
1C
1C 7.7
v7: 1C 7.7 + 1C 8.2 Web Service
,
0 Дух1984
 
12.06.13
21:40
Задача состоит в следующем: необходимо передать данные из 1с 7.7 в веб сервис 1с 8.2 по протоколу SOAP.

Написал такой код:
   oXmlHTTP = СоздатьОбъект("Microsoft.XMLHTTP");
   oXmlHTTP.Open("POST", "http://212.56.200.131/MicroinvestWEB1C/ws/ClientApplicationService1C.1cws", "");
   
   oXmlHTTP.setRequestHeader("Content-Type", "application/soap+xml; charset=utf-8");
   oXmlHTTP.setRequestHeader("SOAPAction", "http://www.microinvest.md/validateClientApplication");
   
   SOAPRequest = "<?xml version=""1.0"" encoding=""utf-8""?>" +
   "<soap12:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:soap12=""http://www.w3.org/2003/05/soap-envelope"">" +
   "<soap12:Body>" +
   "<validateClientApplication xmlns=""http://www.microinvest.md/"">" +
   "<ClientApplication xmlns=""http://www.microinvest.md"" xmlns:xs=""http://www.w3.org/2001/XMLSchema"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"">" +
   "<id>9dc0a750-773b-11e1-893b-a60811d9263c</id>" +
   "<dateInsert>2012-03-25</dateInsert>" +
   "<name>Dumitru</name>" +
   "<surname>Cantemir</surname>" +
   "<idno>8912324567893</idno>" +
   "<birthDate>1970-01-01</birthDate>" +
   "<socialStatus>0</socialStatus>" +
   "<familyMembersOlder18>2</familyMembersOlder18>" +
   "<familyMembersYonger18>2</familyMembersYonger18>" +
   "<familyMembersWithoutIncome>3</familyMembersWithoutIncome>" +
   "<residenceCity>Chisinau</residenceCity>" +
   "<residenceRegionType>0</residenceRegionType>" +
   "<residenceStreet>Sf. Gheorghe</residenceStreet>" +
   "<residenceHouse>134</residenceHouse>" +
   "<residenceApartment>12</residenceApartment>" +
   "<officialResidenceCity>Chisinau</officialResidenceCity>" +
   "<officialResidenceRegionType>0</officialResidenceRegionType>" +
   "<officialResidenceStreet>Sf. Gheorghe</officialResidenceStreet>" +
   "<officialResidenceHouse>2</officialResidenceHouse>" +
   "<officialResidenceApartment>1</officialResidenceApartment>" +
   "<phoneHome>1234567</phoneHome>" +
   "<phoneWork>1234</phoneWork>" +
   "<phoneCell>1234567</phoneCell>" +
   "<clientEmail/>" +
   "<employer>Publika TV</employer>" +
   "<employerAddress>Tolstoi</employerAddress>" +
   "<employerField>media</employerField>" +
   "<employerPosition>programator</employerPosition>" +
   "<employerStartDate>0001-01-01</employerStartDate>" +
   "<employerEmployees>100</employerEmployees>" +
   "<contact>Persoana Contact</contact>" +
   "<contactEmployer>microinvest</contactEmployer>" +
   "<contactAddress>Tolstoi</contactAddress>" +
   "<contactPhoneCell>1234</contactPhoneCell>" +
   "<contactPhoneHome>1234</contactPhoneHome>" +
   "<partnerOrganization>ALN.CNT.001</partnerOrganization>" +
   "<partnerComment/>" +
   "<dealerID/>" +
   "<goods>calculator</goods>" +
   "<price>5000</price>" +
   "<clientContribution>0</clientContribution>" +
   "<currency>498</currency>" +
   "<creditTerm>12</creditTerm>" +
   "<paymentDay>5</paymentDay>" +
   "<incomeSalary>10000</incomeSalary>" +
   "<incomePension>0</incomePension>" +
   "<incomeDividents>0</incomeDividents>" +
   "<incomeInterest>0</incomeInterest>" +
   "<incomeRent>0</incomeRent>" +
   "<incomeMoneyTransfers>0</incomeMoneyTransfers>" +
   "<incomeOther>0</incomeOther>" +
   "<incomeOtherMembers>0</incomeOtherMembers>" +
   "<autoWarranty>nu este</autoWarranty>" +
   "<autoOwned>nu este</autoOwned>" +
   "<realEstateUrban>nu este</realEstateUrban>" +
   "<realEstateRural>nu este</realEstateRural>" +
   "<inventoryNumber/>" +
   "<financialObligations>" +
   "<financialObligationsRow>" +
   "<financialInstitution>nu este</financialInstitution>" +
   "<purpose>0</purpose>" +
   "<totalDebt>0</totalDebt>" +
   "<monthlyPayment>0</monthlyPayment>" +
   "<currency>498</currency>" +
   "</financialObligationsRow>" +
   "</financialObligations>" +
   "<fileAttachmentSet/>" +
   "</<ClientApplication>" +
   "</validateClientApplication>" +
   "</soap12:Body>" +
   "</soap12:Envelope>";
   oXmlHTTP.send(SOAPRequest);
   Сообщить(oXmlHTTP.responseText);

При запуске выдает следующее сообщение об ошибке:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Header/>
   <soap:Body>
       <soap:Fault>
           <soap:Code>
               <soap:Value>soap:Sender</soap:Value>
           </soap:Code>
           <soap:Reason>
               <soap:Text xml:lang="ru_RU">Неверный формат. </soap:Text>
           </soap:Reason>
       </soap:Fault>
   </soap:Body>
</soap:Envelope>

Подскажите, пожалуйста, в каком направлении копать ошибку?
Программист всегда исправляет последнюю ошибку.