Skip to content

Latest commit

 

History

History

IC4JXMLSample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

IC4J Java sample demonstrating XML DOM object serialization and deserialization to/from Candid Record type.

To install the canister Dapp, use Motoko code main.mo, copy/paste to Motoko Playground and deploy.

This application requires Java version 11.

Modify application.properties file to set canister location and id.

ic.location=https://icp-api.io/
ic.canister=oqjvn-fqaaa-aaaab-qab5q-cai

Run Maven build. Modify Java version in the build file if higher than 11.

mvn package

Run Java with fat jar

java -jar target/ic4j-sample-xml-0.7.0.jar