}
public Subscription subscribe(SubscriptionListModel sl, NotificationListModel nl, String xpath, Topic t, java.util.Calendar termtime, boolean subend){
try{
TopicFilter tf = null;
XPathFilter xf = null;
if(xpath!=null)
xf= new XPathFilter(xpath);
if(t!=null)
tf= new TopicFilter(t);
NotificationConsumer c = new GUIConsumer("http://localhost:"+inportL+"/axis/services/NotificationPort",nl);
SubscriptionEndConsumer ec = new GUIEndConsumer("http://localhost:"+inportL+"/axis/services/SubscriptionEndPort",sl);