public GetManageabilityReferencesResponseDocument getManageabilityReferences(GetManageabilityReferencesDocument request)
{
GetManageabilityReferencesResponseDocument getManageabilityReferencesResponseDocument = GetManageabilityReferencesResponseDocument.Factory.newInstance();
GetManageabilityReferencesResponseDocument.GetManageabilityReferencesResponse getManageabilityReferencesResponse = getManageabilityReferencesResponseDocument.addNewGetManageabilityReferencesResponse();
QName resourceKeyName = QName.valueOf("{" + WeatherstationPropertyQNames.FCCID.getNamespaceURI() + "}ResourceID");
EndpointReferenceType endpointReferenceType = getManageabilityReferencesResponse.addNewManageabilityEndpointReference();
AttributedURI attributedURI = endpointReferenceType.addNewAddress();
attributedURI.setStringValue(InteropConstants.SERVICES_URL + "/" + InteropConstants.WEATHERSTATION_SERVICE_NAME);
ReferencePropertiesType referencePropertiesType = endpointReferenceType.addNewReferenceProperties();
XmlObject key1 = XmlBeanUtils.addChildElement(referencePropertiesType, resourceKeyName);
XmlBeanUtils.setValue(key1, InteropConstants.WEATHERSTATION_KEY1);
EndpointReferenceType endpointReferenceType2 = getManageabilityReferencesResponse.addNewManageabilityEndpointReference();
attributedURI = endpointReferenceType2.addNewAddress();
attributedURI.setStringValue(InteropConstants.SERVICES_URL + "/" + InteropConstants.WEATHERSTATION_SERVICE_NAME);
referencePropertiesType = endpointReferenceType2.addNewReferenceProperties();
key1 = XmlBeanUtils.addChildElement(referencePropertiesType, resourceKeyName);
XmlBeanUtils.setValue(key1, InteropConstants.WEATHERSTATION_KEY2);
return getManageabilityReferencesResponseDocument;
}