* @see NotificationProducerPortType#getCurrentMessage(org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageDocument)
*/
public GetCurrentMessageResponseDocument getCurrentMessage( GetCurrentMessageDocument requestDoc )
{
GetCurrentMessageDocument.GetCurrentMessage request = requestDoc.getGetCurrentMessage( );
TopicExpression topicExpr = getTopicExpression( request.getTopic( ) );
Topic[] topics = evaluateTopicExpression( topicExpr );
if ( topics.length == 0 )
{
throw new InvalidTopicExpressionFaultException( NAMESPACE_SET,
"Given TopicExpression did not match any Topics supported by this NotificationProducer - the WS-BaseN spec mandates that it match exactly one." );