public String buildInsertSensorRequest(final ParameterContainer parameters) throws OXFException { final InsertSensorDocument xbInsertSensorDoc = InsertSensorDocument.Factory.newInstance(); final InsertSensorType xbInsertSensorType = xbInsertSensorDoc.addNewInsertSensor(); xbInsertSensorType.setService("SOS"); xbInsertSensorType.setVersion("2.0.0"); addObservableProperties(parameters, xbInsertSensorType); addProcedure(parameters, xbInsertSensorType); addInsertionMetadata(parameters, xbInsertSensorType); doLaxRequestValidation(xbInsertSensorDoc); return xbInsertSensorDoc.xmlText(XmlUtil.FAST); }