public WsImpl(RelationshipTypeImpl relationship,String listenerURL,Observer observer){
this.listenerURL=listenerURL;
//this.topicQName=topicQName;
this.observer=observer;
RelationshipParticipantType participant = relationship.getParticipantArray(1);
EndpointReferenceType eprt = participant.getManageabilityEndpointReferenceArray(0);
AttributedURI eprtAddr = eprt.getAddress();
String addr = eprtAddr.getStringValue();
addr=addr.replaceAll("192\\.168\\.0\\.20","12\\.35\\.246\\.160");
eprtAddr.setStringValue(addr);
wsEpr=(EndpointReference)new XmlBeansEndpointReference(eprt);
getNameFromEpr();