public void insertProperty(Object[] propElems) throws CallbackFailedException
{
if (propElems.length == 1)
{
//get the request epr
EndpointReferenceType weatherStationEpr = (EndpointReferenceType) propElems[0];
ResourcePropertySet resourcePropertySet = ((PropertiesResource) this).getResourcePropertySet();
ResourceProperty resourceProperty = resourcePropertySet.get(WeatherClientConfigPropertyQNames.RELATIONSHIP);
//define a relationship
RelationshipDocument relationshipDocument = RelationshipDocument.Factory.newInstance();
RelationshipType relationshipType = InteropRequestUtils.createRelationshipType(relationshipDocument.addNewRelationship());
//add self as a participant
RelationshipParticipantType parentRelationshipParticipantType = relationshipType.addNewParticipant();
XmlBeansEndpointReference xmlEpr = (XmlBeansEndpointReference) this.getEndpointReference();
EndpointReferenceType configEndpointReferenceType = (EndpointReferenceType) xmlEpr.getXmlObject(AddressingConstants.NSURI_ADDRESSING_SCHEMA);
parentRelationshipParticipantType.setResourceId("urn:" + getID());
parentRelationshipParticipantType.setRole(InteropConstants.PARENT_RELATION);//uri
parentRelationshipParticipantType.setManageabilityEndpointReferenceArray(new EndpointReferenceType[]{configEndpointReferenceType});