}
public GetResourcePropertyResponseDocument getResourceProperty(EndpointReferenceType resource, GetResourcePropertyDocument request) {
GetResourcePropertyResponseDocument responseDoc = GetResourcePropertyResponseDocument.Factory.newInstance();
GetResourcePropertyResponse response = responseDoc.addNewGetResourcePropertyResponse();
XmlCursor cursor = response.newCursor();
cursor.toFirstContentToken();
XmlObject[] objects = resourceProperties.selectChildren(request.getGetResourceProperty());
for (int i = 0; i < objects.length; i++) {
objects[i].newCursor().copyXml(cursor);