public void setServiceType(String serviceType, String codeSpace) { CodeType codeType = CodeType.Factory.newInstance(); codeType.setStringValue(serviceType); codeType.setCodeSpace(codeSpace); this.serviceIdentification.setServiceType(codeType); }
public boolean containsExceptions() { ExceptionType[] exceptionArray = exceptionDocument.getExceptionReport().getExceptionArray(); return exceptionArray != null && exceptionArray.length > 0; } }
public ServiceIdentificationDocument getServiceIdentificationAsDocument() { ServiceIdentificationDocument document = ServiceIdentificationDocument.Factory.newInstance(); document.setServiceIdentification(this.serviceIdentification); return document; }
private void addDescribeSensorOperation(OperationsMetadata operationsMetadata, List<HttpBinding> httpBindings) { Operation describeSensorOperation = operationsMetadata.addNewOperation(); describeSensorOperation.setName(DESCRIBE_SENSOR); addSupportedBindings(describeSensorOperation, httpBindings); }
private ServiceException(OwsException owsException) { exceptionDocument = ExceptionReportDocument.Factory.newInstance(); ExceptionReport report = exceptionDocument.addNewExceptionReport(); ExceptionType exceptionType = report.addNewException(); setExceptionContent(owsException, exceptionType); }
private ExceptionReportDocument createExceptionReport(OwsExceptionReport owsExceptionReport) { ExceptionReportDocument reportDocument = ExceptionReportDocument.Factory.newInstance(); ExceptionReport report = reportDocument.addNewExceptionReport(); setOwsExceptions(report, owsExceptionReport); return reportDocument; }
public void setVersion(String version) { ExceptionReport exceptionReport = exceptionDocument.getExceptionReport(); exceptionReport.setVersion(version); }
/** * @return the GetCapabilites GET binding (mandatory for all bindings) */ public HTTPDocument getGetCapabilitiesHttpInfoGET() { HTTPDocument httpDocument = HTTPDocument.Factory.newInstance(); RequestMethodType method = httpDocument.addNewHTTP().addNewGet(); method.setHref(externalGetCapabilitiesGETDcpUrl); method.setType(Enum.forString("kvp")); return httpDocument; }
public void setLanguage(String language) { ExceptionReport exceptionReport = exceptionDocument.getExceptionReport(); exceptionReport.setLang(language); }
private void addDeleteSensorOperation(OperationsMetadata operationsMetadata) { Operation deleteSensorOperation = operationsMetadata.addNewOperation(); deleteSensorOperation.setName(DELETE_SENSOR_OFFERING); addDcpExtensionBinding(deleteSensorOperation, httpBinding, DELETE_RESOURCE); }
private XmlBeansServiceException(OwsException owsException) { exceptionDocument = ExceptionReportDocument.Factory.newInstance(); ExceptionReport report = exceptionDocument.addNewExceptionReport(); ExceptionType exceptionType = report.addNewException(); setExceptionContent(owsException, exceptionType); }
private ExceptionReportDocument createExceptionReport(OwsExceptionReport owsExceptionReport) { ExceptionReportDocument reportDocument = ExceptionReportDocument.Factory.newInstance(); ExceptionReport report = reportDocument.addNewExceptionReport(); setOwsExceptions(report, owsExceptionReport); return reportDocument; }
public void setVersion(String version) { ExceptionReport exceptionReport = exceptionDocument.getExceptionReport(); exceptionReport.setVersion(version); }
public boolean containsExceptions() { ExceptionType[] exceptionArray = exceptionDocument.getExceptionReport().getExceptionArray(); return exceptionArray != null && exceptionArray.length > 0; } }
public void setLanguage(String language) { ExceptionReport exceptionReport = exceptionDocument.getExceptionReport(); exceptionReport.setLang(language); }
private void addRegisterSensorOperation(OperationsMetadata operationsMetadata) { Operation registerSensorOperation = operationsMetadata.addNewOperation(); registerSensorOperation.setName(INSERT_SENSOR_OFFERING); addDcpExtensionBinding(registerSensorOperation, httpBinding, INSERT_RESOURCE); }
private void addGetCapabilitiesOperation(OperationsMetadata operationsMetadata, List<HttpBinding> httpBindings) { Operation getCapabilitiesOperation = operationsMetadata.addNewOperation(); getCapabilitiesOperation.setName(GET_CAPABILITIES); addSupportedBindings(getCapabilitiesOperation, httpBindings); }
private void addSubmitOperation(OperationsMetadata operationsMetadata, List<HttpBinding> httpBindings) { Operation submitOperation = operationsMetadata.addNewOperation(); submitOperation.setName(SUBMIT); addSupportedBindings(submitOperation, httpBindings); }
private void addGetStatusOperation(OperationsMetadata operationsMetadata, List<HttpBinding> httpBindings) { Operation getStatusOperation = operationsMetadata.addNewOperation(); getStatusOperation.setName(GET_STATUS); addSupportedBindings(getStatusOperation, httpBindings); }
private void addDescribeTaskingOperation(OperationsMetadata operationsMetadata, List<HttpBinding> httpBindings) { Operation describeTaskingOperation = operationsMetadata.addNewOperation(); describeTaskingOperation.setName(DESCRIBE_TASKING); addSupportedBindings(describeTaskingOperation, httpBindings); }