Tabnine Logo
ExtensibleRequestType.setService
Code IndexAdd Tabnine to your IDE (free)

How to use
setService
method
in
net.opengis.swes.x20.ExtensibleRequestType

Best Java code snippets using net.opengis.swes.x20.ExtensibleRequestType.setService (Showing top 4 results out of 315)

origin: org.n52.sensorweb.sos/test-suite-sos-20

protected void addServiceParameter(
    ExtensibleRequestType extensibleRequestType) {
  extensibleRequestType.setService(SERVICE);
}
origin: org.n52.svalbard/svalbard-xmlbeans

default void addService(ExtensibleRequestType ert, OwsServiceRequest request) {
  if (request.isSetService()) {
    ert.setService(request.getService());
  } else {
    ert.setService(SosConstants.SOS);
  }
}
origin: org.n52.sensorweb.sos/test-suite-sos-20

public void emptyServiceParameter(ExtensibleRequestType req,
                 XmlObject xmlDocument) {
  req.setService("");
  Response res = soap(xmlDocument);
  getErrors().checkThat(res.getStatus(), is(400));
  getErrors()
      .checkThat(res.asNode(), is(missingServiceParameterValueExceptionFault()));
}
origin: org.n52.sensorweb.sos/test-suite-sos-20

public void invalidServiceParameter(ExtensibleRequestType req,
                  XmlObject xmlDocument) {
  req.setService("INVALID");
  Response res = soap(xmlDocument);
  getErrors().checkThat(res.getStatus(), is(400));
  getErrors()
      .checkThat(res.asNode(), is(invalidServiceParameterValueExceptionFault("INVALID")));
}
net.opengis.swes.x20ExtensibleRequestTypesetService

Javadoc

Sets the "service" attribute

Popular methods of ExtensibleRequestType

  • getExtensionArray
    Gets ith "extension" element
  • setVersion
    Sets the "version" attribute
  • addNewExtension
    Appends and returns a new empty value (as xml) as the last "extension" element
  • set

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Join (org.hibernate.mapping)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now