input.addNewRegisterHostDesc().setHostDescAsStr(hostDescAsStr);
return xregistryStub.registerHostDesc(input).getRegisterHostDescResponse().getResourceID();
}
public void registerResource(QName resourceName, String resourceAsStr) throws XRegistryClientException {
AddResourceDocument input = AddResourceDocument.Factory.newInstance();
AddResource resource = input.addNewAddResource();
resource.setResourceAsStr(resourceAsStr);
resource.setResourceName(resourceName);
xregistryStub.addResource(input);
}