Автор |
Сообщение |
|
попробовал запрос по интервалу, все равно ошибка( то же самое при поиске по идентификатору)
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><apldef:submitApplicationRequest><apldef:apiKey>…</apldef:apiKey><apl:application><apl:serviceId>mercury-g2b.service:2.0</apl:serviceId><apl:issuerId>…</apl:issuerId><apl:issueDate>2017-12-20T13:53:30</apl:issueDate><apl:data><merc:getVetDocumentChangesListRequest><merc:localTransactionId>a100013</merc:localTransactionId><merc:initiator><vd:login>kolganov_ve_171023</vd:login></merc:initiator><bs:listOptions><bs:count>5</bs:count></bs:listOptions><bs:updateDateInterval><bs:beginDate>2017-12-15T13:53:30</bs:beginDate><bs:endDate>2017-12-16T13:53:30</bs:endDate></bs:updateDateInterval><dt:enterpriseGuid>80cd0344-ba4b-46d3-b58b-65717de11ecb</dt:enterpriseGuid></merc:getVetDocumentChangesListRequest></apl:data></apl:application></apldef:submitApplicationRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
получаю
faultstring>BEA-382513: OSB Replace action failed updating variable "body": Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items</faultstring>
|
 |
|
Все равно у меня не проходит запрос. vvche, м.б. еще что посоветуете?
<?xml version="1.0" encoding="UTF-8"?>
-<soapenv:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
-<soapenv:Body>
-<apldef:submitApplicationRequest>
<apldef:apiKey>...</apldef:apiKey>
-<apl:application>
<apl:serviceId>mercury-g2b.service:2.0</apl:serviceId>
<apl:issuerId>...</apl:issuerId>
<apl:issueDate>2017-12-19T08:49:05</apl:issueDate>
-<apl:data>
-<merc:getVetDocumentListRequest>
<merc:localTransactionId>a1003</merc:localTransactionId>
-<merc:initiator>
<vd:login>kkk...</vd:login>
</merc:initiator>
-<bs:listOptions>
<bs:count>10</bs:count>
<bs:offset>0</bs:offset>
</bs:listOptions>
<vd:vetDocumentStatus>CONFIRMED</vd:vetDocumentStatus>
<dt:enterpriseGuid>80cd0344-ba4b-46d3-b58b-65717de11ecb</dt:enterpriseGuid>
</merc:getVetDocumentListRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</soapenv:Body>
</soapenv:Envelope>
получаю:
<faultstring>BEA-382513: OSB Replace action failed updating variable "body": Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items</faultstring>
|
 |
|
М.б. кто-нибудь подскажет, где ошибка:
<?xml version="1.0" encoding="UTF-8"?>
-<soapenv:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns si="http://www.w3.org/2001/XMLSchema-instance" xmlns s="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
-<soapenv:Body>
-<apldef:ssubmitApplicationRequest>
<apldef:apiKey>...</apldef:apiKey>
-<apl:application>
<apl:serviceId>mercury-g2b.service:2.0</apl:serviceId>
<apl:issuerId>...</apl:issuerId>
<apl:issueDate>2017-12-18T20:30:12</apl:issueDate>
-<apl:data>
-<merc:getVetDocumentListRequest>
<merc:localTransactionId/>
-<merc:initiator>
<vd:login>kolganov_ve_171023</vd:login>
</merc:initiator>
-<bs:listOptions>
<bs:count>10</bs:count>
<bs:offset>0</bs:offset>
</bs:listOptions>
<vd:vetDocumentType>PRODUCTIVE</vd:vetDocumentType>
<vd:vetDocumentStatus>CONFIRMED</vd:vetDocumentStatus>
<dt:enterpriseGuid>80cd0344-ba4b-46d3-b58b-65717de11ecb</dt:enterpriseGuid>
</merc:getVetDocumentListRequest>
</apl:data>
</apl:application>
</apldef:ssubmitApplicationRequest>
</soapenv:Body>
</soapenv:Envelope>
получаю ответ:
faultstring>BEA-382513: OSB Replace action failed updating variable "body": Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items</faultstring>
|
 |
|
|
|