LOG.info( "SubscriptionEnd without notification" );
return;
}
//send SubscriptionEnd Notification
SubscriptionEndDocument sedom = SubscriptionEndDocument.Factory.newInstance( );
SubscriptionEndDocument.SubscriptionEnd se = sedom.addNewSubscriptionEnd( );
LanguageSpecificStringType reasont = se.addNewReason( );
reasont.setStringValue( reason );
try
{
//now call
wsaSOAPConnection sconn = wsaSOAPConnection.newInstance( );
MessageFactory mf = MessageFactory.newInstance( );
SOAPMessage soapm = mf.createMessage( );
//put XMLbean into SOAPBody
soapm.getSOAPBody( ).addDocument( (org.w3c.dom.Document) sedom.newDomNode( ) );
sconn.call( soapm, epr );
}
catch ( Exception e )
{