e.printStackTrace();
}
//topicExprType.setDialect("http://foobar");
XmlBeansTopicExpression topicExpr = new XmlBeansTopicExpression(topicExprType.getTopicExpression());
SubscriptionResource sub = new SubscriptionResource(epr,epr,null,"my/producer/home",topicExpr);
sub.setNotificationProducer(new NotifProducer());
/* EndpointReference consumerReference, EndpointReference producerReference,
Calendar initialTerminationTime, Object policy, QueryExpression precondition,
QueryExpression selector, ResourceKey producerKey, String producerHomeLocation,
TopicExpression topicExpression, boolean useNotify )