Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kb:ws:edi_uploaddocument [2019/06/28 08:32] – [Primer funkcije (SOAP request)] aleksandarkb:ws:edi_uploaddocument [2025/11/06 09:26] (current) – [Akcija] milano
Line 3: Line 3:
 ===== Akcija ===== ===== Akcija =====
  
-Metod omogućava slanje dokumenata (trenutno samo u OAGIS formatuna procesiranje u Balans EDI procesor. Procesor će omogućiti da primljeni dokument bude preveden u odgovarajući Balans ERP zapis i prosleđen na dalju obradu kroz Balans ERP informacioni sistem.+Metod omogućava slanje dokumenata u [[..:web:balans_edi_oagis_opis|određenom OAGIS formatu]] na procesiranje u **Balans EDI procesor**. Procesor će omogućiti da primljeni dokument bude preveden u odgovarajući Balans ERP zapis i prosleđen na dalju obradu kroz Balans ERP informacioni sistem.
  
 ===== Sintaksa ===== ===== Sintaksa =====
Line 28: Line 28:
  
 ^Naziv^Vrsta^Opis| ^Naziv^Vrsta^Opis|
-|docMessage|String|Elektronski dokument, u XML zapisu određenog formata.| +|docMessage|String|Elektronski dokument, u XML zapisu [[..:web:balans_edi_oagis_opis|određenog OAGIS formata]].| 
-|xmlFmt|String|Format zapisa XML fajla. \\ Podrazumevana vrednost je "XML_FMT_OAGIS". \\   \\ **Moguće vrednosti:** \\  \\ "XML_FMT_OAGIS"; Fajl je u OAGIS formatu.|+|xmlFmt|String|Format zapisa XML fajla. \\ Podrazumevana vrednost je "XML_FMT_OAGIS". \\  \\ **Moguće vrednosti:** \\  \\ "XML_FMT_OAGIS"; Fajl je u OAGIS formatu.|
  
 ==== Primer funkcije (SOAP request) ==== ==== Primer funkcije (SOAP request) ====
  
 Header Header
- 
 <code> <code>
-POST https://ws.melany.rs:8191/BEDIProcessor/BEDIProcessor HTTP/1.1+ 
 +POST https://<url>:<port>/<putanja> HTTP/1.1
 Accept-Encoding: gzip,deflate Accept-Encoding: gzip,deflate
 Content-Type: text/xml;charset=UTF-8 Content-Type: text/xml;charset=UTF-8
Line 44: Line 44:
 Connection: Keep-Alive Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.1.1 (java 1.5) User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
 +
 </code> </code>
  
Line 49: Line 50:
  
 <code> <code>
- <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/” xmlns:ser=http://services.balansedi.com/>+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/xmlns:ser="http://services.balansedi.com/">
     <soapenv:Header/>     <soapenv:Header/>
     <soapenv:Body>     <soapenv:Body>
Line 55: Line 56:
             <!--Optional:-->             <!--Optional:-->
             <docMessage>             <docMessage>
-                <![CDATA[<?xml version="1.0" standalone="no"?> +                <![CDATA[<ProcessPurchaseOrder revision="8.0environment="Productionxsi:schemaLocation="http://www.openapplications.org/oagis http://b2bdocs.agrokor.hr/schemas/oagis/8.0/BODs/ShowShipment.xsd http://agrokor.hr/agr http://b2bdocs.agrokor.hr/schemas/agr/oagis/8.0/UserArea/ShowShipment_UserArea.xsdxmlns="http://www.openapplications.org/oagisxmlns:xsi="http://www.w3.org/2001/XMLSchema-instancexmlns:agr="http://agrokor.hr/agrxmlns:mel="https://www.melany.rs/mel">
-<ProcessPurchaseOrder revision=8.0” environment=Production” xsi:schemaLocation=http://www.openapplications.org/oagis http://b2bdocs.agrokor.hr/schemas/oagis/8.0/BODs/ShowShipment.xsd http://agrokor.hr/agr http://b2bdocs.agrokor.hr/schemas/agr/oagis/8.0/UserArea/ShowShipment_UserArea.xsd” xmlns=http://www.openapplications.org/oagis” xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance” xmlns:agr=http://agrokor.hr/agr” xmlns:mel=https://www.melany.rs/mel>+
   <ApplicationArea>   <ApplicationArea>
       <CreationDateTime>2017-04-08T11:25:42Z</CreationDateTime>       <CreationDateTime>2017-04-08T11:25:42Z</CreationDateTime>
Line 221: Line 221:
     </soapenv:Body>     </soapenv:Body>
 </soapenv:Envelope> </soapenv:Envelope>
 +
 </code> </code>
 +
 +
  
  
  • kb/ws/edi_uploaddocument.1561710723.txt.gz
  • Last modified: 2019/06/28 08:32
  • by aleksandar