kb:ws:edi_uploaddocument

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
Last revisionBoth sides next revision
kb:ws:edi_uploaddocument [2019/06/28 08:32] – [Primer funkcije (SOAP request)] aleksandarkb:ws:edi_uploaddocument [2021/04/09 07:52] aleksandar
Line 29: Line 29:
 ^Naziv^Vrsta^Opis| ^Naziv^Vrsta^Opis|
 |docMessage|String|Elektronski dokument, u XML zapisu određenog formata.| |docMessage|String|Elektronski dokument, u XML zapisu određenog 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 55: Line 56:
             <!--Optional:-->             <!--Optional:-->
             <docMessage>             <docMessage>
-                <![CDATA[<?xml version="1.0" standalone="no"?> +                <![CDATA[<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”>
-<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.txt
  • Last modified: 2022/09/21 14:18
  • by milano