...
Code Block | ||
---|---|---|
| ||
URL url = new URL("https://cvlizer.joinvision.com/cvlizer/exservicesoap?wsdl"); QName qname = new QName("http://servlets.iex.jv.com/", "SemanticExtractionService"); QName port = new QName("http://servlets.iex.jv.com/", "SemanticExtractionPort"); Service service = Service.create(url, qname); ISemanticExtraction ss = service.getPort(port, IsemanticExtraction.class); byte[] data = ... System.out.println(ss.extractToXML("", "passwordtoken", "EN", "cvlizer_3_0", data, "pdf")); |
...
Code Block | ||
---|---|---|
| ||
URL url = new URL("https://cvlizer.joinvision.com/cvlizer/exservicesoap?wsdl"); QName qname = new QName("http://servlets.iex.jv.com/", "SemanticExtractionService"); QName port = new QName("http://servlets.iex.jv.com/", "SemanticExtractionPort"); Service service = Service.create(url, qname); ISemanticExtraction ss = service.getPort(port, IsemanticExtraction.class); ArrayList<InputDoc> docs = new ArrayList<InputDoc>(); for ( ... all files to be categorized ...) { InputDoc idoc = new InputDoc(); byte[] data = ... idoc.setData(data); idoc.setFilename(...); docs.add(idoc); } InputDocArray ia = new InputDocArray(); ia.getItem().addAll(docs); OutputDocArray aa = ss.categorize(ia, "hr", "test", "testpasswordtoken"); for (OutputDoc doc : aa.getItem()) { ... process categorized documents ... } |
...
Code Block | ||
---|---|---|
| ||
$client = new SoapClient("https://cvlizer.joinvision.com/cvlizer/exservicesoap?wsdl"); $result = $client->extractToXML("", $password$token, "EN", "cvlizer_3_0", $data, $format); |
...
Code Block | ||
---|---|---|
| ||
Dim client = New ServiceReference.SemanticExtractionClient Dim data() As Byte data = … Console.Out.WriteLine(client.extractToXML("", "passwordtoken", "EN", "cvlizer_3_0", data, "pdf")) |
...
Code Block | ||
---|---|---|
| ||
ServiceReference.SemanticExtractionClient client = new ServiceReference.SemanticExtractionClient(); byte[] data = ... Console.Out.WriteLine(client.extractToXML("", "passwordtoken", "EN", "cvlizer_3_0", data, "pdf")); |
...
Code Block |
---|
from suds.client import Client url = "https://cvlizer.joinvision.com/cvlizer/exservicesoap?wsdl" client = Client(url) xml = client.service.extractToXML('','passwordtoken','EN','cvlizer_3_0', data, 'pdf') |
...
Code Block | ||
---|---|---|
| ||
require 'savon' client = Savon.client do endpoint "https://cvlizer.joinvision.com/cvlizer/exservicesoap" namespace "http://servlets.iex.jv.com/" end content = File.read(filename) base64_content = Base64.encode64(content) response = client.call(:extractToXML, message: { username: "", passwordtoken: "PASSWORDTOKEN", language:"EN", model:"cvlizer_3_0",inputdata:base64_content, inputdatatype:"FORMAT" }) |
...
Code Block |
---|
var soap = require('soap'); var fs = require("fs"); var url = 'https://cvlizer.joinvision.com/cvlizer/exservicesoap?wsdl'; base64 = new Buffer(BINARYDATA).toString('base64'); if (err) throw err; var args = {username:'',passwordtoken:'PASSWORDTOKEN',language:'DE',model:'cvlizer_3_0',inputdata:base64,inputdatatype:'pdf'}; soap.createClient(url, function(err, client) { if (err) throw err; client.extractToXML(args, function(err, result) { if (err) throw err; console.log(result); }); }); }); |
...