Files and Libraries

Java JSON Client Library

Created December 10, 2024

The Java client-side library is used to provide the set of Java objects that can be serialized to/from JSON using Jackson. This is useful for accessing the JSON REST endpoints that are published by this application.

Resources Example (Raw JAXB)
java.net.URL url = new java.net.URL(baseURL + "/bpm/adhoc/create");
ObjectMapper mapper = new ObjectMapper();
java.net.URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.connect();

mapper.writeValue(connection.getOutputStream(), adHocProcessVO);
Object result = (Object) mapper.readValue( connection.getInputStream(), Object.class );
//handle the result as needed...
    
Resources Example (Jersey client)
javax.ws.rs.client.Client client = javax.ws.rs.client.ClientBuilder.newClient();

Object result = client.target(baseUrl + "/bpm/adhoc/create")
  .post(javax.ws.rs.client.Entity.entity(adHocProcessVO, "application/json"), Object.class);

//handle the result as needed...
    

Files
name size description
api-public-json-client-json-sources.jar 616.37K The sources for the Java JSON client library.

Java XML Client Library

Created December 10, 2024

The Java client-side library is used to access the Web service API for this application using Java.

The Java client-side library is used to provide the set of Java objects that can be serialized to/from XML using JAXB. This is useful for accessing the resources that are published by this application.

Resources Example (Raw JAXB)
java.net.URL url = new java.net.URL(baseURL + "/2.0/permission/grantdefault/widget/{widgetCode}");
JAXBContext context = JAXBContext.newInstance( byte[].class );
java.net.URLConnection connection = url.openConnection();
connection.connect();

Unmarshaller unmarshaller = context.createUnmarshaller();
Object result = (Object) unmarshaller.unmarshal( connection.getInputStream() );
//handle the result as needed...
    
Resources Example (Jersey client)
javax.ws.rs.client.Client client = javax.ws.rs.client.ClientBuilder.newClient();

Object result = client.target(baseUrl + "/2.0/permission/grantdefault/widget/{widgetCode}")
  .post(Object.class);

//handle the result as needed...
    

Files
name size description
api-public-xml-client.jar 18.04K The binaries for the Java XML client library.
api-public-xml-client-xml-sources.jar 14.68K The sources for the Java XML client library.

ns0.xsd

Created December 10, 2024

Files
name size description
ns0.xsd 29.91K