Powered by SmartDoc

jaxm option

Example

Execution of Relaxer with the cdl and cdl.jaxm options is as follows:

$ relaxer -cdl -cdl.jaxm cdlJaxm.rcdl

Execution of the relaxer client command with the jaxm option and the findAccount is as follows:

$ java -classpath \
    ".;jaxm-api.jar;saaj-api.jar;saaj-ri.jar;commons-logging.jar;mail.jar;activation.jar;dom4j.jar" \
    AccountManagerCommand --jaxm \
    http://localhost:8080/cdlJaxm/accountManager -findAccount \
    a12345
<account accountNo="a12345"><balance>10000</balance><owner>XML \
    Taro</owner><address zip="123">Yokohama</address><phone \
    area="123">456-7890</phone><phone \
    area="090">123-4567</phone></account>