|
ЕГАИС: УТМ не пропускает АПНБ во втором формате | ☑ | ||
---|---|---|---|---|
0
al_zzz
17.07.17
✎
08:27
|
До обязательного перехода на второй формат делали всё в первом(была там определенная проблема с АПНБ во втором формате). Теперь так не работает. Переделал на второй. Теперь сообщение во втром формате выглядит так:
"<ns:Documents xmlns:ainp2="http://fsrar.ru/WEGAIS/ActChargeOn_v2" xmlns:aint2="http://fsrar.ru/WEGAIS/ActInventoryF1F2Info" xmlns:non_qualified_element="http://fsrar.ru/WEGAIS/CommonEnum" xmlns:ns="http://fsrar.ru/WEGAIS/WB_DOC_SINGLE_01" xmlns:oref="http://fsrar.ru/WEGAIS/ClientRef_v2" xmlns:pref="http://fsrar.ru/WEGAIS/ProductRef_v2" xmlns:qp="http://fsrar.ru/WEGAIS/QueryParameters" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns:Owner> <ns:FSRAR_ID>010000005142</ns:FSRAR_ID> </ns:Owner> <ns:Document> <ns:ActChargeOn_v2> <ainp2:Identity>b4b7f74b-6aa8-11e7-94e0-90b11c148085</ainp2:Identity> <ainp2:Header> <ainp2:Number>LNV106800</ainp2:Number> <ainp2:ActDate>2017-07-17</ainp2:ActDate> <ainp2:TypeChargeOn>Продукция, полученная до 01.01.2016</ainp2:TypeChargeOn> <ainp2:Note>Тест</ainp2:Note> </ainp2:Header> <ainp2:Content> <ainp2:Position> <ainp2:Identity>1</ainp2:Identity> <ainp2:Quantity>1</ainp2:Quantity> <ainp2:Product> <pref:FullName>ВОДКА "РУССКАЯ ВАЛЮТА PLATINUM"</pref:FullName> <pref:ShortName>ВОДКА "РУССКАЯ ВАЛЮТА PLATINUM"</pref:ShortName> <pref:AlcCode>0031632000001616093</pref:AlcCode> <pref:Capacity>0.1</pref:Capacity> <pref:AlcVolume>40</pref:AlcVolume> <pref:Producer> <oref:UL> <oref:ClientRegId>010048941324</oref:ClientRegId> <oref:FullName>Акционерное общество "Татспиртпром"</oref:FullName> <oref:ShortName>АО "Татспиртпром"</oref:ShortName> <oref:INN>1681000049</oref:INN> <oref:KPP>161643003</oref:KPP> <oref:address> <oref:Country>643</oref:Country> <oref:RegionCode>16</oref:RegionCode> <oref:description>РОССИЯ,,ТАТАРСТАН РЕСП,Высокогорский муниципальный р-н,Усадское сельское поселение,Тимофеевка д,Профсоюзная ул,д. 4,,</oref:description> </oref:address> </oref:UL> </pref:Producer> <pref:ProductVCode>200</pref:ProductVCode> <pref:UnitType>Packed</pref:UnitType> </ainp2:Product> <ainp2:InformF1F2> <ainp2:InformF1F2Reg> <ainp2:InformF1> <aint2:Quantity>1</aint2:Quantity> <aint2:BottlingDate>2016-09-26</aint2:BottlingDate> <aint2:TTNNumber>02245/12</aint2:TTNNumber> <aint2:TTNDate>2016-10-08</aint2:TTNDate> </ainp2:InformF1> </ainp2:InformF1F2Reg> </ainp2:InformF1F2> <MarkCodeInfo> <MarkCode>22N000008NGLW6UXAE50OEO609230040389274MVD6FJN6KWPV7WG46DOVO35R1OOV6A</MarkCode> </MarkCodeInfo> </ainp2:Position> </ainp2:Content> </ns:ActChargeOn_v2> </ns:Document> </ns:Documents>" А ругань УТМа на него выглядит так: <A><error>org.xml.sax.SAXParseException; cvc-complex-type.2.4.a: Invalid content was found starting with element 'MarkCodeInfo'. One of '{"http://fsrar.ru/WEGAIS/ActChargeOn_v2":alcPercent, "http://fsrar.ru/WEGAIS/ActChargeOn_v2":alcPercentMin, "http://fsrar.ru/WEGAIS/ActChargeOn_v2":alcPercentMax, "http://fsrar.ru/WEGAIS/ActChargeOn_v2":MarkCodeInfo}' is expected.</error><ver>2</ver></A> ЧЯДНТ? |
|||
1
Ёпрст
17.07.17
✎
09:07
|
||||
2
HawkEye
17.07.17
✎
09:07
|
(0) MarkCodeInfo - без префикса...
|
|||
3
al_zzz
17.07.17
✎
09:46
|
(2) Спасибо! В этом было дело!
|
Форум | Правила | Описание | Объявления | Секции | Поиск | Книга знаний | Вики-миста |