hi,
i just saw the updated subscribe method
public org.apache.ws.pubsub.Subscription
subscribe(
org.apache.ws.pubsub.NotificationConsumer notificationConsumer,
org.apache.ws.pubsub.Filter[] filters,
Calendar initialTerminationTime,
java.net.URI deliveryMode,
Object policy) {
}
The problem is, that deliverMode is not just an URI, <delivery> is a
bigger concept in WSE, which contains xs:any. For example in the implied
deliveryMode which is PUSH (asynchron, unwrapped) there can be a
<notifyTO> element which itself is a WSA EndpointReferenceType.
i think we should use the advantages of the WSE spec, which uses not so
well defined but open concepts like delivery and filter. so it could look
like
subscribe(notifconsumer, filter, termination, delivery, policy)
where filter is one interface, which can contain other filters like
preconditions, selectors.....
Sam was talking about a plan in wsn tc, to also use such a broader concept
of filter in WSN.
Delivery is also one interface, that contains information about
wrapped/unwrapped for WSN or the deliverymode+notifyTO+XYZ for WSE.
stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]