An easily deployable small webservice to translate CellDesigner-SBGN-ML files with cd2sbgnml. Choose a port number to deploy the web service, will be mentioned as your_port_number
in this file
curl -X POST --data "xml=$(cat src/main/resources/example.xml)" http://localhost:your_port_number/cd2sbgnml
curl -X POST --data "xml=$(cat src/main/resources/example.sbgn)" http://localhost:your_port_number/sbgnml2cd
mvn install:install-file -Dfile=lib/cd2sbgnml-0.4.3-app.jar -DgroupId=fr.curie -DartifactId=cd2sbgnml -Dversion=0.4.3 -Dpackaging=jar
mvn clean install
mvn clean package assembly:single
java -jar target/cd2sbgnml-webservice-0.1-jar-with-dependencies.jar your_port_number