Svop services
Click here for a complete list of operations.
UploadObject
Upload xml data to server from object.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Service.asmx HTTP/1.1 Host: crzp.services.tuke.sk Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.svop.sk/webservice/UploadObject" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <UploadObject xmlns="http://www.svop.sk/webservice"> <data xmlns="http://www.svop.sk/crepc/25"> <kolekcia_hlavicka> <sigla>bytes</sigla> <datum_vytvorenia>string</datum_vytvorenia> <zodpovedna_osoba> <osoba_priezvisko_a_meno>string</osoba_priezvisko_a_meno> <osoba_email>string</osoba_email> <osoba_telefon>string</osoba_telefon> </zodpovedna_osoba> <nazov_davky>string</nazov_davky> <format>UNIMARC or MARC21 or RESERVED</format> <poznamky_k_davke>string</poznamky_k_davke> <epc_is>string</epc_is> <typ_davky>bytes</typ_davky> <subtyp_davky>string</subtyp_davky> <subtyp_davky>string</subtyp_davky> </kolekcia_hlavicka> <kolekcia_data> <data_zaznam verzia=""> <zaznam_identifikacia xsi:nil="true" /> <zaznam_nazov xsi:nil="true" /> <zaznam_autori xsi:nil="true" /> <zaznam_epca xsi:nil="true" /> <zaznam_pracoviska xsi:nil="true" /> <zaznam_jazyk xsi:nil="true" /> <zaznam_ohlasy xsi:nil="true" /> <zaznam_vydanie xsi:nil="true" /> <zaznam_ine xsi:nil="true" /> <zaznam_hesla xsi:nil="true" /> <zaznam_vazby xsi:nil="true" /> <zaznam_ezp xsi:nil="true" /> </data_zaznam> <data_zaznam verzia=""> <zaznam_identifikacia xsi:nil="true" /> <zaznam_nazov xsi:nil="true" /> <zaznam_autori xsi:nil="true" /> <zaznam_epca xsi:nil="true" /> <zaznam_pracoviska xsi:nil="true" /> <zaznam_jazyk xsi:nil="true" /> <zaznam_ohlasy xsi:nil="true" /> <zaznam_vydanie xsi:nil="true" /> <zaznam_ine xsi:nil="true" /> <zaznam_hesla xsi:nil="true" /> <zaznam_vazby xsi:nil="true" /> <zaznam_ezp xsi:nil="true" /> </data_zaznam> </kolekcia_data> </data> </UploadObject> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <UploadObjectResponse xmlns="http://www.svop.sk/webservice"> <UploadObjectResult> <Status>boolean</Status> <Message>string</Message> </UploadObjectResult> </UploadObjectResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Service.asmx HTTP/1.1 Host: crzp.services.tuke.sk Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <UploadObject xmlns="http://www.svop.sk/webservice"> <data xmlns="http://www.svop.sk/crepc/25"> <kolekcia_hlavicka> <sigla>bytes</sigla> <datum_vytvorenia>string</datum_vytvorenia> <zodpovedna_osoba> <osoba_priezvisko_a_meno>string</osoba_priezvisko_a_meno> <osoba_email>string</osoba_email> <osoba_telefon>string</osoba_telefon> </zodpovedna_osoba> <nazov_davky>string</nazov_davky> <format>UNIMARC or MARC21 or RESERVED</format> <poznamky_k_davke>string</poznamky_k_davke> <epc_is>string</epc_is> <typ_davky>bytes</typ_davky> <subtyp_davky>string</subtyp_davky> <subtyp_davky>string</subtyp_davky> </kolekcia_hlavicka> <kolekcia_data> <data_zaznam verzia=""> <zaznam_identifikacia xsi:nil="true" /> <zaznam_nazov xsi:nil="true" /> <zaznam_autori xsi:nil="true" /> <zaznam_epca xsi:nil="true" /> <zaznam_pracoviska xsi:nil="true" /> <zaznam_jazyk xsi:nil="true" /> <zaznam_ohlasy xsi:nil="true" /> <zaznam_vydanie xsi:nil="true" /> <zaznam_ine xsi:nil="true" /> <zaznam_hesla xsi:nil="true" /> <zaznam_vazby xsi:nil="true" /> <zaznam_ezp xsi:nil="true" /> </data_zaznam> <data_zaznam verzia=""> <zaznam_identifikacia xsi:nil="true" /> <zaznam_nazov xsi:nil="true" /> <zaznam_autori xsi:nil="true" /> <zaznam_epca xsi:nil="true" /> <zaznam_pracoviska xsi:nil="true" /> <zaznam_jazyk xsi:nil="true" /> <zaznam_ohlasy xsi:nil="true" /> <zaznam_vydanie xsi:nil="true" /> <zaznam_ine xsi:nil="true" /> <zaznam_hesla xsi:nil="true" /> <zaznam_vazby xsi:nil="true" /> <zaznam_ezp xsi:nil="true" /> </data_zaznam> </kolekcia_data> </data> </UploadObject> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <UploadObjectResponse xmlns="http://www.svop.sk/webservice"> <UploadObjectResult> <Status>boolean</Status> <Message>string</Message> </UploadObjectResult> </UploadObjectResponse> </soap12:Body> </soap12:Envelope>