resourceProperty = resourcePropertySet.get(IntegrationserverPropertyQNames.RELATIONSHIP);
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipDocument prop_relationship = org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipDocument.Factory.newInstance();
RelationshipDocument relationshipDocument = RelationshipDocument.Factory.newInstance();
//add new type
RelationshipType relationshipType = relationshipDocument.addNewRelationship();
RelationshipTypeType relationshipTypeType = relationshipType.addNewType();
XmlObject relationType = XmlObject.Factory.parse("<"+ExampleConstants.RELATIONSHIP_RELATION.getPrefix()+":"+ExampleConstants.RELATIONSHIP_RELATION.getLocalPart()+" xmlns:"+ExampleConstants.RELATIONSHIP_RELATION.getPrefix()+"=" + "\"" + ExampleConstants.RELATIONSHIP_RELATION.getNamespaceURI() + "\" />");
XmlBeanUtils.addChildElement(relationshipTypeType, relationType);
prop_relationship.setRelationship(relationshipType);
resourceProperty.add(prop_relationship);