* Use the setup on security-cam for update to cxf 4.0.0

This commit is contained in:
richard-austin
2024-11-27 16:10:39 +00:00
parent 2a5e14f211
commit 8147fcf925
1576 changed files with 2747 additions and 124499 deletions

4
build.gradle Normal file
View File

@@ -0,0 +1,4 @@
ext {
cxfVersion='4.0.0' // In version above 4.0.1, JaxwsNotificationBroker has changed so that there is no setAddress method
}

View File

@@ -3,8 +3,8 @@
*/
plugins {
// id 'org.onvif.java-conventions'
// id 'java-test-fixtures'
// id 'org.onvif.java-conventions'
// id 'java-test-fixtures'
id 'java'
id 'java-library'
id("com.github.erdi.webdriver-binaries") version "3.2"
@@ -23,7 +23,7 @@ repositories {
// url = uri("https://company/com/maven2")
}
// uri = uri("https://build.shibboleth.net/maven/releases/org/opensaml/")
// uri = uri("https://build.shibboleth.net/maven/releases/org/opensaml/")
}
tasks.register('xxx', Exec) {
@@ -35,34 +35,41 @@ clean.dependsOn(":onvif-ws-client:clean")
compileJava.dependsOn(":onvif-ws-client:build")
dependencies {
implementation 'org.apache.cxf:cxf-rt-frontend-jaxws:3.3.2'
implementation 'org.apache.cxf:cxf-rt-ws-security:3.3.2'
implementation 'org.apache.cxf:cxf-rt-transports-http:3.3.2'
implementation group: 'org.apache.cxf.services.wsn', name: 'cxf-services-wsn-core', version: '3.3.2'
implementation "org.apache.cxf:cxf-rt-frontend-jaxws:${project.property('cxfVersion')}"
implementation "org.apache.cxf:cxf-rt-ws-security:${project.property('cxfVersion')}"
implementation "org.apache.cxf:cxf-rt-transports-http:${project.property('cxfVersion')}"
implementation group: "org.apache.cxf.services.wsn", name: "cxf-services-wsn-core", version: project.property('cxfVersion')
implementation "org.apache.cxf:cxf-rt-transports-http-jetty:${project.property('cxfVersion')}"
testCompileOnly "org.apache.cxf:cxf-rt-frontend-jaxws:${project.property('cxfVersion')}"
testCompileOnly "org.apache.cxf:cxf-rt-ws-security:${project.property('cxfVersion')}"
testCompileOnly "org.apache.cxf:cxf-rt-transports-http:${project.property('cxfVersion')}"
testCompileOnly "org.apache.cxf.services.wsn:cxf-services-wsn-core:${project.property('cxfVersion')}"
// Required for cxf version > 4.0.1
// compileOnly 'org.checkerframework:checker-qual:3.48.2'
// compileOnly 'com.google.errorprone:error_prone_annotations:2.36.0'
// compileOnly 'com.google.j2objc:j2objc-annotations:3.0.0'
// testCompileOnly 'org.checkerframework:checker-qual:3.48.2'
// testCompileOnly 'com.google.errorprone:error_prone_annotations:2.36.0'
// testCompileOnly 'com.google.j2objc:j2objc-annotations:3.0.0'
implementation 'org.apache.activemq:activemq-broker:6.1.4'
//implementation files('../onvif-ws-client/build/libs/onvif-ws-client.jar')
// testImplementation files('../onvif-ws-client/build/libs/onvif-ws-client.jar')
implementation project(':onvif-ws-client')
testImplementation project(':onvif-ws-client')
implementation 'commons-io:commons-io:2.14.0'
implementation 'commons-codec:commons-codec:1.10'
implementation 'org.apache.commons:commons-lang3:3.4'
implementation 'com.sun.xml.messaging.saaj:saaj-impl:1.5.1'
implementation 'com.sun.activation:javax.activation:1.2.0'
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation group: 'javax.xml.ws', name: 'jaxws-api', version: '2.3.1'
compileOnly 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.2'
compileOnly 'jakarta.xml.ws:jakarta.xml.ws-api:4.0.2'
implementation 'jakarta.jws:jakarta.jws-api:3.0.0'
implementation 'jakarta.xml.soap:jakarta.xml.soap-api:3.0.2'
implementation group: 'javax.xml.soap', name: 'javax.xml.soap-api', version: '1.4.0'
implementation group: 'javax.xml.ws', name: 'jaxws-api', version: '2.3.1'
// implementation group: 'org.apache.activemq', name: 'activemq-broker', version: '6.1.4'
implementation 'com.sun.xml.bind:jaxb-core:2.3.0.1'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.1'
// implementation testFixtures(project(':onvif-ws-client'))
implementation 'org.glassfish.hk2:osgi-resource-locator:1.0.3'
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.26'
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.26'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.12'
}

View File

@@ -1,41 +1,16 @@
package de.onvif.discovery;
import jakarta.xml.soap.*;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.net.InterfaceAddress;
import java.net.MalformedURLException;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.net.URL;
import java.net.*;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.List;
import java.util.Random;
import java.util.TreeSet;
import java.util.UUID;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.MimeHeaders;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.util.*;
import java.util.concurrent.*;
/**
* Device discovery class to list local accessible devices probed per UDP probe messages.
@@ -56,8 +31,28 @@ public class DeviceDiscovery {
public static final boolean enableIPv6 = false;
public static final String WS_DISCOVERY_ADDRESS_IPv6 = "[FF02::C]";
public static final String WS_DISCOVERY_PROBE_MESSAGE =
"<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" xmlns:tns=\"http://schemas.xmlsoap.org/ws/2005/04/discovery\"><soap:Header><wsa:Action>http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe</wsa:Action><wsa:MessageID>urn:uuid:c032cfdd-c3ca-49dc-820e-ee6696ad63e2</wsa:MessageID><wsa:To>urn:schemas-xmlsoap-org:ws:2005:04:discovery</wsa:To></soap:Header><soap:Body><tns:Probe/></soap:Body></soap:Envelope>";
public static final String WS_DISCOVERY_PROBE_MESSAGE = """
<?xml version="1.0" encoding="utf-8"?>
<Envelope xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns="http://www.w3.org/2003/05/soap-envelope">
<Header>
<wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
uuid:732fb73a-5681-19f5-0ad8-522c31113505
</wsa:MessageID>
<wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
urn:schemas-xmlsoap-org:ws:2005:04:discovery
</wsa:To>
<wsa:Action xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe
</wsa:Action>
</Header>
<Body>
<Probe xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/ws/2005/04/discovery">
<Types>tds:Device</Types>
<Scopes/>
</Probe>
</Body>
</Envelope><?xml version="1.0" encoding="utf-8"?>""";
private static final Random random = new SecureRandom();
public static void main(String[] args) throws InterruptedException {

View File

@@ -1,20 +1,15 @@
package de.onvif.soap;
import jakarta.xml.ws.BindingProvider;
import org.apache.cxf.configuration.jsse.TLSClientParameters;
import org.apache.cxf.transport.http.HTTPConduit;
import javax.net.ssl.*;
import java.security.GeneralSecurityException;
import java.security.SecureRandom;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Map;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.KeyManager;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import javax.xml.ws.BindingProvider;
import org.apache.cxf.configuration.jsse.TLSClientParameters;
import org.apache.cxf.transport.http.HTTPConduit;
public class NaiveSSLHelper {
public static void makeWebServiceClientTrustEveryone(Object webServicePort) {
@@ -84,8 +79,8 @@ public class NaiveSSLHelper {
}
}
private static final java.lang.String JAXWS_HOSTNAME_VERIFIER =
private static final String JAXWS_HOSTNAME_VERIFIER =
"com.sun.xml.internal.ws.transport.https.client.hostname.verifier";
private static final java.lang.String JAXWS_SSL_SOCKET_FACTORY =
private static final String JAXWS_SSL_SOCKET_FACTORY =
"com.sun.xml.internal.ws.transport.https.client.SSLSocketFactory";
}

View File

@@ -1,336 +1,329 @@
package de.onvif.soap;
import de.onvif.beans.DeviceInfo;
import java.net.ConnectException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.*;
import java.util.concurrent.TimeUnit;
import javax.xml.soap.SOAPException;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.Holder;
import org.apache.cxf.binding.soap.Soap12;
import org.apache.cxf.binding.soap.SoapBindingConfiguration;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
import org.apache.cxf.transport.http.HTTPConduit;
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
import org.onvif.ver10.device.wsdl.Device;
import org.onvif.ver10.device.wsdl.DeviceService;
import org.onvif.ver10.events.wsdl.EventPortType;
import org.onvif.ver10.events.wsdl.EventService;
import org.onvif.ver10.media.wsdl.Media;
import org.onvif.ver10.media.wsdl.MediaService;
import org.onvif.ver10.schema.Capabilities;
import org.onvif.ver10.schema.CapabilityCategory;
import org.onvif.ver10.schema.DateTime;
import org.onvif.ver10.schema.MediaUri;
import org.onvif.ver10.schema.SetDateTimeType;
import org.onvif.ver10.schema.StreamSetup;
import org.onvif.ver10.schema.StreamType;
import org.onvif.ver10.schema.Transport;
import org.onvif.ver10.schema.TransportProtocol;
import org.onvif.ver20.imaging.wsdl.ImagingPort;
import org.onvif.ver20.imaging.wsdl.ImagingService;
import org.onvif.ver20.ptz.wsdl.PTZ;
import org.onvif.ver20.ptz.wsdl.PtzService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.xml.ws.handler.Handler;
import javax.xml.ws.handler.MessageContext;
/**
* @author Robin Dick
* @author Modified by Brad Lowe
*/
public class OnvifDevice {
private static final Logger logger = LoggerFactory.getLogger(OnvifDevice.class);
private static final String DEVICE_SERVICE = "/onvif/device_service";
private final URL url; // Example http://host:port, https://host, http://host, http://ip_address
private Device device;
private Media media;
private PTZ ptz;
private ImagingPort imaging;
private EventPortType events;
private static boolean verbose = false; // enable/disable logging of SOAP messages
final SimpleSecurityHandler securityHandler;
private static URL cleanURL(URL u) throws ConnectException {
if (u == null) throw new ConnectException("null url not allowed");
String f = u.getFile();
if (!f.isEmpty()) {
String out = u.toString().replace(f, "");
try {
return new URL(out);
} catch (MalformedURLException e) {
throw new ConnectException("MalformedURLException " + u);
}
}
return u;
}
/*
* @param url is http://host or http://host:port or https://host or https://host:port
* @param user Username you need to login, or "" for none
* @param password User's password to login, or "" for none
*/
public OnvifDevice(URL url, String user, String password) throws ConnectException, SOAPException {
this.url = cleanURL(url);
securityHandler =
!user.isEmpty() && !password.isEmpty() ? new SimpleSecurityHandler(user, password) : null;
init();
}
/**
* Initializes an Onvif device, e.g. a Network Video Transmitter (NVT) with logindata.
*
* @param deviceIp The IP address or host name of your device, you can also add a port
* @param user Username you need to login
* @param password User's password to login
* @throws ConnectException Exception gets thrown, if device isn't accessible or invalid and
* doesn't answer to SOAP messages
* @throws SOAPException
*/
public OnvifDevice(String deviceIp, String user, String password)
throws ConnectException, SOAPException, MalformedURLException {
this(
deviceIp.startsWith("http") ? new URL(deviceIp) : new URL("http://" + deviceIp),
user,
password);
}
/**
* Initializes an Onvif device, e.g. a Network Video Transmitter (NVT) with logindata.
*
* @param hostIp The IP address of your device, you can also add a port but noch protocol (e.g.
* http://)
* @throws ConnectException Exception gets thrown, if device isn't accessible or invalid and
* doesn't answer to SOAP messages
* @throws SOAPException
*/
public OnvifDevice(String hostIp) throws ConnectException, SOAPException, MalformedURLException {
this(hostIp, null, null);
}
/**
* Initalizes the addresses used for SOAP messages and to get the internal IP, if given IP is a
* proxy.
*
* @throws ConnectException Get thrown if device doesn't give answers to GetCapabilities()
* @throws SOAPException
*/
protected void init() throws ConnectException, SOAPException {
DeviceService deviceService = new DeviceService(null, DeviceService.SERVICE);
BindingProvider deviceServicePort = (BindingProvider) deviceService.getDevicePort();
this.device =
getServiceProxy(deviceServicePort, url.toString() + DEVICE_SERVICE).create(Device.class);
// resetSystemDateAndTime(); // don't modify the camera in a constructor.. :)
Capabilities capabilities = this.device.getCapabilities(List.of(CapabilityCategory.ALL));
if (capabilities == null) {
throw new ConnectException("Capabilities not reachable.");
}
if (capabilities.getMedia() != null && capabilities.getMedia().getXAddr() != null) {
this.media = new MediaService().getMediaPort();
this.media =
getServiceProxy((BindingProvider) media, capabilities.getMedia().getXAddr())
.create(Media.class);
}
if (capabilities.getPTZ() != null && capabilities.getPTZ().getXAddr() != null) {
this.ptz = new PtzService().getPtzPort();
this.ptz =
getServiceProxy((BindingProvider) ptz, capabilities.getPTZ().getXAddr())
.create(PTZ.class);
}
if (capabilities.getImaging() != null && capabilities.getImaging().getXAddr() != null) {
this.imaging = new ImagingService().getImagingPort();
this.imaging =
getServiceProxy((BindingProvider) imaging, capabilities.getImaging().getXAddr())
.create(ImagingPort.class);
}
if (capabilities.getEvents() != null && capabilities.getEvents().getXAddr() != null) {
this.events = new EventService().getEventPort();
this.events =
getServiceProxy((BindingProvider) events, capabilities.getEvents().getXAddr())
.create(EventPortType.class);
}
}
public JaxWsProxyFactoryBean getServiceProxy(BindingProvider servicePort, String serviceAddr) {
JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
proxyFactory.getHandlers();
if (serviceAddr != null) proxyFactory.setAddress(serviceAddr);
proxyFactory.setServiceClass(servicePort.getClass());
SoapBindingConfiguration config = new SoapBindingConfiguration();
config.setVersion(Soap12.getInstance());
proxyFactory.setBindingConfig(config);
Client deviceClient = ClientProxy.getClient(servicePort);
if (verbose) {
// these logging interceptors are depreciated, but should be fine for debugging/development
// use.
proxyFactory.getOutInterceptors().add(new LoggingOutInterceptor());
proxyFactory.getInInterceptors().add(new LoggingInInterceptor());
}
HTTPConduit http = (HTTPConduit) deviceClient.getConduit();
if (securityHandler != null) proxyFactory.getHandlers().add(securityHandler);
HTTPClientPolicy httpClientPolicy = http.getClient();
httpClientPolicy.setConnectionTimeout(36000);
httpClientPolicy.setReceiveTimeout(32000);
httpClientPolicy.setAllowChunking(false);
return proxyFactory;
}
public void resetSystemDateAndTime() {
Calendar calendar = Calendar.getInstance();
Date currentDate = new Date();
boolean daylightSavings = calendar.getTimeZone().inDaylightTime(currentDate);
org.onvif.ver10.schema.TimeZone timeZone = new org.onvif.ver10.schema.TimeZone();
timeZone.setTZ(displayTimeZone(calendar.getTimeZone()));
org.onvif.ver10.schema.Time time = new org.onvif.ver10.schema.Time();
time.setHour(calendar.get(Calendar.HOUR_OF_DAY));
time.setMinute(calendar.get(Calendar.MINUTE));
time.setSecond(calendar.get(Calendar.SECOND));
org.onvif.ver10.schema.Date date = new org.onvif.ver10.schema.Date();
date.setYear(calendar.get(Calendar.YEAR));
date.setMonth(calendar.get(Calendar.MONTH) + 1);
date.setDay(calendar.get(Calendar.DAY_OF_MONTH));
org.onvif.ver10.schema.DateTime utcDateTime = new org.onvif.ver10.schema.DateTime();
utcDateTime.setDate(date);
utcDateTime.setTime(time);
device.setSystemDateAndTime(SetDateTimeType.MANUAL, daylightSavings, timeZone, utcDateTime);
}
private static String displayTimeZone(TimeZone tz) {
long hours = TimeUnit.MILLISECONDS.toHours(tz.getRawOffset());
long minutes =
TimeUnit.MILLISECONDS.toMinutes(tz.getRawOffset()) - TimeUnit.HOURS.toMinutes(hours);
// avoid -4:-30 issue
minutes = Math.abs(minutes);
String result = "";
if (hours > 0) {
result = String.format("GMT+%02d:%02d", hours, minutes);
} else {
result = String.format("GMT%02d:%02d", hours, minutes);
}
return result;
}
/** Is used for basic devices and requests of given Onvif Device */
public Device getDevice() {
return device;
}
public PTZ getPtz() {
return ptz;
}
public Media getMedia() {
return media;
}
public ImagingPort getImaging() {
return imaging;
}
public EventPortType getEvents() {
return events;
}
public DateTime getDate() {
return device.getSystemDateAndTime().getLocalDateTime();
}
public DeviceInfo getDeviceInfo() {
Holder<String> manufacturer = new Holder<>();
Holder<String> model = new Holder<>();
Holder<String> firmwareVersion = new Holder<>();
Holder<String> serialNumber = new Holder<>();
Holder<String> hardwareId = new Holder<>();
device.getDeviceInformation(manufacturer, model, firmwareVersion, serialNumber, hardwareId);
return new DeviceInfo(
manufacturer.value,
model.value,
firmwareVersion.value,
serialNumber.value,
hardwareId.value);
}
public String getHostname() {
return device.getHostname().getName();
}
public String reboot() throws ConnectException, SOAPException {
return device.systemReboot();
}
// returns http://host[:port]/path_for_snapshot
public String getSnapshotUri(String profileToken) {
MediaUri sceenshotUri = media.getSnapshotUri(profileToken);
if (sceenshotUri != null) {
return sceenshotUri.getUri();
}
return "";
}
public String getSnapshotUri() {
return getSnapshotUri(0);
}
public String getStreamUri() {
return getStreamUri(0);
}
// Get snapshot uri for profile with index
public String getSnapshotUri(int index) {
if (media.getProfiles().size() >= index)
return getSnapshotUri(media.getProfiles().get(index).getToken());
return "";
}
public String getStreamUri(int index) {
return getStreamUri(media.getProfiles().get(index).getToken());
}
// returns rtsp://host[:port]/path_for_rtsp
public String getStreamUri(String profileToken) {
StreamSetup streamSetup = new StreamSetup();
Transport t = new Transport();
t.setProtocol(TransportProtocol.RTSP);
streamSetup.setTransport(t);
streamSetup.setStream(StreamType.RTP_UNICAST);
MediaUri rtsp = media.getStreamUri(streamSetup, profileToken);
return rtsp != null ? rtsp.getUri() : "";
}
public static boolean isVerbose() {
return verbose;
}
public static void setVerbose(boolean verbose) {
OnvifDevice.verbose = verbose;
}
}
package de.onvif.soap;
import de.onvif.beans.DeviceInfo;
import jakarta.xml.soap.SOAPException;
import jakarta.xml.ws.BindingProvider;
import jakarta.xml.ws.Holder;
import org.apache.cxf.binding.soap.Soap12;
import org.apache.cxf.binding.soap.SoapBindingConfiguration;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
import org.apache.cxf.transport.http.HTTPConduit;
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
import org.onvif.ver10.device.wsdl.Device;
import org.onvif.ver10.device.wsdl.DeviceService;
import org.onvif.ver10.events.wsdl.EventPortType;
import org.onvif.ver10.events.wsdl.EventService;
import org.onvif.ver10.media.wsdl.Media;
import org.onvif.ver10.media.wsdl.MediaService;
import org.onvif.ver10.schema.*;
import org.onvif.ver20.imaging.wsdl.ImagingPort;
import org.onvif.ver20.imaging.wsdl.ImagingService;
import org.onvif.ver20.ptz.wsdl.PTZ;
import org.onvif.ver20.ptz.wsdl.PtzService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.ConnectException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.TimeZone;
import java.util.concurrent.TimeUnit;
/**
* @author Robin Dick
* @author Modified by Brad Lowe
*/
public class OnvifDevice {
private static final Logger logger = LoggerFactory.getLogger(OnvifDevice.class);
private static final String DEVICE_SERVICE = "/onvif/device_service";
private final URL url; // Example http://host:port, https://host, http://host, http://ip_address
private Device device;
private Media media;
private PTZ ptz;
private ImagingPort imaging;
private EventPortType events;
private static boolean verbose = false; // enable/disable logging of SOAP messages
final SimpleSecurityHandler securityHandler;
private static URL cleanURL(URL u) throws ConnectException {
if (u == null) throw new ConnectException("null url not allowed");
String f = u.getFile();
if (!f.isEmpty()) {
String out = u.toString().replace(f, "");
try {
return new URL(out);
} catch (MalformedURLException e) {
throw new ConnectException("MalformedURLException " + u);
}
}
return u;
}
/*
* @param url is http://host or http://host:port or https://host or https://host:port
* @param user Username you need to login, or "" for none
* @param password User's password to login, or "" for none
*/
public OnvifDevice(URL url, String user, String password) throws ConnectException, SOAPException {
this.url = cleanURL(url);
securityHandler =
!user.isEmpty() && !password.isEmpty() ? new SimpleSecurityHandler(user, password) : null;
init();
}
/**
* Initializes an Onvif device, e.g. a Network Video Transmitter (NVT) with logindata.
*
* @param deviceIp The IP address or host name of your device, you can also add a port
* @param user Username you need to login
* @param password User's password to login
* @throws ConnectException Exception gets thrown, if device isn't accessible or invalid and
* doesn't answer to SOAP messages
* @throws SOAPException
*/
public OnvifDevice(String deviceIp, String user, String password)
throws ConnectException, SOAPException, MalformedURLException {
this(
deviceIp.startsWith("http") ? new URL(deviceIp) : new URL("http://" + deviceIp),
user,
password);
}
/**
* Initializes an Onvif device, e.g. a Network Video Transmitter (NVT) with logindata.
*
* @param hostIp The IP address of your device, you can also add a port but noch protocol (e.g.
* http://)
* @throws ConnectException Exception gets thrown, if device isn't accessible or invalid and
* doesn't answer to SOAP messages
* @throws SOAPException
*/
public OnvifDevice(String hostIp) throws ConnectException, SOAPException, MalformedURLException {
this(hostIp, null, null);
}
/**
* Initalizes the addresses used for SOAP messages and to get the internal IP, if given IP is a
* proxy.
*
* @throws ConnectException Get thrown if device doesn't give answers to GetCapabilities()
* @throws SOAPException
*/
protected void init() throws ConnectException, SOAPException {
DeviceService deviceService = new DeviceService(null, DeviceService.SERVICE);
BindingProvider deviceServicePort = (BindingProvider) deviceService.getDevicePort();
this.device =
getServiceProxy(deviceServicePort, url.toString() + DEVICE_SERVICE).create(Device.class);
// resetSystemDateAndTime(); // don't modify the camera in a constructor.. :)
Capabilities capabilities = this.device.getCapabilities(List.of(CapabilityCategory.ALL));
if (capabilities == null) {
throw new ConnectException("Capabilities not reachable.");
}
if (capabilities.getMedia() != null && capabilities.getMedia().getXAddr() != null) {
this.media = new MediaService().getMediaPort();
this.media =
getServiceProxy((BindingProvider) media, capabilities.getMedia().getXAddr())
.create(Media.class);
}
if (capabilities.getPTZ() != null && capabilities.getPTZ().getXAddr() != null) {
this.ptz = new PtzService().getPtzPort();
this.ptz =
getServiceProxy((BindingProvider) ptz, capabilities.getPTZ().getXAddr())
.create(PTZ.class);
}
if (capabilities.getImaging() != null && capabilities.getImaging().getXAddr() != null) {
this.imaging = new ImagingService().getImagingPort();
this.imaging =
getServiceProxy((BindingProvider) imaging, capabilities.getImaging().getXAddr())
.create(ImagingPort.class);
}
if (capabilities.getEvents() != null && capabilities.getEvents().getXAddr() != null) {
this.events = new EventService().getEventPort();
this.events =
getServiceProxy((BindingProvider) events, capabilities.getEvents().getXAddr())
.create(EventPortType.class);
}
}
public JaxWsProxyFactoryBean getServiceProxy(BindingProvider servicePort, String serviceAddr) {
JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
proxyFactory.getHandlers();
if (serviceAddr != null) proxyFactory.setAddress(serviceAddr);
proxyFactory.setServiceClass(servicePort.getClass());
SoapBindingConfiguration config = new SoapBindingConfiguration();
config.setVersion(Soap12.getInstance());
proxyFactory.setBindingConfig(config);
Client deviceClient = ClientProxy.getClient(servicePort);
if (verbose) {
// these logging interceptors are depreciated, but should be fine for debugging/development
// use.
proxyFactory.getOutInterceptors().add(new LoggingOutInterceptor());
proxyFactory.getInInterceptors().add(new LoggingInInterceptor());
}
HTTPConduit http = (HTTPConduit) deviceClient.getConduit();
if (securityHandler != null) proxyFactory.getHandlers().add(securityHandler);
HTTPClientPolicy httpClientPolicy = http.getClient();
httpClientPolicy.setConnectionTimeout(36000);
httpClientPolicy.setReceiveTimeout(32000);
httpClientPolicy.setAllowChunking(false);
return proxyFactory;
}
public void resetSystemDateAndTime() {
Calendar calendar = Calendar.getInstance();
Date currentDate = new Date();
boolean daylightSavings = calendar.getTimeZone().inDaylightTime(currentDate);
org.onvif.ver10.schema.TimeZone timeZone = new org.onvif.ver10.schema.TimeZone();
timeZone.setTZ(displayTimeZone(calendar.getTimeZone()));
org.onvif.ver10.schema.Time time = new org.onvif.ver10.schema.Time();
time.setHour(calendar.get(Calendar.HOUR_OF_DAY));
time.setMinute(calendar.get(Calendar.MINUTE));
time.setSecond(calendar.get(Calendar.SECOND));
org.onvif.ver10.schema.Date date = new org.onvif.ver10.schema.Date();
date.setYear(calendar.get(Calendar.YEAR));
date.setMonth(calendar.get(Calendar.MONTH) + 1);
date.setDay(calendar.get(Calendar.DAY_OF_MONTH));
DateTime utcDateTime = new DateTime();
utcDateTime.setDate(date);
utcDateTime.setTime(time);
device.setSystemDateAndTime(SetDateTimeType.MANUAL, daylightSavings, timeZone, utcDateTime);
}
private static String displayTimeZone(TimeZone tz) {
long hours = TimeUnit.MILLISECONDS.toHours(tz.getRawOffset());
long minutes =
TimeUnit.MILLISECONDS.toMinutes(tz.getRawOffset()) - TimeUnit.HOURS.toMinutes(hours);
// avoid -4:-30 issue
minutes = Math.abs(minutes);
String result = "";
if (hours > 0) {
result = String.format("GMT+%02d:%02d", hours, minutes);
} else {
result = String.format("GMT%02d:%02d", hours, minutes);
}
return result;
}
/** Is used for basic devices and requests of given Onvif Device */
public Device getDevice() {
return device;
}
public PTZ getPtz() {
return ptz;
}
public Media getMedia() {
return media;
}
public ImagingPort getImaging() {
return imaging;
}
public EventPortType getEvents() {
return events;
}
public DateTime getDate() {
return device.getSystemDateAndTime().getLocalDateTime();
}
public DeviceInfo getDeviceInfo() {
Holder<String> manufacturer = new Holder<>();
Holder<String> model = new Holder<>();
Holder<String> firmwareVersion = new Holder<>();
Holder<String> serialNumber = new Holder<>();
Holder<String> hardwareId = new Holder<>();
device.getDeviceInformation(manufacturer, model, firmwareVersion, serialNumber, hardwareId);
return new DeviceInfo(
manufacturer.value,
model.value,
firmwareVersion.value,
serialNumber.value,
hardwareId.value);
}
public String getHostname() {
return device.getHostname().getName();
}
public String reboot() throws ConnectException, SOAPException {
return device.systemReboot();
}
// returns http://host[:port]/path_for_snapshot
public String getSnapshotUri(String profileToken) {
MediaUri sceenshotUri = media.getSnapshotUri(profileToken);
if (sceenshotUri != null) {
return sceenshotUri.getUri();
}
return "";
}
public String getSnapshotUri() {
return getSnapshotUri(0);
}
public String getStreamUri() {
return getStreamUri(0);
}
// Get snapshot uri for profile with index
public String getSnapshotUri(int index) {
if (media.getProfiles().size() >= index)
return getSnapshotUri(media.getProfiles().get(index).getToken());
return "";
}
public String getStreamUri(int index) {
return getStreamUri(media.getProfiles().get(index).getToken());
}
// returns rtsp://host[:port]/path_for_rtsp
public String getStreamUri(String profileToken) {
StreamSetup streamSetup = new StreamSetup();
Transport t = new Transport();
t.setProtocol(TransportProtocol.RTSP);
streamSetup.setTransport(t);
streamSetup.setStream(StreamType.RTP_UNICAST);
MediaUri rtsp = media.getStreamUri(streamSetup, profileToken);
return rtsp != null ? rtsp.getUri() : "";
}
public static boolean isVerbose() {
return verbose;
}
public static void setVerbose(boolean verbose) {
OnvifDevice.verbose = verbose;
}
}

View File

@@ -1,16 +1,12 @@
package de.onvif.soap;
/** @author schrepfler */
import javax.net.ssl.*;
import java.security.GeneralSecurityException;
import java.security.SecureRandom;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
/**
* This class provide various static methods that relax X509 certificate and hostname verification
@@ -25,12 +21,14 @@ public final class SSLUtilities {
*
* @deprecated see {@link #_hostnameVerifier}.
*/
@Deprecated
private static HostnameVerifier __hostnameVerifier;
/**
* Thrust managers for the Sun's deprecated API.
*
* @deprecated see {@link #_trustManagers}.
*/
@Deprecated
private static TrustManager[] __trustManagers;
/** Hostname verifier. */
private static HostnameVerifier _hostnameVerifier;
@@ -43,6 +41,7 @@ public final class SSLUtilities {
*
* @deprecated see {@link #_trustAllHostnames()}.
*/
@Deprecated
private static void __trustAllHostnames() {
// Create a trust manager that does not validate certificate chains
if (__hostnameVerifier == null) {
@@ -59,6 +58,7 @@ public final class SSLUtilities {
*
* @deprecated see {@link #_trustAllHttpsCertificates()}.
*/
@Deprecated
private static void __trustAllHttpsCertificates() {
SSLContext context;
@@ -147,8 +147,9 @@ public final class SSLUtilities {
* old deprecated API from the com.sun. ssl package.
*
* @author Francis Labrie
* @deprecated see {@link SSLUtilities.FakeHostnameVerifier}.
* @deprecated see {@link FakeHostnameVerifier}.
*/
@Deprecated
public static class _FakeHostnameVerifier implements HostnameVerifier {
/**
@@ -170,8 +171,9 @@ public final class SSLUtilities {
* com.sun.ssl package.
*
* @author Francis Labrie
* @deprecated see {@link SSLUtilities.FakeX509TrustManager}.
* @deprecated see {@link FakeX509TrustManager}.
*/
@Deprecated
public static class _FakeX509TrustManager implements X509TrustManager {
/** Empty array of certificate authority certificates. */

View File

@@ -1,41 +1,19 @@
package de.onvif.soap;
import static org.apache.wss4j.common.WSS4JConstants.BASE64_ENCODING;
import static org.apache.wss4j.common.WSS4JConstants.CREATED_LN;
import static org.apache.wss4j.common.WSS4JConstants.NONCE_LN;
import static org.apache.wss4j.common.WSS4JConstants.PASSWORD_DIGEST;
import static org.apache.wss4j.common.WSS4JConstants.PASSWORD_LN;
import static org.apache.wss4j.common.WSS4JConstants.PASSWORD_TYPE_ATTR;
import static org.apache.wss4j.common.WSS4JConstants.USERNAME_LN;
import static org.apache.wss4j.common.WSS4JConstants.USERNAME_TOKEN_LN;
import static org.apache.wss4j.common.WSS4JConstants.WSSE_LN;
import static org.apache.wss4j.common.WSS4JConstants.WSSE_NS;
import static org.apache.wss4j.common.WSS4JConstants.WSSE_PREFIX;
import static org.apache.wss4j.common.WSS4JConstants.WSU_NS;
import static org.apache.wss4j.common.WSS4JConstants.WSU_PREFIX;
import jakarta.xml.soap.*;
import jakarta.xml.ws.handler.MessageContext;
import jakarta.xml.ws.handler.soap.SOAPHandler;
import jakarta.xml.ws.handler.soap.SOAPMessageContext;
import org.apache.commons.codec.binary.Base64;
import javax.xml.namespace.QName;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Random;
import java.util.Set;
import java.util.SimpleTimeZone;
import java.util.TimeZone;
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPHeader;
import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPPart;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;
import java.util.*;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.codec.digest.MessageDigestAlgorithms;
import static org.apache.wss4j.common.WSS4JConstants.*;
/*
Utility class to add user/password onvif credentials to SOAP communications

View File

@@ -59,8 +59,8 @@ public class DiscoverAndTest {
public static void main(String[] args) {
// get user and password.. we will ignore device host
String user = "";
String password = "";
String user = "admin";
String password = "R%40nc1dTapsB0ttom";
if (args.length > 0) user = args[0];
if (args.length > 1) password = args[1];

View File

@@ -1,96 +1,97 @@
package org.onvif.client;
import de.onvif.soap.OnvifDevice;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ConnectException;
import java.net.MalformedURLException;
import java.util.List;
import javax.xml.soap.SOAPException;
import org.onvif.ver10.schema.Profile;
public class ReadCommandsFromStdInput {
private static final String INFO =
"Commands:\n \n url: Get snapshort URL.\n info: Get information about each valid command.\n profiles: Get all profiles.\n inspect: Get device details.\n exit: Exit this application.";
public static void main(String[] args) {
InputStreamReader inputStream = new InputStreamReader(System.in);
BufferedReader keyboardInput = new BufferedReader(inputStream);
String input, cameraAddress, user, password;
try {
System.out.println("Please enter camera IP (with port if not 80):");
cameraAddress = keyboardInput.readLine();
System.out.println("Please enter camera username:");
user = keyboardInput.readLine();
System.out.println("Please enter camera password:");
password = keyboardInput.readLine();
if (cameraAddress == null || user == null || password == null)
throw new IOException("No input");
} catch (IOException e1) {
e1.printStackTrace();
return;
}
System.out.println("Connect to camera, please wait ...");
OnvifDevice cam;
try {
cam = new OnvifDevice(cameraAddress, user, password);
} catch (MalformedURLException | ConnectException | SOAPException e1) {
System.err.println("No connection to camera, please try again.");
return;
}
System.out.println("Connection to camera successful!");
while (true) {
try {
System.out.println();
System.out.println("Enter a command (type \"info\" to get commands):");
input = keyboardInput.readLine();
if (input == null) break;
switch (input) {
case "url":
{
List<Profile> profiles = cam.getMedia().getProfiles();
for (Profile p : profiles) {
System.out.println(
"URL from Profile '"
+ p.getName()
+ "': "
+ cam.getMedia().getSnapshotUri(p.getToken()));
}
break;
}
case "profiles":
List<Profile> profiles = cam.getMedia().getProfiles();
System.out.println("Number of profiles: " + profiles.size());
for (Profile p : profiles) {
System.out.println(" Profile " + p.getName() + " token is: " + p.getToken());
}
break;
case "info":
System.out.println(INFO);
break;
case "inspect":
System.out.println(TestDevice.inspect(cam));
break;
case "quit":
case "exit":
case "end":
return;
default:
System.out.println("Unknown command!");
System.out.println();
System.out.println(INFO);
break;
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
package org.onvif.client;
import de.onvif.soap.OnvifDevice;
import jakarta.xml.soap.SOAPException;
import org.onvif.ver10.schema.Profile;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ConnectException;
import java.net.MalformedURLException;
import java.util.List;
public class ReadCommandsFromStdInput {
private static final String INFO =
"Commands:\n \n url: Get snapshort URL.\n info: Get information about each valid command.\n profiles: Get all profiles.\n inspect: Get device details.\n exit: Exit this application.";
public static void main(String[] args) {
InputStreamReader inputStream = new InputStreamReader(System.in);
BufferedReader keyboardInput = new BufferedReader(inputStream);
String input, cameraAddress, user, password;
try {
System.out.println("Please enter camera IP (with port if not 80):");
cameraAddress = keyboardInput.readLine();
System.out.println("Please enter camera username:");
user = keyboardInput.readLine();
System.out.println("Please enter camera password:");
password = keyboardInput.readLine();
if (cameraAddress == null || user == null || password == null)
throw new IOException("No input");
} catch (IOException e1) {
e1.printStackTrace();
return;
}
System.out.println("Connect to camera, please wait ...");
OnvifDevice cam;
try {
cam = new OnvifDevice(cameraAddress, user, password);
} catch (MalformedURLException | ConnectException | SOAPException e1) {
System.err.println("No connection to camera, please try again.");
return;
}
System.out.println("Connection to camera successful!");
while (true) {
try {
System.out.println();
System.out.println("Enter a command (type \"info\" to get commands):");
input = keyboardInput.readLine();
if (input == null) break;
switch (input) {
case "url":
{
List<Profile> profiles = cam.getMedia().getProfiles();
for (Profile p : profiles) {
System.out.println(
"URL from Profile '"
+ p.getName()
+ "': "
+ cam.getMedia().getSnapshotUri(p.getToken()));
}
break;
}
case "profiles":
List<Profile> profiles = cam.getMedia().getProfiles();
System.out.println("Number of profiles: " + profiles.size());
for (Profile p : profiles) {
System.out.println(" Profile " + p.getName() + " token is: " + p.getToken());
}
break;
case "info":
System.out.println(INFO);
break;
case "inspect":
System.out.println(TestDevice.inspect(cam));
break;
case "quit":
case "exit":
case "end":
return;
default:
System.out.println("Unknown command!");
System.out.println();
System.out.println(INFO);
break;
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
}

View File

@@ -3,20 +3,13 @@ package org.onvif.client;
import de.onvif.beans.DeviceInfo;
import de.onvif.soap.OnvifDevice;
import de.onvif.utils.OnvifUtils;
import java.io.IOException;
import java.net.URL;
import java.util.List;
import javax.xml.soap.SOAPException;
import jakarta.xml.soap.SOAPException;
import org.onvif.ver10.device.wsdl.DeviceServiceCapabilities;
import org.onvif.ver10.events.wsdl.EventPortType;
import org.onvif.ver10.events.wsdl.GetEventProperties;
import org.onvif.ver10.events.wsdl.GetEventPropertiesResponse;
import org.onvif.ver10.media.wsdl.Media;
import org.onvif.ver10.schema.AudioSource;
import org.onvif.ver10.schema.PTZPreset;
import org.onvif.ver10.schema.PTZStatus;
import org.onvif.ver10.schema.Profile;
import org.onvif.ver10.schema.VideoSource;
import org.onvif.ver10.schema.*;
import org.onvif.ver20.imaging.wsdl.ImagingPort;
import org.onvif.ver20.ptz.wsdl.Capabilities;
import org.onvif.ver20.ptz.wsdl.PTZ;
@@ -26,6 +19,11 @@ import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.io.IOException;
import java.lang.Object;
import java.net.URL;
import java.util.List;
/** @author Brad Lowe */
public class TestDevice {
private static final Logger LOG = LoggerFactory.getLogger(TestDevice.class);

View File

@@ -1,271 +1,257 @@
package org.onvif.client;
import de.onvif.soap.OnvifDevice;
import java.io.File;
import java.io.IOException;
import java.net.ConnectException;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import javax.xml.bind.JAXBElement;
import javax.xml.soap.SOAPException;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.commons.io.FileUtils;
import org.apache.cxf.wsn.client.Consumer;
import org.apache.cxf.wsn.client.NotificationBroker;
import org.apache.cxf.wsn.client.Publisher;
import org.apache.cxf.wsn.client.Subscription;
import org.apache.cxf.wsn.services.JaxwsNotificationBroker;
import org.oasis_open.docs.wsn.b_2.FilterType;
import org.oasis_open.docs.wsn.b_2.NotificationMessageHolderType;
import org.oasis_open.docs.wsn.b_2.TopicExpressionType;
import org.oasis_open.docs.wsn.bw_2.InvalidFilterFault;
import org.oasis_open.docs.wsn.bw_2.InvalidMessageContentExpressionFault;
import org.oasis_open.docs.wsn.bw_2.InvalidProducerPropertiesExpressionFault;
import org.oasis_open.docs.wsn.bw_2.InvalidTopicExpressionFault;
import org.oasis_open.docs.wsn.bw_2.NotifyMessageNotSupportedFault;
import org.oasis_open.docs.wsn.bw_2.SubscribeCreationFailedFault;
import org.oasis_open.docs.wsn.bw_2.TopicExpressionDialectUnknownFault;
import org.oasis_open.docs.wsn.bw_2.TopicNotSupportedFault;
import org.oasis_open.docs.wsn.bw_2.UnacceptableInitialTerminationTimeFault;
import org.oasis_open.docs.wsn.bw_2.UnrecognizedPolicyRequestFault;
import org.oasis_open.docs.wsn.bw_2.UnsupportedPolicyRequestFault;
import org.oasis_open.docs.wsrf.rw_2.ResourceUnknownFault;
import org.onvif.ver10.events.wsdl.CreatePullPointSubscription;
import org.onvif.ver10.events.wsdl.CreatePullPointSubscription.SubscriptionPolicy;
import org.onvif.ver10.events.wsdl.CreatePullPointSubscriptionResponse;
import org.onvif.ver10.events.wsdl.EventPortType;
import org.onvif.ver10.events.wsdl.GetEventProperties;
import org.onvif.ver10.events.wsdl.GetEventPropertiesResponse;
import org.onvif.ver10.schema.Capabilities;
import org.onvif.ver10.schema.CapabilityCategory;
import org.onvif.ver10.schema.MediaUri;
import org.onvif.ver10.schema.Profile;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class WsNotificationTest {
// This is a work in progress class...any help is welcome ;)
// A good idea could be to follow this guide:
// https://access.redhat.com/documentation/en-us/red_hat_jboss_a-mq/6.1/html-single/ws-notification_guide/index#WSNTutorial
public static void main(String[] args) throws IOException {
OnvifCredentials creds = GetTestDevice.getOnvifCredentials(args);
System.out.println("Connect to camera, please wait ...");
OnvifDevice cam = null;
try {
cam = new OnvifDevice(creds.getHost(), creds.getUser(), creds.getPassword());
} catch (ConnectException | SOAPException e1) {
System.err.println("No connection to device with ip " + creds + ", please try again.");
System.exit(0);
}
System.out.println("Connected to device " + cam.getDeviceInfo());
// get device capabilities
Capabilities cap = cam.getDevice().getCapabilities(List.of(CapabilityCategory.ALL));
System.out.println(cap.getDevice().toString());
// print profiles
printProfiles(cam);
// takeScreenShot(profileToken, cam);
// presets
// List<PTZPreset> presets = cam.getPtz().getPresets(profileToken);
// presets.forEach(x->System.out.println(x.getName()));
EventPortType eventWs = cam.getEvents();
GetEventProperties getEventProperties = new GetEventProperties();
GetEventPropertiesResponse getEventPropertiesResp =
eventWs.getEventProperties(getEventProperties);
getEventPropertiesResp.getMessageContentFilterDialect().forEach(x -> System.out.println(x));
getEventPropertiesResp.getTopicExpressionDialect().forEach(x -> System.out.println(x));
for (Object object : getEventPropertiesResp.getTopicSet().getAny()) {
Element e = (Element) object;
printTree(e, e.getNodeName());
}
org.oasis_open.docs.wsn.b_2.ObjectFactory objectFactory =
new org.oasis_open.docs.wsn.b_2.ObjectFactory();
CreatePullPointSubscription pullPointSubscription = new CreatePullPointSubscription();
FilterType filter = new FilterType();
TopicExpressionType topicExp = new TopicExpressionType();
topicExp.getContent().add("tns1:RuleEngine//."); // every event in that
// topic
topicExp.setDialect("http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet");
JAXBElement<?> topicExpElem = objectFactory.createTopicExpression(topicExp);
filter.getAny().add(topicExpElem);
pullPointSubscription.setFilter(filter);
org.onvif.ver10.events.wsdl.ObjectFactory eventObjFactory =
new org.onvif.ver10.events.wsdl.ObjectFactory();
SubscriptionPolicy subcriptionPolicy =
eventObjFactory.createCreatePullPointSubscriptionSubscriptionPolicy();
pullPointSubscription.setSubscriptionPolicy(subcriptionPolicy);
String timespan = "PT10S"; // every 10 seconds
// String timespan = "PT1M";//every 1 minute
pullPointSubscription.setInitialTerminationTime(
objectFactory.createSubscribeInitialTerminationTime(timespan));
try {
CreatePullPointSubscriptionResponse resp =
eventWs.createPullPointSubscription(pullPointSubscription);
// Start a consumer that will listen for notification messages
// We'll just print the text content out for now.
String eventConsumerAddress = "http://localhost:9001/MyConsumer";
Consumer consumer =
new Consumer(
new Consumer.Callback() {
public void notify(NotificationMessageHolderType message) {
Object o = message.getMessage().getAny();
System.out.println(message.getMessage().getAny());
if (o instanceof Element) {
System.out.println(((Element) o).getTextContent());
}
}
},
eventConsumerAddress);
String queuePort = "8182";
String brokerPort = "8181";
String brokerAddress = "http://localhost:" + brokerPort + "/wsn/NotificationBroker";
ActiveMQConnectionFactory activemq =
new ActiveMQConnectionFactory(
"vm:(broker:(tcp://localhost:" + queuePort + ")?persistent=false)");
JaxwsNotificationBroker notificationBrokerServer =
new JaxwsNotificationBroker("WSNotificationBroker", activemq);
notificationBrokerServer.setAddress(brokerAddress);
notificationBrokerServer.init();
// Create a subscription for a Topic on the broker
NotificationBroker notificationBroker = new NotificationBroker(brokerAddress);
// PublisherCallback publisherCallback = new PublisherCallback();
// Publisher publisher = new Publisher(publisherCallback,
// "http://localhost:" + port2 + "/test/publisher");
Subscription subscription = notificationBroker.subscribe(consumer, "tns1:RuleEngine");
// Device
// Trigger/Relay
// OperationMode/ShutdownInitiated
// OperationMode/UploadInitiated
// HardwareFailure/FanFailure
// HardwareFailure/PowerSupplyFailure
// HardwareFailure/StorageFailure
// HardwareFailure/TemperatureCritical
// VideoSource
// tns1:VideoSource/CameraRedirected
// tns1:VideoSource/SignalLoss
// tns1:VideoSource/MotionAlarm
// VideoEncoder
// VideoAnalytics
// RuleEngine
// LineDetector/Crossed
// FieldDetector/ObjectsInside
// PTZController
// PTZPresets/Invoked
// PTZPresets/Reached
// PTZPresets/Aborted
// PTZPresets/Left
// AudioSource
// AudioEncoder
// UserAlarm
// MediaControl
// RecordingConfig
// RecordingHistory
// VideoOutput
// AudioOutput
// VideoDecoder
// AudioDecoder
// Receiver
// MediaConfiguration
// VideoSourceConfiguration
// AudioSourceConfiguration
// VideoEncoderConfiguration
// AudioEncoderConfiguration
// VideoAnalyticsConfiguration
// PTZConfiguration
// MetaDataConfiguration
// Wait for some messages to accumulate in the pull point
Thread.sleep(50_000);
// Cleanup and exit
subscription.unsubscribe();
consumer.stop();
} catch (TopicNotSupportedFault
| TopicExpressionDialectUnknownFault
| InvalidTopicExpressionFault
| InvalidMessageContentExpressionFault
| InvalidProducerPropertiesExpressionFault
| UnacceptableInitialTerminationTimeFault
| NotifyMessageNotSupportedFault
| ResourceUnknownFault
| UnsupportedPolicyRequestFault
| InvalidFilterFault
| SubscribeCreationFailedFault
| UnrecognizedPolicyRequestFault e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public static void printTree(Node node, String name) {
if (node.hasChildNodes()) {
NodeList nodes = node.getChildNodes();
for (int i = 0; i < nodes.getLength(); i++) {
Node n = nodes.item(i);
printTree(n, name + " - " + n.getNodeName());
}
} else System.out.println(name + " - " + node.getNodeName());
}
private static void takeScreenShot(String profileToken, OnvifDevice cam) {
try {
MediaUri sceenshotUri = cam.getMedia().getSnapshotUri(profileToken);
File tempFile = File.createTempFile("bosc", ".jpg");
// tempFile.deleteOnExit();
FileUtils.copyURLToFile(new URL(sceenshotUri.getUri()), tempFile);
Runtime.getRuntime().exec("nautilus " + tempFile.getAbsolutePath());
Thread.sleep(10000);
} catch (ConnectException e) {
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
private static void printProfiles(OnvifDevice cam) {
List<Profile> profiles = cam.getMedia().getProfiles();
for (Profile p : profiles) {
System.out.printf(
"Profile: [token=%s,name=%s,snapshotUri=%s]%n",
p.getToken(), p.getName(), cam.getMedia().getSnapshotUri(p.getToken()).getUri());
}
}
public static class PublisherCallback implements Publisher.Callback {
final CountDownLatch subscribed = new CountDownLatch(1);
final CountDownLatch unsubscribed = new CountDownLatch(1);
public void subscribe(TopicExpressionType topic) {
subscribed.countDown();
}
public void unsubscribe(TopicExpressionType topic) {
unsubscribed.countDown();
}
}
}
package org.onvif.client;
import de.onvif.soap.OnvifDevice;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.soap.SOAPException;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.commons.io.FileUtils;
import org.apache.cxf.wsn.client.Consumer;
import org.apache.cxf.wsn.client.NotificationBroker;
import org.apache.cxf.wsn.client.Publisher;
import org.apache.cxf.wsn.client.Subscription;
import org.apache.cxf.wsn.services.JaxwsNotificationBroker;
import org.oasis_open.docs.wsn.b_2.FilterType;
import org.oasis_open.docs.wsn.b_2.NotificationMessageHolderType;
import org.oasis_open.docs.wsn.b_2.TopicExpressionType;
import org.oasis_open.docs.wsn.bw_2.*;
import org.oasis_open.docs.wsrf.rw_2.ResourceUnknownFault;
import org.onvif.ver10.events.wsdl.*;
import org.onvif.ver10.events.wsdl.CreatePullPointSubscription.SubscriptionPolicy;
import org.onvif.ver10.schema.Capabilities;
import org.onvif.ver10.schema.CapabilityCategory;
import org.onvif.ver10.schema.MediaUri;
import org.onvif.ver10.schema.Profile;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.io.File;
import java.io.IOException;
import java.net.ConnectException;
import java.net.URL;
import java.util.List;
import java.util.concurrent.CountDownLatch;
public class WsNotificationTest {
// This is a work in progress class...any help is welcome ;)
// A good idea could be to follow this guide:
// https://access.redhat.com/documentation/en-us/red_hat_jboss_a-mq/6.1/html-single/ws-notification_guide/index#WSNTutorial
public static void main(String[] args) throws IOException {
OnvifCredentials creds = GetTestDevice.getOnvifCredentials(args);
System.out.println("Connect to camera, please wait ...");
OnvifDevice cam = null;
try {
cam = new OnvifDevice(creds.getHost(), creds.getUser(), creds.getPassword());
} catch (ConnectException | SOAPException e1) {
System.err.println("No connection to device with ip " + creds + ", please try again.");
System.exit(0);
}
System.out.println("Connected to device " + cam.getDeviceInfo());
// get device capabilities
Capabilities cap = cam.getDevice().getCapabilities(List.of(CapabilityCategory.ALL));
System.out.println(cap.getDevice().toString());
// print profiles
printProfiles(cam);
// takeScreenShot(profileToken, cam);
// presets
// List<PTZPreset> presets = cam.getPtz().getPresets(profileToken);
// presets.forEach(x->System.out.println(x.getName()));
EventPortType eventWs = cam.getEvents();
GetEventProperties getEventProperties = new GetEventProperties();
GetEventPropertiesResponse getEventPropertiesResp =
eventWs.getEventProperties(getEventProperties);
getEventPropertiesResp.getMessageContentFilterDialect().forEach(System.out::println);
getEventPropertiesResp.getTopicExpressionDialect().forEach(System.out::println);
for (Object object : getEventPropertiesResp.getTopicSet().getAny()) {
Element e = (Element) object;
printTree(e, e.getNodeName());
}
org.oasis_open.docs.wsn.b_2.ObjectFactory objectFactory =
new org.oasis_open.docs.wsn.b_2.ObjectFactory();
CreatePullPointSubscription pullPointSubscription = new CreatePullPointSubscription();
FilterType filter = new FilterType();
TopicExpressionType topicExp = new TopicExpressionType();
topicExp.getContent().add("tns1:RuleEngine//."); // every event in that
// topic
topicExp.setDialect("http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet");
JAXBElement<?> topicExpElem = objectFactory.createTopicExpression(topicExp);
filter.getAny().add(topicExpElem);
pullPointSubscription.setFilter(filter);
org.onvif.ver10.events.wsdl.ObjectFactory eventObjFactory =
new org.onvif.ver10.events.wsdl.ObjectFactory();
SubscriptionPolicy subcriptionPolicy =
eventObjFactory.createCreatePullPointSubscriptionSubscriptionPolicy();
pullPointSubscription.setSubscriptionPolicy(subcriptionPolicy);
String timespan = "PT10S"; // every 10 seconds
// String timespan = "PT1M";//every 1 minute
pullPointSubscription.setInitialTerminationTime(
objectFactory.createSubscribeInitialTerminationTime(timespan));
try {
CreatePullPointSubscriptionResponse resp =
eventWs.createPullPointSubscription(pullPointSubscription);
// Start a consumer that will listen for notification messages
// We'll just print the text content out for now.
String eventConsumerAddress = "http://localhost:9001/MyConsumer";
Consumer consumer =
new Consumer(
new Consumer.Callback() {
public void notify(NotificationMessageHolderType message) {
Object o = message.getMessage().getAny();
System.out.println(message.getMessage().getAny());
if (o instanceof Element) {
System.out.println(((Element) o).getTextContent());
}
}
},
eventConsumerAddress);
String queuePort = "8182";
String brokerPort = "8181";
String brokerAddress = "http://localhost:" + brokerPort + "/wsn/NotificationBroker";
ActiveMQConnectionFactory activemq =
new ActiveMQConnectionFactory(
"vm:(broker:(tcp://localhost:" + queuePort + ")?persistent=false)");
JaxwsNotificationBroker notificationBrokerServer =
new JaxwsNotificationBroker("WSNotificationBroker", activemq);
notificationBrokerServer.setAddress(brokerAddress);
notificationBrokerServer.init();
// Create a subscription for a Topic on the broker
NotificationBroker notificationBroker = new NotificationBroker(brokerAddress);
// PublisherCallback publisherCallback = new PublisherCallback();
// Publisher publisher = new Publisher(publisherCallback,
// "http://localhost:" + port2 + "/test/publisher");
Subscription subscription = notificationBroker.subscribe(consumer, "tns1:RuleEngine");
// Device
// Trigger/Relay
// OperationMode/ShutdownInitiated
// OperationMode/UploadInitiated
// HardwareFailure/FanFailure
// HardwareFailure/PowerSupplyFailure
// HardwareFailure/StorageFailure
// HardwareFailure/TemperatureCritical
// VideoSource
// tns1:VideoSource/CameraRedirected
// tns1:VideoSource/SignalLoss
// tns1:VideoSource/MotionAlarm
// VideoEncoder
// VideoAnalytics
// RuleEngine
// LineDetector/Crossed
// FieldDetector/ObjectsInside
// PTZController
// PTZPresets/Invoked
// PTZPresets/Reached
// PTZPresets/Aborted
// PTZPresets/Left
// AudioSource
// AudioEncoder
// UserAlarm
// MediaControl
// RecordingConfig
// RecordingHistory
// VideoOutput
// AudioOutput
// VideoDecoder
// AudioDecoder
// Receiver
// MediaConfiguration
// VideoSourceConfiguration
// AudioSourceConfiguration
// VideoEncoderConfiguration
// AudioEncoderConfiguration
// VideoAnalyticsConfiguration
// PTZConfiguration
// MetaDataConfiguration
// Wait for some messages to accumulate in the pull point
Thread.sleep(50_000);
// Cleanup and exit
subscription.unsubscribe();
consumer.stop();
} catch (TopicNotSupportedFault
| TopicExpressionDialectUnknownFault
| InvalidTopicExpressionFault
| InvalidMessageContentExpressionFault
| InvalidProducerPropertiesExpressionFault
| UnacceptableInitialTerminationTimeFault
| NotifyMessageNotSupportedFault
| ResourceUnknownFault
| UnsupportedPolicyRequestFault
| InvalidFilterFault
| SubscribeCreationFailedFault
| UnrecognizedPolicyRequestFault e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public static void printTree(Node node, String name) {
if (node.hasChildNodes()) {
NodeList nodes = node.getChildNodes();
for (int i = 0; i < nodes.getLength(); i++) {
Node n = nodes.item(i);
printTree(n, name + " - " + n.getNodeName());
}
} else System.out.println(name + " - " + node.getNodeName());
}
private static void takeScreenShot(String profileToken, OnvifDevice cam) {
try {
MediaUri sceenshotUri = cam.getMedia().getSnapshotUri(profileToken);
File tempFile = File.createTempFile("bosc", ".jpg");
// tempFile.deleteOnExit();
FileUtils.copyURLToFile(new URL(sceenshotUri.getUri()), tempFile);
Runtime.getRuntime().exec("nautilus " + tempFile.getAbsolutePath());
Thread.sleep(10000);
} catch (ConnectException e) {
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
private static void printProfiles(OnvifDevice cam) {
List<Profile> profiles = cam.getMedia().getProfiles();
for (Profile p : profiles) {
System.out.printf(
"Profile: [token=%s,name=%s,snapshotUri=%s]%n",
p.getToken(), p.getName(), cam.getMedia().getSnapshotUri(p.getToken()).getUri());
}
}
public static class PublisherCallback implements Publisher.Callback {
final CountDownLatch subscribed = new CountDownLatch(1);
final CountDownLatch unsubscribed = new CountDownLatch(1);
public void subscribe(TopicExpressionType topic) {
subscribed.countDown();
}
public void unsubscribe(TopicExpressionType topic) {
unsubscribed.countDown();
}
}
}

View File

@@ -3,7 +3,7 @@
*/
plugins {
// id 'org.onvif.java-conventions'
// id 'org.onvif.java-conventions'
id 'java-library'
// id 'java'
// id("java-test-fixtures")
@@ -31,27 +31,20 @@ repositories {
//targetCompatibility = "1.8"
dependencies {
implementation 'org.apache.cxf:cxf-rt-frontend-jaxws:3.3.2'
implementation 'org.apache.cxf:cxf-rt-transports-http-jetty:3.3.2'
implementation 'javax.xml.ws:jaxws-api:2.3.1'
implementation 'javax.jws:javax.jws-api:1.1'
implementation 'org.apache.cxf.services.wsn:cxf-services-wsn-core:3.3.2'
// Required for cxf version > 4.0.1
// implementation 'org.checkerframework:checker-qual:3.48.2'
// implementation 'com.google.errorprone:error_prone_annotations:2.36.0'
// implementation 'com.google.j2objc:j2objc-annotations:3.0.0'
implementation 'jakarta.xml.ws:jakarta.xml.ws-api:4.0.2'
implementation 'jakarta.jws:jakarta.jws-api:3.0.0'
implementation 'org.apache.commons:commons-lang3:3.4'
implementation 'org.apache.cxf.xjc-utils:cxf-xjc-runtime:3.3.0'
implementation 'org.apache.maven:maven-model-builder:3.6.1'
// API dependencies are visible to consumers when building
// testFixturesApi 'org.apache.commons:commons-lang3:3.9'
// Implementation dependencies are not leaked to consumers when building
// testFixturesImplementation 'org.apache.commons:commons-text:1.6'
}
processResources
// .dependsOn('compileTestFixturesJava')
// .dependsOn(':onvif-ws-client:testFixturesJar')
.dependsOn("compileJava")
processResources.dependsOn("compileJava")
clean {
delete("${layout.projectDirectory.dir('src/main/java/org')}")
@@ -65,7 +58,8 @@ wsdl2java {
options.set(["-wsdlLocation", "null", "-catalog", "${layout.projectDirectory.dir('src/wsdl/resources/wsdl/jax-ws-catalog.xml')}"])
generatedSourceDir.set(layout.projectDirectory.dir("src/main/java"))
wsdlDir.set(layout.projectDirectory.dir("src/wsdl/resources"))
useJakarta.set(false)
cxfVersion.set("3.3.2")
useJakarta.set(true)
cxfVersion.set(project.property('cxfVersion') as String)
}
description = 'onvif-ws-client'

View File

@@ -1,98 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "CreatePullPoint")
public class CreatePullPoint {
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -1,128 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="PullPoint" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pullPoint",
"any"
})
@XmlRootElement(name = "CreatePullPointResponse")
public class CreatePullPointResponse {
@XmlElement(name = "PullPoint", required = true)
protected W3CEndpointReference pullPoint;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the pullPoint property.
*
* @return
* possible object is
* {@link W3CEndpointReference }
*
*/
public W3CEndpointReference getPullPoint() {
return pullPoint;
}
/**
* Sets the value of the pullPoint property.
*
* @param value
* allowed object is
* {@link W3CEndpointReference }
*
*/
public void setPullPoint(W3CEndpointReference value) {
this.pullPoint = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -1,98 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "DestroyPullPoint")
public class DestroyPullPoint {
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -1,98 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "DestroyPullPointResponse")
public class DestroyPullPointResponse {
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -3,11 +3,11 @@ package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import org.onvif.ver10.schema.EventFilter;
@@ -48,7 +48,7 @@ public class FilterType {
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>

View File

@@ -1,102 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="Topic" type="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionType"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"topic",
"any"
})
@XmlRootElement(name = "GetCurrentMessage")
public class GetCurrentMessage {
@XmlElement(name = "Topic", required = true)
protected TopicExpressionType topic;
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the topic property.
*
* @return
* possible object is
* {@link TopicExpressionType }
*
*/
public TopicExpressionType getTopic() {
return topic;
}
/**
* Sets the value of the topic property.
*
* @param value
* allowed object is
* {@link TopicExpressionType }
*
*/
public void setTopic(TopicExpressionType value) {
this.topic = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "GetCurrentMessageResponse")
public class GetCurrentMessageResponse {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,130 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="MaximumNumber" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"maximumNumber",
"any"
})
@XmlRootElement(name = "GetMessages")
public class GetMessages {
@XmlElement(name = "MaximumNumber")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger maximumNumber;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the maximumNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaximumNumber() {
return maximumNumber;
}
/**
* Sets the value of the maximumNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaximumNumber(BigInteger value) {
this.maximumNumber = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -1,132 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}NotificationMessage" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"notificationMessage",
"any"
})
@XmlRootElement(name = "GetMessagesResponse")
public class GetMessagesResponse {
@XmlElement(name = "NotificationMessage")
protected List<NotificationMessageHolderType> notificationMessage;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the notificationMessage property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the notificationMessage property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getNotificationMessage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link NotificationMessageHolderType }
*
*
*/
public List<NotificationMessageHolderType> getNotificationMessage() {
if (notificationMessage == null) {
notificationMessage = new ArrayList<NotificationMessageHolderType>();
}
return this.notificationMessage;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -1,74 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for InvalidFilterFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="InvalidFilterFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;sequence&gt;
* &lt;element name="UnknownFilter" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvalidFilterFaultType", propOrder = {
"unknownFilter"
})
public class InvalidFilterFaultType
extends BaseFaultType
{
@XmlElement(name = "UnknownFilter", required = true)
protected List<QName> unknownFilter;
/**
* Gets the value of the unknownFilter property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the unknownFilter property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getUnknownFilter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link QName }
*
*
*/
public List<QName> getUnknownFilter() {
if (unknownFilter == null) {
unknownFilter = new ArrayList<QName>();
}
return this.unknownFilter;
}
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for InvalidMessageContentExpressionFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="InvalidMessageContentExpressionFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvalidMessageContentExpressionFaultType")
public class InvalidMessageContentExpressionFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for InvalidProducerPropertiesExpressionFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="InvalidProducerPropertiesExpressionFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvalidProducerPropertiesExpressionFaultType")
public class InvalidProducerPropertiesExpressionFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for InvalidTopicExpressionFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="InvalidTopicExpressionFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvalidTopicExpressionFaultType")
public class InvalidTopicExpressionFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for MultipleTopicsSpecifiedFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="MultipleTopicsSpecifiedFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MultipleTopicsSpecifiedFaultType")
public class MultipleTopicsSpecifiedFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for NoCurrentMessageOnTopicFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="NoCurrentMessageOnTopicFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NoCurrentMessageOnTopicFaultType")
public class NoCurrentMessageOnTopicFaultType
extends BaseFaultType
{
}

View File

@@ -1,12 +1,12 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.ws.wsaddressing.W3CEndpointReference;
import org.w3c.dom.Element;
@@ -190,8 +190,8 @@ public class NotificationMessageHolderType {
*
* @return
* possible object is
* {@link Element }
* {@link Object }
* {@link Element }
*
*/
public Object getAny() {
@@ -203,8 +203,8 @@ public class NotificationMessageHolderType {
*
* @param value
* allowed object is
* {@link Element }
* {@link Object }
* {@link Element }
*
*/
public void setAny(Object value) {

View File

@@ -1,163 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsn.t_1.TopicSetType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpression" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}FixedTopicSet" minOccurs="0"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionDialect" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/t-1}TopicSet" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"topicExpression",
"fixedTopicSet",
"topicExpressionDialect",
"topicSet"
})
@XmlRootElement(name = "NotificationProducerRP")
public class NotificationProducerRP {
@XmlElement(name = "TopicExpression")
protected List<TopicExpressionType> topicExpression;
@XmlElement(name = "FixedTopicSet", defaultValue = "true")
protected Boolean fixedTopicSet;
@XmlElement(name = "TopicExpressionDialect")
@XmlSchemaType(name = "anyURI")
protected List<String> topicExpressionDialect;
@XmlElement(name = "TopicSet", namespace = "http://docs.oasis-open.org/wsn/t-1")
protected TopicSetType topicSet;
/**
* Gets the value of the topicExpression property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the topicExpression property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopicExpression().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicExpressionType }
*
*
*/
public List<TopicExpressionType> getTopicExpression() {
if (topicExpression == null) {
topicExpression = new ArrayList<TopicExpressionType>();
}
return this.topicExpression;
}
/**
* Gets the value of the fixedTopicSet property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFixedTopicSet() {
return fixedTopicSet;
}
/**
* Sets the value of the fixedTopicSet property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFixedTopicSet(Boolean value) {
this.fixedTopicSet = value;
}
/**
* Gets the value of the topicExpressionDialect property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the topicExpressionDialect property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopicExpressionDialect().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getTopicExpressionDialect() {
if (topicExpressionDialect == null) {
topicExpressionDialect = new ArrayList<String>();
}
return this.topicExpressionDialect;
}
/**
* Gets the value of the topicSet property.
*
* @return
* possible object is
* {@link TopicSetType }
*
*/
public TopicSetType getTopicSet() {
return topicSet;
}
/**
* Sets the value of the topicSet property.
*
* @param value
* allowed object is
* {@link TopicSetType }
*
*/
public void setTopicSet(TopicSetType value) {
this.topicSet = value;
}
}

View File

@@ -1,107 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}NotificationMessage" maxOccurs="unbounded"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"notificationMessage",
"any"
})
@XmlRootElement(name = "Notify")
public class Notify {
@XmlElement(name = "NotificationMessage", required = true)
protected List<NotificationMessageHolderType> notificationMessage;
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the notificationMessage property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the notificationMessage property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getNotificationMessage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link NotificationMessageHolderType }
*
*
*/
public List<NotificationMessageHolderType> getNotificationMessage() {
if (notificationMessage == null) {
notificationMessage = new ArrayList<NotificationMessageHolderType>();
}
return this.notificationMessage;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for NotifyMessageNotSupportedFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="NotifyMessageNotSupportedFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NotifyMessageNotSupportedFaultType")
public class NotifyMessageNotSupportedFaultType
extends BaseFaultType
{
}

View File

@@ -1,12 +1,12 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
import jakarta.xml.ws.wsaddressing.W3CEndpointReference;
/**

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for PauseFailedFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="PauseFailedFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PauseFailedFaultType")
public class PauseFailedFaultType
extends BaseFaultType
{
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "PauseSubscription")
public class PauseSubscription {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "PauseSubscriptionResponse")
public class PauseSubscriptionResponse {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,104 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for QueryExpressionType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="QueryExpressionType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="Dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QueryExpressionType", propOrder = {
"content"
})
public class QueryExpressionType {
@XmlMixed
@XmlAnyElement(lax = true)
protected List<Object> content;
@XmlAttribute(name = "Dialect", required = true)
@XmlSchemaType(name = "anyURI")
protected String dialect;
/**
* Gets the value of the content property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
* {@link String }
*
*
*/
public List<Object> getContent() {
if (content == null) {
content = new ArrayList<Object>();
}
return this.content;
}
/**
* Gets the value of the dialect property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDialect() {
return dialect;
}
/**
* Sets the value of the dialect property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDialect(String value) {
this.dialect = value;
}
}

View File

@@ -1,102 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="TerminationTime" type="{http://docs.oasis-open.org/wsn/b-2}AbsoluteOrRelativeTimeType"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"terminationTime",
"any"
})
@XmlRootElement(name = "Renew")
public class Renew {
@XmlElement(name = "TerminationTime", required = true, nillable = true)
protected String terminationTime;
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the terminationTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTerminationTime() {
return terminationTime;
}
/**
* Sets the value of the terminationTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTerminationTime(String value) {
this.terminationTime = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,134 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}TerminationTime"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}CurrentTime" minOccurs="0"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"terminationTime",
"currentTime",
"any"
})
@XmlRootElement(name = "RenewResponse")
public class RenewResponse {
@XmlElement(name = "TerminationTime", required = true, nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar terminationTime;
@XmlElement(name = "CurrentTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar currentTime;
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the terminationTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTerminationTime() {
return terminationTime;
}
/**
* Sets the value of the terminationTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTerminationTime(XMLGregorianCalendar value) {
this.terminationTime = value;
}
/**
* Gets the value of the currentTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCurrentTime() {
return currentTime;
}
/**
* Sets the value of the currentTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCurrentTime(XMLGregorianCalendar value) {
this.currentTime = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for ResumeFailedFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ResumeFailedFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResumeFailedFaultType")
public class ResumeFailedFaultType
extends BaseFaultType
{
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "ResumeSubscription")
public class ResumeSubscription {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "ResumeSubscriptionResponse")
public class ResumeSubscriptionResponse {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,260 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ConsumerReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/&gt;
* &lt;element name="Filter" type="{http://docs.oasis-open.org/wsn/b-2}FilterType" minOccurs="0"/&gt;
* &lt;element name="InitialTerminationTime" type="{http://docs.oasis-open.org/wsn/b-2}AbsoluteOrRelativeTimeType" minOccurs="0"/&gt;
* &lt;element name="SubscriptionPolicy" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"consumerReference",
"filter",
"initialTerminationTime",
"subscriptionPolicy",
"any"
})
@XmlRootElement(name = "Subscribe")
public class Subscribe {
@XmlElement(name = "ConsumerReference", required = true)
protected W3CEndpointReference consumerReference;
@XmlElement(name = "Filter")
protected FilterType filter;
@XmlElementRef(name = "InitialTerminationTime", namespace = "http://docs.oasis-open.org/wsn/b-2", type = JAXBElement.class, required = false)
protected JAXBElement<String> initialTerminationTime;
@XmlElement(name = "SubscriptionPolicy")
protected Subscribe.SubscriptionPolicy subscriptionPolicy;
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the consumerReference property.
*
* @return
* possible object is
* {@link W3CEndpointReference }
*
*/
public W3CEndpointReference getConsumerReference() {
return consumerReference;
}
/**
* Sets the value of the consumerReference property.
*
* @param value
* allowed object is
* {@link W3CEndpointReference }
*
*/
public void setConsumerReference(W3CEndpointReference value) {
this.consumerReference = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link FilterType }
*
*/
public FilterType getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link FilterType }
*
*/
public void setFilter(FilterType value) {
this.filter = value;
}
/**
* Gets the value of the initialTerminationTime property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getInitialTerminationTime() {
return initialTerminationTime;
}
/**
* Sets the value of the initialTerminationTime property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setInitialTerminationTime(JAXBElement<String> value) {
this.initialTerminationTime = value;
}
/**
* Gets the value of the subscriptionPolicy property.
*
* @return
* possible object is
* {@link Subscribe.SubscriptionPolicy }
*
*/
public Subscribe.SubscriptionPolicy getSubscriptionPolicy() {
return subscriptionPolicy;
}
/**
* Sets the value of the subscriptionPolicy property.
*
* @param value
* allowed object is
* {@link Subscribe.SubscriptionPolicy }
*
*/
public void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value) {
this.subscriptionPolicy = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
public static class SubscriptionPolicy {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for SubscribeCreationFailedFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="SubscribeCreationFailedFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubscribeCreationFailedFaultType")
public class SubscribeCreationFailedFaultType
extends BaseFaultType
{
}

View File

@@ -1,163 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="SubscriptionReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}CurrentTime" minOccurs="0"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}TerminationTime" minOccurs="0"/&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"subscriptionReference",
"currentTime",
"terminationTime",
"any"
})
@XmlRootElement(name = "SubscribeResponse")
public class SubscribeResponse {
@XmlElement(name = "SubscriptionReference", required = true)
protected W3CEndpointReference subscriptionReference;
@XmlElement(name = "CurrentTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar currentTime;
@XmlElement(name = "TerminationTime", nillable = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar terminationTime;
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the subscriptionReference property.
*
* @return
* possible object is
* {@link W3CEndpointReference }
*
*/
public W3CEndpointReference getSubscriptionReference() {
return subscriptionReference;
}
/**
* Sets the value of the subscriptionReference property.
*
* @param value
* allowed object is
* {@link W3CEndpointReference }
*
*/
public void setSubscriptionReference(W3CEndpointReference value) {
this.subscriptionReference = value;
}
/**
* Gets the value of the currentTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCurrentTime() {
return currentTime;
}
/**
* Sets the value of the currentTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCurrentTime(XMLGregorianCalendar value) {
this.currentTime = value;
}
/**
* Gets the value of the terminationTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTerminationTime() {
return terminationTime;
}
/**
* Sets the value of the terminationTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTerminationTime(XMLGregorianCalendar value) {
this.terminationTime = value;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,152 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}ConsumerReference"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}Filter" minOccurs="0"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}SubscriptionPolicy" minOccurs="0"/&gt;
* &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}CreationTime" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"consumerReference",
"filter",
"subscriptionPolicy",
"creationTime"
})
@XmlRootElement(name = "SubscriptionManagerRP")
public class SubscriptionManagerRP {
@XmlElement(name = "ConsumerReference", required = true)
protected W3CEndpointReference consumerReference;
@XmlElement(name = "Filter")
protected FilterType filter;
@XmlElement(name = "SubscriptionPolicy")
protected SubscriptionPolicyType subscriptionPolicy;
@XmlElement(name = "CreationTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar creationTime;
/**
* Gets the value of the consumerReference property.
*
* @return
* possible object is
* {@link W3CEndpointReference }
*
*/
public W3CEndpointReference getConsumerReference() {
return consumerReference;
}
/**
* Sets the value of the consumerReference property.
*
* @param value
* allowed object is
* {@link W3CEndpointReference }
*
*/
public void setConsumerReference(W3CEndpointReference value) {
this.consumerReference = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link FilterType }
*
*/
public FilterType getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link FilterType }
*
*/
public void setFilter(FilterType value) {
this.filter = value;
}
/**
* Gets the value of the subscriptionPolicy property.
*
* @return
* possible object is
* {@link SubscriptionPolicyType }
*
*/
public SubscriptionPolicyType getSubscriptionPolicy() {
return subscriptionPolicy;
}
/**
* Sets the value of the subscriptionPolicy property.
*
* @param value
* allowed object is
* {@link SubscriptionPolicyType }
*
*/
public void setSubscriptionPolicy(SubscriptionPolicyType value) {
this.subscriptionPolicy = value;
}
/**
* Gets the value of the creationTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreationTime() {
return creationTime;
}
/**
* Sets the value of the creationTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreationTime(XMLGregorianCalendar value) {
this.creationTime = value;
}
}

View File

@@ -1,71 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for SubscriptionPolicyType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="SubscriptionPolicyType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubscriptionPolicyType", propOrder = {
"any"
})
public class SubscriptionPolicyType {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for TopicExpressionDialectUnknownFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="TopicExpressionDialectUnknownFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TopicExpressionDialectUnknownFaultType")
public class TopicExpressionDialectUnknownFaultType
extends BaseFaultType
{
}

View File

@@ -5,15 +5,15 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyAttribute;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlMixed;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
@@ -59,7 +59,7 @@ public class TopicExpressionType {
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a <CODE>set</CODE> method for the content property.
*
* <p>
@@ -71,9 +71,9 @@ public class TopicExpressionType {
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
* {@link String }
* {@link Element }
*
*
*/

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for TopicNotSupportedFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="TopicNotSupportedFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TopicNotSupportedFaultType")
public class TopicNotSupportedFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnableToCreatePullPointFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnableToCreatePullPointFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnableToCreatePullPointFaultType")
public class UnableToCreatePullPointFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnableToDestroyPullPointFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnableToDestroyPullPointFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnableToDestroyPullPointFaultType")
public class UnableToDestroyPullPointFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnableToDestroySubscriptionFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnableToDestroySubscriptionFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnableToDestroySubscriptionFaultType")
public class UnableToDestroySubscriptionFaultType
extends BaseFaultType
{
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnableToGetMessagesFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnableToGetMessagesFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnableToGetMessagesFaultType")
public class UnableToGetMessagesFaultType
extends BaseFaultType
{
}

View File

@@ -1,98 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnacceptableInitialTerminationTimeFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnacceptableInitialTerminationTimeFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;sequence&gt;
* &lt;element name="MinimumTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/&gt;
* &lt;element name="MaximumTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnacceptableInitialTerminationTimeFaultType", propOrder = {
"minimumTime",
"maximumTime"
})
public class UnacceptableInitialTerminationTimeFaultType
extends BaseFaultType
{
@XmlElement(name = "MinimumTime", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar minimumTime;
@XmlElement(name = "MaximumTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar maximumTime;
/**
* Gets the value of the minimumTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getMinimumTime() {
return minimumTime;
}
/**
* Sets the value of the minimumTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setMinimumTime(XMLGregorianCalendar value) {
this.minimumTime = value;
}
/**
* Gets the value of the maximumTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getMaximumTime() {
return maximumTime;
}
/**
* Sets the value of the maximumTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setMaximumTime(XMLGregorianCalendar value) {
this.maximumTime = value;
}
}

View File

@@ -1,98 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnacceptableTerminationTimeFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnacceptableTerminationTimeFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;sequence&gt;
* &lt;element name="MinimumTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/&gt;
* &lt;element name="MaximumTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnacceptableTerminationTimeFaultType", propOrder = {
"minimumTime",
"maximumTime"
})
public class UnacceptableTerminationTimeFaultType
extends BaseFaultType
{
@XmlElement(name = "MinimumTime", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar minimumTime;
@XmlElement(name = "MaximumTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar maximumTime;
/**
* Gets the value of the minimumTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getMinimumTime() {
return minimumTime;
}
/**
* Sets the value of the minimumTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setMinimumTime(XMLGregorianCalendar value) {
this.minimumTime = value;
}
/**
* Gets the value of the maximumTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getMaximumTime() {
return maximumTime;
}
/**
* Sets the value of the maximumTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setMaximumTime(XMLGregorianCalendar value) {
this.maximumTime = value;
}
}

View File

@@ -1,74 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnrecognizedPolicyRequestFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnrecognizedPolicyRequestFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;sequence&gt;
* &lt;element name="UnrecognizedPolicy" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnrecognizedPolicyRequestFaultType", propOrder = {
"unrecognizedPolicy"
})
public class UnrecognizedPolicyRequestFaultType
extends BaseFaultType
{
@XmlElement(name = "UnrecognizedPolicy")
protected List<QName> unrecognizedPolicy;
/**
* Gets the value of the unrecognizedPolicy property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the unrecognizedPolicy property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getUnrecognizedPolicy().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link QName }
*
*
*/
public List<QName> getUnrecognizedPolicy() {
if (unrecognizedPolicy == null) {
unrecognizedPolicy = new ArrayList<QName>();
}
return this.unrecognizedPolicy;
}
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "Unsubscribe")
public class Unsubscribe {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,73 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
@XmlRootElement(name = "UnsubscribeResponse")
public class UnsubscribeResponse {
@XmlAnyElement(lax = true)
protected List<Object> any;
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
}

View File

@@ -1,74 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for UnsupportedPolicyRequestFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="UnsupportedPolicyRequestFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;sequence&gt;
* &lt;element name="UnsupportedPolicy" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnsupportedPolicyRequestFaultType", propOrder = {
"unsupportedPolicy"
})
public class UnsupportedPolicyRequestFaultType
extends BaseFaultType
{
@XmlElement(name = "UnsupportedPolicy")
protected List<QName> unsupportedPolicy;
/**
* Gets the value of the unsupportedPolicy property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the unsupportedPolicy property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getUnsupportedPolicy().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link QName }
*
*
*/
public List<QName> getUnsupportedPolicy() {
if (unsupportedPolicy == null) {
unsupportedPolicy = new ArrayList<QName>();
}
return this.unsupportedPolicy;
}
}

View File

@@ -1,32 +0,0 @@
package org.oasis_open.docs.wsn.b_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "UseRaw")
public class UseRaw {
}

View File

@@ -1,2 +1,2 @@
@javax.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/wsn/b-2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/wsn/b-2", elementFormDefault = jakarta.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.oasis_open.docs.wsn.b_2;

View File

@@ -1,15 +1,15 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*
*/
@WebService(targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", name = "CreatePullPoint")

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "InvalidFilterFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class InvalidFilterFault extends Exception {
private org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType invalidFilterFault;
private org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType faultInfo;
public InvalidFilterFault() {
super();
@@ -28,15 +28,15 @@ public class InvalidFilterFault extends Exception {
public InvalidFilterFault(String message, org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType invalidFilterFault) {
super(message);
this.invalidFilterFault = invalidFilterFault;
this.faultInfo = invalidFilterFault;
}
public InvalidFilterFault(String message, org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType invalidFilterFault, java.lang.Throwable cause) {
super(message, cause);
this.invalidFilterFault = invalidFilterFault;
this.faultInfo = invalidFilterFault;
}
public org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType getFaultInfo() {
return this.invalidFilterFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "InvalidMessageContentExpressionFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class InvalidMessageContentExpressionFault extends Exception {
private org.oasis_open.docs.wsn.b_2.InvalidMessageContentExpressionFaultType invalidMessageContentExpressionFault;
private org.oasis_open.docs.wsn.b_2.InvalidMessageContentExpressionFaultType faultInfo;
public InvalidMessageContentExpressionFault() {
super();
@@ -28,15 +28,15 @@ public class InvalidMessageContentExpressionFault extends Exception {
public InvalidMessageContentExpressionFault(String message, org.oasis_open.docs.wsn.b_2.InvalidMessageContentExpressionFaultType invalidMessageContentExpressionFault) {
super(message);
this.invalidMessageContentExpressionFault = invalidMessageContentExpressionFault;
this.faultInfo = invalidMessageContentExpressionFault;
}
public InvalidMessageContentExpressionFault(String message, org.oasis_open.docs.wsn.b_2.InvalidMessageContentExpressionFaultType invalidMessageContentExpressionFault, java.lang.Throwable cause) {
super(message, cause);
this.invalidMessageContentExpressionFault = invalidMessageContentExpressionFault;
this.faultInfo = invalidMessageContentExpressionFault;
}
public org.oasis_open.docs.wsn.b_2.InvalidMessageContentExpressionFaultType getFaultInfo() {
return this.invalidMessageContentExpressionFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "InvalidProducerPropertiesExpressionFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class InvalidProducerPropertiesExpressionFault extends Exception {
private org.oasis_open.docs.wsn.b_2.InvalidProducerPropertiesExpressionFaultType invalidProducerPropertiesExpressionFault;
private org.oasis_open.docs.wsn.b_2.InvalidProducerPropertiesExpressionFaultType faultInfo;
public InvalidProducerPropertiesExpressionFault() {
super();
@@ -28,15 +28,15 @@ public class InvalidProducerPropertiesExpressionFault extends Exception {
public InvalidProducerPropertiesExpressionFault(String message, org.oasis_open.docs.wsn.b_2.InvalidProducerPropertiesExpressionFaultType invalidProducerPropertiesExpressionFault) {
super(message);
this.invalidProducerPropertiesExpressionFault = invalidProducerPropertiesExpressionFault;
this.faultInfo = invalidProducerPropertiesExpressionFault;
}
public InvalidProducerPropertiesExpressionFault(String message, org.oasis_open.docs.wsn.b_2.InvalidProducerPropertiesExpressionFaultType invalidProducerPropertiesExpressionFault, java.lang.Throwable cause) {
super(message, cause);
this.invalidProducerPropertiesExpressionFault = invalidProducerPropertiesExpressionFault;
this.faultInfo = invalidProducerPropertiesExpressionFault;
}
public org.oasis_open.docs.wsn.b_2.InvalidProducerPropertiesExpressionFaultType getFaultInfo() {
return this.invalidProducerPropertiesExpressionFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "InvalidTopicExpressionFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class InvalidTopicExpressionFault extends Exception {
private org.oasis_open.docs.wsn.b_2.InvalidTopicExpressionFaultType invalidTopicExpressionFault;
private org.oasis_open.docs.wsn.b_2.InvalidTopicExpressionFaultType faultInfo;
public InvalidTopicExpressionFault() {
super();
@@ -28,15 +28,15 @@ public class InvalidTopicExpressionFault extends Exception {
public InvalidTopicExpressionFault(String message, org.oasis_open.docs.wsn.b_2.InvalidTopicExpressionFaultType invalidTopicExpressionFault) {
super(message);
this.invalidTopicExpressionFault = invalidTopicExpressionFault;
this.faultInfo = invalidTopicExpressionFault;
}
public InvalidTopicExpressionFault(String message, org.oasis_open.docs.wsn.b_2.InvalidTopicExpressionFaultType invalidTopicExpressionFault, java.lang.Throwable cause) {
super(message, cause);
this.invalidTopicExpressionFault = invalidTopicExpressionFault;
this.faultInfo = invalidTopicExpressionFault;
}
public org.oasis_open.docs.wsn.b_2.InvalidTopicExpressionFaultType getFaultInfo() {
return this.invalidTopicExpressionFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "MultipleTopicsSpecifiedFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class MultipleTopicsSpecifiedFault extends Exception {
private org.oasis_open.docs.wsn.b_2.MultipleTopicsSpecifiedFaultType multipleTopicsSpecifiedFault;
private org.oasis_open.docs.wsn.b_2.MultipleTopicsSpecifiedFaultType faultInfo;
public MultipleTopicsSpecifiedFault() {
super();
@@ -28,15 +28,15 @@ public class MultipleTopicsSpecifiedFault extends Exception {
public MultipleTopicsSpecifiedFault(String message, org.oasis_open.docs.wsn.b_2.MultipleTopicsSpecifiedFaultType multipleTopicsSpecifiedFault) {
super(message);
this.multipleTopicsSpecifiedFault = multipleTopicsSpecifiedFault;
this.faultInfo = multipleTopicsSpecifiedFault;
}
public MultipleTopicsSpecifiedFault(String message, org.oasis_open.docs.wsn.b_2.MultipleTopicsSpecifiedFaultType multipleTopicsSpecifiedFault, java.lang.Throwable cause) {
super(message, cause);
this.multipleTopicsSpecifiedFault = multipleTopicsSpecifiedFault;
this.faultInfo = multipleTopicsSpecifiedFault;
}
public org.oasis_open.docs.wsn.b_2.MultipleTopicsSpecifiedFaultType getFaultInfo() {
return this.multipleTopicsSpecifiedFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "NoCurrentMessageOnTopicFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class NoCurrentMessageOnTopicFault extends Exception {
private org.oasis_open.docs.wsn.b_2.NoCurrentMessageOnTopicFaultType noCurrentMessageOnTopicFault;
private org.oasis_open.docs.wsn.b_2.NoCurrentMessageOnTopicFaultType faultInfo;
public NoCurrentMessageOnTopicFault() {
super();
@@ -28,15 +28,15 @@ public class NoCurrentMessageOnTopicFault extends Exception {
public NoCurrentMessageOnTopicFault(String message, org.oasis_open.docs.wsn.b_2.NoCurrentMessageOnTopicFaultType noCurrentMessageOnTopicFault) {
super(message);
this.noCurrentMessageOnTopicFault = noCurrentMessageOnTopicFault;
this.faultInfo = noCurrentMessageOnTopicFault;
}
public NoCurrentMessageOnTopicFault(String message, org.oasis_open.docs.wsn.b_2.NoCurrentMessageOnTopicFaultType noCurrentMessageOnTopicFault, java.lang.Throwable cause) {
super(message, cause);
this.noCurrentMessageOnTopicFault = noCurrentMessageOnTopicFault;
this.faultInfo = noCurrentMessageOnTopicFault;
}
public org.oasis_open.docs.wsn.b_2.NoCurrentMessageOnTopicFaultType getFaultInfo() {
return this.noCurrentMessageOnTopicFault;
return this.faultInfo;
}
}

View File

@@ -1,15 +1,15 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.jws.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import jakarta.jws.Oneway;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*
*/
@WebService(targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", name = "NotificationConsumer")

View File

@@ -1,15 +1,15 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*
*/
@WebService(targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", name = "NotificationProducer")

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "NotifyMessageNotSupportedFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class NotifyMessageNotSupportedFault extends Exception {
private org.oasis_open.docs.wsn.b_2.NotifyMessageNotSupportedFaultType notifyMessageNotSupportedFault;
private org.oasis_open.docs.wsn.b_2.NotifyMessageNotSupportedFaultType faultInfo;
public NotifyMessageNotSupportedFault() {
super();
@@ -28,15 +28,15 @@ public class NotifyMessageNotSupportedFault extends Exception {
public NotifyMessageNotSupportedFault(String message, org.oasis_open.docs.wsn.b_2.NotifyMessageNotSupportedFaultType notifyMessageNotSupportedFault) {
super(message);
this.notifyMessageNotSupportedFault = notifyMessageNotSupportedFault;
this.faultInfo = notifyMessageNotSupportedFault;
}
public NotifyMessageNotSupportedFault(String message, org.oasis_open.docs.wsn.b_2.NotifyMessageNotSupportedFaultType notifyMessageNotSupportedFault, java.lang.Throwable cause) {
super(message, cause);
this.notifyMessageNotSupportedFault = notifyMessageNotSupportedFault;
this.faultInfo = notifyMessageNotSupportedFault;
}
public org.oasis_open.docs.wsn.b_2.NotifyMessageNotSupportedFaultType getFaultInfo() {
return this.notifyMessageNotSupportedFault;
return this.faultInfo;
}
}

View File

@@ -1,15 +1,15 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*
*/
@WebService(targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", name = "PausableSubscriptionManager")

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "PauseFailedFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class PauseFailedFault extends Exception {
private org.oasis_open.docs.wsn.b_2.PauseFailedFaultType pauseFailedFault;
private org.oasis_open.docs.wsn.b_2.PauseFailedFaultType faultInfo;
public PauseFailedFault() {
super();
@@ -28,15 +28,15 @@ public class PauseFailedFault extends Exception {
public PauseFailedFault(String message, org.oasis_open.docs.wsn.b_2.PauseFailedFaultType pauseFailedFault) {
super(message);
this.pauseFailedFault = pauseFailedFault;
this.faultInfo = pauseFailedFault;
}
public PauseFailedFault(String message, org.oasis_open.docs.wsn.b_2.PauseFailedFaultType pauseFailedFault, java.lang.Throwable cause) {
super(message, cause);
this.pauseFailedFault = pauseFailedFault;
this.faultInfo = pauseFailedFault;
}
public org.oasis_open.docs.wsn.b_2.PauseFailedFaultType getFaultInfo() {
return this.pauseFailedFault;
return this.faultInfo;
}
}

View File

@@ -1,16 +1,16 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.jws.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import jakarta.jws.Oneway;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*
*/
@WebService(targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", name = "PullPoint")

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "ResumeFailedFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class ResumeFailedFault extends Exception {
private org.oasis_open.docs.wsn.b_2.ResumeFailedFaultType resumeFailedFault;
private org.oasis_open.docs.wsn.b_2.ResumeFailedFaultType faultInfo;
public ResumeFailedFault() {
super();
@@ -28,15 +28,15 @@ public class ResumeFailedFault extends Exception {
public ResumeFailedFault(String message, org.oasis_open.docs.wsn.b_2.ResumeFailedFaultType resumeFailedFault) {
super(message);
this.resumeFailedFault = resumeFailedFault;
this.faultInfo = resumeFailedFault;
}
public ResumeFailedFault(String message, org.oasis_open.docs.wsn.b_2.ResumeFailedFaultType resumeFailedFault, java.lang.Throwable cause) {
super(message, cause);
this.resumeFailedFault = resumeFailedFault;
this.faultInfo = resumeFailedFault;
}
public org.oasis_open.docs.wsn.b_2.ResumeFailedFaultType getFaultInfo() {
return this.resumeFailedFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "SubscribeCreationFailedFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class SubscribeCreationFailedFault extends Exception {
private org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType subscribeCreationFailedFault;
private org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType faultInfo;
public SubscribeCreationFailedFault() {
super();
@@ -28,15 +28,15 @@ public class SubscribeCreationFailedFault extends Exception {
public SubscribeCreationFailedFault(String message, org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType subscribeCreationFailedFault) {
super(message);
this.subscribeCreationFailedFault = subscribeCreationFailedFault;
this.faultInfo = subscribeCreationFailedFault;
}
public SubscribeCreationFailedFault(String message, org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType subscribeCreationFailedFault, java.lang.Throwable cause) {
super(message, cause);
this.subscribeCreationFailedFault = subscribeCreationFailedFault;
this.faultInfo = subscribeCreationFailedFault;
}
public org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType getFaultInfo() {
return this.subscribeCreationFailedFault;
return this.faultInfo;
}
}

View File

@@ -1,15 +1,15 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*
*/
@WebService(targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", name = "SubscriptionManager")

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "TopicExpressionDialectUnknownFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class TopicExpressionDialectUnknownFault extends Exception {
private org.oasis_open.docs.wsn.b_2.TopicExpressionDialectUnknownFaultType topicExpressionDialectUnknownFault;
private org.oasis_open.docs.wsn.b_2.TopicExpressionDialectUnknownFaultType faultInfo;
public TopicExpressionDialectUnknownFault() {
super();
@@ -28,15 +28,15 @@ public class TopicExpressionDialectUnknownFault extends Exception {
public TopicExpressionDialectUnknownFault(String message, org.oasis_open.docs.wsn.b_2.TopicExpressionDialectUnknownFaultType topicExpressionDialectUnknownFault) {
super(message);
this.topicExpressionDialectUnknownFault = topicExpressionDialectUnknownFault;
this.faultInfo = topicExpressionDialectUnknownFault;
}
public TopicExpressionDialectUnknownFault(String message, org.oasis_open.docs.wsn.b_2.TopicExpressionDialectUnknownFaultType topicExpressionDialectUnknownFault, java.lang.Throwable cause) {
super(message, cause);
this.topicExpressionDialectUnknownFault = topicExpressionDialectUnknownFault;
this.faultInfo = topicExpressionDialectUnknownFault;
}
public org.oasis_open.docs.wsn.b_2.TopicExpressionDialectUnknownFaultType getFaultInfo() {
return this.topicExpressionDialectUnknownFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "TopicNotSupportedFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class TopicNotSupportedFault extends Exception {
private org.oasis_open.docs.wsn.b_2.TopicNotSupportedFaultType topicNotSupportedFault;
private org.oasis_open.docs.wsn.b_2.TopicNotSupportedFaultType faultInfo;
public TopicNotSupportedFault() {
super();
@@ -28,15 +28,15 @@ public class TopicNotSupportedFault extends Exception {
public TopicNotSupportedFault(String message, org.oasis_open.docs.wsn.b_2.TopicNotSupportedFaultType topicNotSupportedFault) {
super(message);
this.topicNotSupportedFault = topicNotSupportedFault;
this.faultInfo = topicNotSupportedFault;
}
public TopicNotSupportedFault(String message, org.oasis_open.docs.wsn.b_2.TopicNotSupportedFaultType topicNotSupportedFault, java.lang.Throwable cause) {
super(message, cause);
this.topicNotSupportedFault = topicNotSupportedFault;
this.faultInfo = topicNotSupportedFault;
}
public org.oasis_open.docs.wsn.b_2.TopicNotSupportedFaultType getFaultInfo() {
return this.topicNotSupportedFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnableToCreatePullPointFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnableToCreatePullPointFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnableToCreatePullPointFaultType unableToCreatePullPointFault;
private org.oasis_open.docs.wsn.b_2.UnableToCreatePullPointFaultType faultInfo;
public UnableToCreatePullPointFault() {
super();
@@ -28,15 +28,15 @@ public class UnableToCreatePullPointFault extends Exception {
public UnableToCreatePullPointFault(String message, org.oasis_open.docs.wsn.b_2.UnableToCreatePullPointFaultType unableToCreatePullPointFault) {
super(message);
this.unableToCreatePullPointFault = unableToCreatePullPointFault;
this.faultInfo = unableToCreatePullPointFault;
}
public UnableToCreatePullPointFault(String message, org.oasis_open.docs.wsn.b_2.UnableToCreatePullPointFaultType unableToCreatePullPointFault, java.lang.Throwable cause) {
super(message, cause);
this.unableToCreatePullPointFault = unableToCreatePullPointFault;
this.faultInfo = unableToCreatePullPointFault;
}
public org.oasis_open.docs.wsn.b_2.UnableToCreatePullPointFaultType getFaultInfo() {
return this.unableToCreatePullPointFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnableToDestroyPullPointFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnableToDestroyPullPointFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnableToDestroyPullPointFaultType unableToDestroyPullPointFault;
private org.oasis_open.docs.wsn.b_2.UnableToDestroyPullPointFaultType faultInfo;
public UnableToDestroyPullPointFault() {
super();
@@ -28,15 +28,15 @@ public class UnableToDestroyPullPointFault extends Exception {
public UnableToDestroyPullPointFault(String message, org.oasis_open.docs.wsn.b_2.UnableToDestroyPullPointFaultType unableToDestroyPullPointFault) {
super(message);
this.unableToDestroyPullPointFault = unableToDestroyPullPointFault;
this.faultInfo = unableToDestroyPullPointFault;
}
public UnableToDestroyPullPointFault(String message, org.oasis_open.docs.wsn.b_2.UnableToDestroyPullPointFaultType unableToDestroyPullPointFault, java.lang.Throwable cause) {
super(message, cause);
this.unableToDestroyPullPointFault = unableToDestroyPullPointFault;
this.faultInfo = unableToDestroyPullPointFault;
}
public org.oasis_open.docs.wsn.b_2.UnableToDestroyPullPointFaultType getFaultInfo() {
return this.unableToDestroyPullPointFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnableToDestroySubscriptionFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnableToDestroySubscriptionFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType unableToDestroySubscriptionFault;
private org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType faultInfo;
public UnableToDestroySubscriptionFault() {
super();
@@ -28,15 +28,15 @@ public class UnableToDestroySubscriptionFault extends Exception {
public UnableToDestroySubscriptionFault(String message, org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType unableToDestroySubscriptionFault) {
super(message);
this.unableToDestroySubscriptionFault = unableToDestroySubscriptionFault;
this.faultInfo = unableToDestroySubscriptionFault;
}
public UnableToDestroySubscriptionFault(String message, org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType unableToDestroySubscriptionFault, java.lang.Throwable cause) {
super(message, cause);
this.unableToDestroySubscriptionFault = unableToDestroySubscriptionFault;
this.faultInfo = unableToDestroySubscriptionFault;
}
public org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType getFaultInfo() {
return this.unableToDestroySubscriptionFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnableToGetMessagesFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnableToGetMessagesFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnableToGetMessagesFaultType unableToGetMessagesFault;
private org.oasis_open.docs.wsn.b_2.UnableToGetMessagesFaultType faultInfo;
public UnableToGetMessagesFault() {
super();
@@ -28,15 +28,15 @@ public class UnableToGetMessagesFault extends Exception {
public UnableToGetMessagesFault(String message, org.oasis_open.docs.wsn.b_2.UnableToGetMessagesFaultType unableToGetMessagesFault) {
super(message);
this.unableToGetMessagesFault = unableToGetMessagesFault;
this.faultInfo = unableToGetMessagesFault;
}
public UnableToGetMessagesFault(String message, org.oasis_open.docs.wsn.b_2.UnableToGetMessagesFaultType unableToGetMessagesFault, java.lang.Throwable cause) {
super(message, cause);
this.unableToGetMessagesFault = unableToGetMessagesFault;
this.faultInfo = unableToGetMessagesFault;
}
public org.oasis_open.docs.wsn.b_2.UnableToGetMessagesFaultType getFaultInfo() {
return this.unableToGetMessagesFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnacceptableInitialTerminationTimeFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnacceptableInitialTerminationTimeFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnacceptableInitialTerminationTimeFaultType unacceptableInitialTerminationTimeFault;
private org.oasis_open.docs.wsn.b_2.UnacceptableInitialTerminationTimeFaultType faultInfo;
public UnacceptableInitialTerminationTimeFault() {
super();
@@ -28,15 +28,15 @@ public class UnacceptableInitialTerminationTimeFault extends Exception {
public UnacceptableInitialTerminationTimeFault(String message, org.oasis_open.docs.wsn.b_2.UnacceptableInitialTerminationTimeFaultType unacceptableInitialTerminationTimeFault) {
super(message);
this.unacceptableInitialTerminationTimeFault = unacceptableInitialTerminationTimeFault;
this.faultInfo = unacceptableInitialTerminationTimeFault;
}
public UnacceptableInitialTerminationTimeFault(String message, org.oasis_open.docs.wsn.b_2.UnacceptableInitialTerminationTimeFaultType unacceptableInitialTerminationTimeFault, java.lang.Throwable cause) {
super(message, cause);
this.unacceptableInitialTerminationTimeFault = unacceptableInitialTerminationTimeFault;
this.faultInfo = unacceptableInitialTerminationTimeFault;
}
public org.oasis_open.docs.wsn.b_2.UnacceptableInitialTerminationTimeFaultType getFaultInfo() {
return this.unacceptableInitialTerminationTimeFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnacceptableTerminationTimeFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnacceptableTerminationTimeFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType unacceptableTerminationTimeFault;
private org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType faultInfo;
public UnacceptableTerminationTimeFault() {
super();
@@ -28,15 +28,15 @@ public class UnacceptableTerminationTimeFault extends Exception {
public UnacceptableTerminationTimeFault(String message, org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType unacceptableTerminationTimeFault) {
super(message);
this.unacceptableTerminationTimeFault = unacceptableTerminationTimeFault;
this.faultInfo = unacceptableTerminationTimeFault;
}
public UnacceptableTerminationTimeFault(String message, org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType unacceptableTerminationTimeFault, java.lang.Throwable cause) {
super(message, cause);
this.unacceptableTerminationTimeFault = unacceptableTerminationTimeFault;
this.faultInfo = unacceptableTerminationTimeFault;
}
public org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType getFaultInfo() {
return this.unacceptableTerminationTimeFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnrecognizedPolicyRequestFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnrecognizedPolicyRequestFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnrecognizedPolicyRequestFaultType unrecognizedPolicyRequestFault;
private org.oasis_open.docs.wsn.b_2.UnrecognizedPolicyRequestFaultType faultInfo;
public UnrecognizedPolicyRequestFault() {
super();
@@ -28,15 +28,15 @@ public class UnrecognizedPolicyRequestFault extends Exception {
public UnrecognizedPolicyRequestFault(String message, org.oasis_open.docs.wsn.b_2.UnrecognizedPolicyRequestFaultType unrecognizedPolicyRequestFault) {
super(message);
this.unrecognizedPolicyRequestFault = unrecognizedPolicyRequestFault;
this.faultInfo = unrecognizedPolicyRequestFault;
}
public UnrecognizedPolicyRequestFault(String message, org.oasis_open.docs.wsn.b_2.UnrecognizedPolicyRequestFaultType unrecognizedPolicyRequestFault, java.lang.Throwable cause) {
super(message, cause);
this.unrecognizedPolicyRequestFault = unrecognizedPolicyRequestFault;
this.faultInfo = unrecognizedPolicyRequestFault;
}
public org.oasis_open.docs.wsn.b_2.UnrecognizedPolicyRequestFaultType getFaultInfo() {
return this.unrecognizedPolicyRequestFault;
return this.faultInfo;
}
}

View File

@@ -1,18 +1,18 @@
package org.oasis_open.docs.wsn.bw_2;
import javax.xml.ws.WebFault;
import jakarta.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.3.2
* Generated source version: 3.3.2
* This class was generated by Apache CXF 4.0.0
* Generated source version: 4.0.0
*/
@WebFault(name = "UnsupportedPolicyRequestFault", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
public class UnsupportedPolicyRequestFault extends Exception {
private org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType unsupportedPolicyRequestFault;
private org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType faultInfo;
public UnsupportedPolicyRequestFault() {
super();
@@ -28,15 +28,15 @@ public class UnsupportedPolicyRequestFault extends Exception {
public UnsupportedPolicyRequestFault(String message, org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType unsupportedPolicyRequestFault) {
super(message);
this.unsupportedPolicyRequestFault = unsupportedPolicyRequestFault;
this.faultInfo = unsupportedPolicyRequestFault;
}
public UnsupportedPolicyRequestFault(String message, org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType unsupportedPolicyRequestFault, java.lang.Throwable cause) {
super(message, cause);
this.unsupportedPolicyRequestFault = unsupportedPolicyRequestFault;
this.faultInfo = unsupportedPolicyRequestFault;
}
public org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType getFaultInfo() {
return this.unsupportedPolicyRequestFault;
return this.faultInfo;
}
}

View File

@@ -1,74 +0,0 @@
package org.oasis_open.docs.wsn.t_1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for Documentation complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="Documentation"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Documentation", propOrder = {
"content"
})
public class Documentation {
@XmlMixed
@XmlAnyElement(lax = true)
protected List<Object> content;
/**
* Gets the value of the content property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
* {@link String }
*
*
*/
public List<Object> getContent() {
if (content == null) {
content = new ArrayList<Object>();
}
return this.content;
}
}

View File

@@ -1,91 +0,0 @@
package org.oasis_open.docs.wsn.t_1;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
/**
* <p>Java class for ExtensibleDocumented complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ExtensibleDocumented"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="documentation" type="{http://docs.oasis-open.org/wsn/t-1}Documentation" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExtensibleDocumented", propOrder = {
"documentation"
})
@XmlSeeAlso({
TopicNamespaceType.class,
TopicSetType.class,
TopicType.class
})
public abstract class ExtensibleDocumented {
protected Documentation documentation;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the documentation property.
*
* @return
* possible object is
* {@link Documentation }
*
*/
public Documentation getDocumentation() {
return documentation;
}
/**
* Sets the value of the documentation property.
*
* @param value
* allowed object is
* {@link Documentation }
*
*/
public void setDocumentation(Documentation value) {
this.documentation = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}

View File

@@ -1,111 +0,0 @@
package org.oasis_open.docs.wsn.t_1;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.oasis_open.docs.wsn.t_1 package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _TopicNamespace_QNAME = new QName("http://docs.oasis-open.org/wsn/t-1", "TopicNamespace");
private final static QName _TopicSet_QNAME = new QName("http://docs.oasis-open.org/wsn/t-1", "TopicSet");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.oasis_open.docs.wsn.t_1
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link TopicNamespaceType }
*
*/
public TopicNamespaceType createTopicNamespaceType() {
return new TopicNamespaceType();
}
/**
* Create an instance of {@link TopicSetType }
*
*/
public TopicSetType createTopicSetType() {
return new TopicSetType();
}
/**
* Create an instance of {@link Documentation }
*
*/
public Documentation createDocumentation() {
return new Documentation();
}
/**
* Create an instance of {@link QueryExpressionType }
*
*/
public QueryExpressionType createQueryExpressionType() {
return new QueryExpressionType();
}
/**
* Create an instance of {@link TopicType }
*
*/
public TopicType createTopicType() {
return new TopicType();
}
/**
* Create an instance of {@link TopicNamespaceType.Topic }
*
*/
public TopicNamespaceType.Topic createTopicNamespaceTypeTopic() {
return new TopicNamespaceType.Topic();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link TopicNamespaceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link TopicNamespaceType }{@code >}
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/wsn/t-1", name = "TopicNamespace")
public JAXBElement<TopicNamespaceType> createTopicNamespace(TopicNamespaceType value) {
return new JAXBElement<TopicNamespaceType>(_TopicNamespace_QNAME, TopicNamespaceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link TopicSetType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link TopicSetType }{@code >}
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/wsn/t-1", name = "TopicSet")
public JAXBElement<TopicSetType> createTopicSet(TopicSetType value) {
return new JAXBElement<TopicSetType>(_TopicSet_QNAME, TopicSetType.class, null, value);
}
}

View File

@@ -1,104 +0,0 @@
package org.oasis_open.docs.wsn.t_1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for QueryExpressionType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="QueryExpressionType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="Dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QueryExpressionType", propOrder = {
"content"
})
public class QueryExpressionType {
@XmlMixed
@XmlAnyElement(lax = true)
protected List<Object> content;
@XmlAttribute(name = "Dialect", required = true)
@XmlSchemaType(name = "anyURI")
protected String dialect;
/**
* Gets the value of the content property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
* {@link String }
*
*
*/
public List<Object> getContent() {
if (content == null) {
content = new ArrayList<Object>();
}
return this.content;
}
/**
* Gets the value of the dialect property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDialect() {
return dialect;
}
/**
* Sets the value of the dialect property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDialect(String value) {
this.dialect = value;
}
}

View File

@@ -1,264 +0,0 @@
package org.oasis_open.docs.wsn.t_1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3c.dom.Element;
/**
* <p>Java class for TopicNamespaceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="TopicNamespaceType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsn/t-1}ExtensibleDocumented"&gt;
* &lt;sequence&gt;
* &lt;element name="Topic" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsn/t-1}TopicType"&gt;
* &lt;attribute name="parent" type="{http://docs.oasis-open.org/wsn/t-1}ConcreteTopicExpression" /&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" /&gt;
* &lt;attribute name="targetNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /&gt;
* &lt;attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TopicNamespaceType", propOrder = {
"topic",
"any"
})
public class TopicNamespaceType
extends ExtensibleDocumented
{
@XmlElement(name = "Topic")
protected List<TopicNamespaceType.Topic> topic;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(name = "name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String name;
@XmlAttribute(name = "targetNamespace", required = true)
@XmlSchemaType(name = "anyURI")
protected String targetNamespace;
@XmlAttribute(name = "final")
protected Boolean _final;
/**
* Gets the value of the topic property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the topic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicNamespaceType.Topic }
*
*
*/
public List<TopicNamespaceType.Topic> getTopic() {
if (topic == null) {
topic = new ArrayList<TopicNamespaceType.Topic>();
}
return this.topic;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the targetNamespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetNamespace() {
return targetNamespace;
}
/**
* Sets the value of the targetNamespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetNamespace(String value) {
this.targetNamespace = value;
}
/**
* Gets the value of the final property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isFinal() {
if (_final == null) {
return false;
} else {
return _final;
}
}
/**
* Sets the value of the final property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFinal(Boolean value) {
this._final = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsn/t-1}TopicType"&gt;
* &lt;attribute name="parent" type="{http://docs.oasis-open.org/wsn/t-1}ConcreteTopicExpression" /&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Topic
extends TopicType
{
@XmlAttribute(name = "parent")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String parent;
/**
* Gets the value of the parent property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParent(String value) {
this.parent = value;
}
}
}

View File

@@ -3,10 +3,10 @@ package org.oasis_open.docs.wsn.t_1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
@@ -47,7 +47,7 @@ public class TopicSetType
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
@@ -59,8 +59,8 @@ public class TopicSetType
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
* {@link Element }
*
*
*/

View File

@@ -1,239 +0,0 @@
package org.oasis_open.docs.wsn.t_1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
/**
* <p>Java class for TopicType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="TopicType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsn/t-1}ExtensibleDocumented"&gt;
* &lt;sequence&gt;
* &lt;element name="MessagePattern" type="{http://docs.oasis-open.org/wsn/t-1}QueryExpressionType" minOccurs="0"/&gt;
* &lt;element name="Topic" type="{http://docs.oasis-open.org/wsn/t-1}TopicType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /&gt;
* &lt;attribute name="messageTypes"&gt;
* &lt;simpleType&gt;
* &lt;list itemType="{http://www.w3.org/2001/XMLSchema}QName" /&gt;
* &lt;/simpleType&gt;
* &lt;/attribute&gt;
* &lt;attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TopicType", propOrder = {
"messagePattern",
"topic",
"any"
})
@XmlSeeAlso({
org.oasis_open.docs.wsn.t_1.TopicNamespaceType.Topic.class
})
public class TopicType
extends ExtensibleDocumented
{
@XmlElement(name = "MessagePattern")
protected QueryExpressionType messagePattern;
@XmlElement(name = "Topic")
protected List<TopicType> topic;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String name;
@XmlAttribute(name = "messageTypes")
protected List<QName> messageTypes;
@XmlAttribute(name = "final")
protected Boolean _final;
/**
* Gets the value of the messagePattern property.
*
* @return
* possible object is
* {@link QueryExpressionType }
*
*/
public QueryExpressionType getMessagePattern() {
return messagePattern;
}
/**
* Sets the value of the messagePattern property.
*
* @param value
* allowed object is
* {@link QueryExpressionType }
*
*/
public void setMessagePattern(QueryExpressionType value) {
this.messagePattern = value;
}
/**
* Gets the value of the topic property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the topic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTopic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopicType }
*
*
*/
public List<TopicType> getTopic() {
if (topic == null) {
topic = new ArrayList<TopicType>();
}
return this.topic;
}
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the messageTypes property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the messageTypes property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getMessageTypes().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link QName }
*
*
*/
public List<QName> getMessageTypes() {
if (messageTypes == null) {
messageTypes = new ArrayList<QName>();
}
return this.messageTypes;
}
/**
* Gets the value of the final property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isFinal() {
if (_final == null) {
return false;
} else {
return _final;
}
}
/**
* Sets the value of the final property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFinal(Boolean value) {
this._final = value;
}
}

View File

@@ -1,2 +1,2 @@
@javax.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/wsn/t-1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/wsn/t-1", elementFormDefault = jakarta.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.oasis_open.docs.wsn.t_1;

View File

@@ -1,563 +0,0 @@
package org.oasis_open.docs.wsrf.bf_2;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType;
import org.oasis_open.docs.wsn.b_2.InvalidMessageContentExpressionFaultType;
import org.oasis_open.docs.wsn.b_2.InvalidProducerPropertiesExpressionFaultType;
import org.oasis_open.docs.wsn.b_2.InvalidTopicExpressionFaultType;
import org.oasis_open.docs.wsn.b_2.MultipleTopicsSpecifiedFaultType;
import org.oasis_open.docs.wsn.b_2.NoCurrentMessageOnTopicFaultType;
import org.oasis_open.docs.wsn.b_2.NotifyMessageNotSupportedFaultType;
import org.oasis_open.docs.wsn.b_2.PauseFailedFaultType;
import org.oasis_open.docs.wsn.b_2.ResumeFailedFaultType;
import org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType;
import org.oasis_open.docs.wsn.b_2.TopicExpressionDialectUnknownFaultType;
import org.oasis_open.docs.wsn.b_2.TopicNotSupportedFaultType;
import org.oasis_open.docs.wsn.b_2.UnableToCreatePullPointFaultType;
import org.oasis_open.docs.wsn.b_2.UnableToDestroyPullPointFaultType;
import org.oasis_open.docs.wsn.b_2.UnableToDestroySubscriptionFaultType;
import org.oasis_open.docs.wsn.b_2.UnableToGetMessagesFaultType;
import org.oasis_open.docs.wsn.b_2.UnacceptableInitialTerminationTimeFaultType;
import org.oasis_open.docs.wsn.b_2.UnacceptableTerminationTimeFaultType;
import org.oasis_open.docs.wsn.b_2.UnrecognizedPolicyRequestFaultType;
import org.oasis_open.docs.wsn.b_2.UnsupportedPolicyRequestFaultType;
import org.w3c.dom.Element;
/**
* <p>Java class for BaseFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="BaseFaultType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/&gt;
* &lt;element name="Originator" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType" minOccurs="0"/&gt;
* &lt;element name="ErrorCode" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /&gt;
* &lt;anyAttribute processContents='skip'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="Description" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="FaultCause" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other'/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BaseFaultType", propOrder = {
"any",
"timestamp",
"originator",
"errorCode",
"description",
"faultCause"
})
@XmlSeeAlso({
SubscribeCreationFailedFaultType.class,
InvalidFilterFaultType.class,
TopicExpressionDialectUnknownFaultType.class,
InvalidTopicExpressionFaultType.class,
TopicNotSupportedFaultType.class,
MultipleTopicsSpecifiedFaultType.class,
InvalidProducerPropertiesExpressionFaultType.class,
InvalidMessageContentExpressionFaultType.class,
UnrecognizedPolicyRequestFaultType.class,
UnsupportedPolicyRequestFaultType.class,
NotifyMessageNotSupportedFaultType.class,
UnacceptableInitialTerminationTimeFaultType.class,
NoCurrentMessageOnTopicFaultType.class,
UnableToGetMessagesFaultType.class,
UnableToDestroyPullPointFaultType.class,
UnableToCreatePullPointFaultType.class,
UnacceptableTerminationTimeFaultType.class,
UnableToDestroySubscriptionFaultType.class,
PauseFailedFaultType.class,
ResumeFailedFaultType.class
})
public class BaseFaultType {
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlElement(name = "Timestamp", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timestamp;
@XmlElement(name = "Originator")
protected W3CEndpointReference originator;
@XmlElement(name = "ErrorCode")
protected BaseFaultType.ErrorCode errorCode;
@XmlElement(name = "Description")
protected List<BaseFaultType.Description> description;
@XmlElement(name = "FaultCause")
protected BaseFaultType.FaultCause faultCause;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimestamp(XMLGregorianCalendar value) {
this.timestamp = value;
}
/**
* Gets the value of the originator property.
*
* @return
* possible object is
* {@link W3CEndpointReference }
*
*/
public W3CEndpointReference getOriginator() {
return originator;
}
/**
* Sets the value of the originator property.
*
* @param value
* allowed object is
* {@link W3CEndpointReference }
*
*/
public void setOriginator(W3CEndpointReference value) {
this.originator = value;
}
/**
* Gets the value of the errorCode property.
*
* @return
* possible object is
* {@link BaseFaultType.ErrorCode }
*
*/
public BaseFaultType.ErrorCode getErrorCode() {
return errorCode;
}
/**
* Sets the value of the errorCode property.
*
* @param value
* allowed object is
* {@link BaseFaultType.ErrorCode }
*
*/
public void setErrorCode(BaseFaultType.ErrorCode value) {
this.errorCode = value;
}
/**
* Gets the value of the description property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BaseFaultType.Description }
*
*
*/
public List<BaseFaultType.Description> getDescription() {
if (description == null) {
description = new ArrayList<BaseFaultType.Description>();
}
return this.description;
}
/**
* Gets the value of the faultCause property.
*
* @return
* possible object is
* {@link BaseFaultType.FaultCause }
*
*/
public BaseFaultType.FaultCause getFaultCause() {
return faultCause;
}
/**
* Sets the value of the faultCause property.
*
* @param value
* allowed object is
* {@link BaseFaultType.FaultCause }
*
*/
public void setFaultCause(BaseFaultType.FaultCause value) {
this.faultCause = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class Description {
@XmlValue
protected String value;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
protected String lang;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the lang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLang(String value) {
this.lang = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /&gt;
* &lt;anyAttribute processContents='skip'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
public static class ErrorCode {
@XmlMixed
@XmlAnyElement
protected List<Object> content;
@XmlAttribute(name = "dialect", required = true)
@XmlSchemaType(name = "anyURI")
protected String dialect;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the content property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link String }
*
*
*/
public List<Object> getContent() {
if (content == null) {
content = new ArrayList<Object>();
}
return this.content;
}
/**
* Gets the value of the dialect property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDialect() {
return dialect;
}
/**
* Sets the value of the dialect property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDialect(String value) {
this.dialect = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;any processContents='lax' namespace='##other'/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
public static class FaultCause {
@XmlAnyElement(lax = true)
protected Object any;
/**
* Gets the value of the any property.
*
* @return
* possible object is
* {@link Element }
* {@link Object }
*
*/
public Object getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value
* allowed object is
* {@link Element }
* {@link Object }
*
*/
public void setAny(Object value) {
this.any = value;
}
}
}

View File

@@ -1,81 +0,0 @@
package org.oasis_open.docs.wsrf.bf_2;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.oasis_open.docs.wsrf.bf_2 package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _BaseFault_QNAME = new QName("http://docs.oasis-open.org/wsrf/bf-2", "BaseFault");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.oasis_open.docs.wsrf.bf_2
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link BaseFaultType }
*
*/
public BaseFaultType createBaseFaultType() {
return new BaseFaultType();
}
/**
* Create an instance of {@link BaseFaultType.ErrorCode }
*
*/
public BaseFaultType.ErrorCode createBaseFaultTypeErrorCode() {
return new BaseFaultType.ErrorCode();
}
/**
* Create an instance of {@link BaseFaultType.Description }
*
*/
public BaseFaultType.Description createBaseFaultTypeDescription() {
return new BaseFaultType.Description();
}
/**
* Create an instance of {@link BaseFaultType.FaultCause }
*
*/
public BaseFaultType.FaultCause createBaseFaultTypeFaultCause() {
return new BaseFaultType.FaultCause();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link BaseFaultType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link BaseFaultType }{@code >}
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/wsrf/bf-2", name = "BaseFault")
public JAXBElement<BaseFaultType> createBaseFault(BaseFaultType value) {
return new JAXBElement<BaseFaultType>(_BaseFault_QNAME, BaseFaultType.class, null, value);
}
}

View File

@@ -1,2 +0,0 @@
@javax.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/wsrf/bf-2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.oasis_open.docs.wsrf.bf_2;

View File

@@ -1,79 +0,0 @@
package org.oasis_open.docs.wsrf.r_2;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.oasis_open.docs.wsrf.r_2 package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _ResourceUnknownFault_QNAME = new QName("http://docs.oasis-open.org/wsrf/r-2", "ResourceUnknownFault");
private final static QName _ResourceUnavailableFault_QNAME = new QName("http://docs.oasis-open.org/wsrf/r-2", "ResourceUnavailableFault");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.oasis_open.docs.wsrf.r_2
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ResourceUnknownFaultType }
*
*/
public ResourceUnknownFaultType createResourceUnknownFaultType() {
return new ResourceUnknownFaultType();
}
/**
* Create an instance of {@link ResourceUnavailableFaultType }
*
*/
public ResourceUnavailableFaultType createResourceUnavailableFaultType() {
return new ResourceUnavailableFaultType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceUnknownFaultType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResourceUnknownFaultType }{@code >}
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/wsrf/r-2", name = "ResourceUnknownFault")
public JAXBElement<ResourceUnknownFaultType> createResourceUnknownFault(ResourceUnknownFaultType value) {
return new JAXBElement<ResourceUnknownFaultType>(_ResourceUnknownFault_QNAME, ResourceUnknownFaultType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResourceUnavailableFaultType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResourceUnavailableFaultType }{@code >}
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/wsrf/r-2", name = "ResourceUnavailableFault")
public JAXBElement<ResourceUnavailableFaultType> createResourceUnavailableFault(ResourceUnavailableFaultType value) {
return new JAXBElement<ResourceUnavailableFaultType>(_ResourceUnavailableFault_QNAME, ResourceUnavailableFaultType.class, null, value);
}
}

View File

@@ -1,34 +0,0 @@
package org.oasis_open.docs.wsrf.r_2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.oasis_open.docs.wsrf.bf_2.BaseFaultType;
/**
* <p>Java class for ResourceUnavailableFaultType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ResourceUnavailableFaultType"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{http://docs.oasis-open.org/wsrf/bf-2}BaseFaultType"&gt;
* &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResourceUnavailableFaultType")
public class ResourceUnavailableFaultType
extends BaseFaultType
{
}

Some files were not shown because too many files have changed in this diff Show More