// Create an endpoint reference for the NotificationConsumer
// Note that since we are using PortListener to handle notifications,
// rather than a Web Service that implements NotificationConsumer this
// EPR is somewhat bogus.
EndpointReferenceType epr = new EndpointReferenceType( );
epr.setAddress( new AttributedURI( callback_url ) );
epr.setPortType( new AttributedQName( "nothing" ) );
ServiceNameType snt = new ServiceNameType( );
snt.setPortName( new NCName( "NotificationConsumer" ) );
snt.set_value( new QName( "TestNotifConsumer" ) );
epr.setServiceName( snt );