cursor = xobj.newCursor();
cursor.toStartDoc();
cursor.toFirstChild();
//the checking is needed as we also send JAX-RPC based webservices.xml here
if ("http://java.sun.com/xml/ns/javaee".equals(cursor.getName().getNamespaceURI())) {
WebservicesDocument wd = (WebservicesDocument)xobj.changeType(WebservicesDocument.type);
WebservicesType wst = wd.getWebservices();
for (WebserviceDescriptionType desc : wst.getWebserviceDescriptionArray()) {
String wsdlFile = null;
if (desc.getWsdlFile() != null) {
wsdlFile = getString(desc.getWsdlFile().getStringValue());