EventBrokerServiceStub service = new EventBrokerServiceStub(configurationContext, brokerUrl);
configureCookie(service._getServiceClient());
ServiceClient serviceClient = service._getServiceClient();
OMElement header = fac.createOMElement(new QName(WSE_EVENTING_NS, WSE_EN_IDENTIFIER));
header.setText(subscriptionID);
serviceClient.addHeader(header);
service.unsubscribe(new OMElement[]{});
}
public GetSubscriptionsResponse getAllSubscriptions(int maxRequestCount, String resultFilter, int firstIndex) throws RemoteException{
EventBrokerServiceStub service = new EventBrokerServiceStub(configurationContext, brokerUrl);