static XmlObject getWebservicesType(URL wsDDUrl) throws DeploymentException {
try {
XmlObject webservicesDocumentUntyped = XmlObject.Factory.parse(wsDDUrl);
XmlCursor cursor = webservicesDocumentUntyped.newCursor();
try {
if (cursor.currentTokenType() != XmlCursor.TokenType.START) {
while(cursor.toNextToken() != XmlCursor.TokenType.START) {}
}
QName qname = cursor.getName();
if (WebservicesDocument.type.getDocumentElementName().equals(qname)) {
return getJ2EEWebServices(webservicesDocumentUntyped);