//create notifyTo EPR
EndpointReferenceType nepr =
(EndpointReferenceType) ( (XmlObjectWrapper) notificationConsumer.getEPR( ) ).getXmlObject( );
//add ReferenceProperties
ReferencePropertiesType refProps = nepr.addNewReferenceProperties( );
XmlObject xmlObject = XmlBeanUtils.addChildElement( refProps,
new QName( "TODO" ) );
XmlCursor xmlCursor = xmlObject.newCursor( );
xmlCursor.setTextValue( String.valueOf( ls.getID( ) ) );
xmlCursor.dispose( );