in src/main/java/org/apache/cxf/cwiki/SiteExporter.java [889:905]
public int getBlogVersion(String pageId) throws Exception {
Document doc = DOMUtils.newDocument();
Element el = doc.createElementNS(SOAPNS, "ns1:getBlogEntry");
Element el2 = doc.createElement("in0");
el.appendChild(el2);
el2.setTextContent(loginToken);
el2 = doc.createElement("in1");
el.appendChild(el2);
el2.setTextContent(pageId);
doc.appendChild(el);
doc = getDispatch().invoke(doc);
Node nd = doc.getDocumentElement().getFirstChild();
String version = DOMUtils.getChildContent(nd, "version");
return Integer.parseInt(version);
}