Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
kb:ws:edi_uploaddocument [2019/06/28 08:32] – [Primer funkcije (SOAP request)] aleksandar | kb:ws:edi_uploaddocument [2021/04/09 07:52] – aleksandar |
---|
^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 |
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> |
| |
<!--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> |
</soapenv:Body> | </soapenv:Body> |
</soapenv:Envelope> | </soapenv:Envelope> |
| |
</code> | </code> |
| |
| |
| |
| |