List of usage examples for org.w3c.dom Document getXmlVersion
public String getXmlVersion();
From source file:org.sakaiproject.myshowcase.tool.MyShowcaseGetShowcaseEvidenceMappingsController.java
private void getMappingList(Long compID) { try {/*from ww w . j a v a 2 s. c om*/ System.out.println("compID : " + compID); String orgGroupId = "192"; WebServiceConsumer wsc = new WebServiceConsumer(); wsc.setURL("http://www.learning-slate.com/multiport/services/services.asmx"); wsc.setWebService("Competency"); wsc.clear(); wsc.setWebMethod("GetTree"); wsc.add(new Parameter("competencyId", compID.toString())); wsc.add(new Parameter("orgGroupId", orgGroupId)); wsc.list(); System.out.println("Full results :\n" + wsc.getResults().toString()); Document dom; dom = wsc.getXMLResults(); System.out.println("Version : " + dom.getXmlVersion().toString()); System.out.println("Still going"); createMappingList(dom); } catch (Exception e) { System.out.println("GetMappingList Error..."); System.out.println(e.toString()); } }