|
@@ -182,25 +182,26 @@ public function objectStructView($item) {
|
|
|
self::throwServiceException("Błąd danych z BaseStruct ");
|
|
self::throwServiceException("Błąd danych z BaseStruct ");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- } else {
|
|
|
|
|
- $this->findRelations($gml, $ID, $resolveDepth);
|
|
|
|
|
-
|
|
|
|
|
- foreach ($this->tablesUsed as $table) $this->addAttribute($wfs, "xmlns:default_db__x3A__{$table}", "https://biuro.biall-net.pl/wfs/default_db/{$table}");
|
|
|
|
|
- $attrs = [
|
|
|
|
|
- 'numberMatched' => 'unknown',
|
|
|
|
|
- 'numberReturned' => '1',
|
|
|
|
|
- ];
|
|
|
|
|
- foreach ($attrs as $name => $value) $this->addAttribute($wfs, $name, $value);
|
|
|
|
|
-
|
|
|
|
|
- $xml = $this->dom->saveXML();
|
|
|
|
|
- self::output($xml);
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- catch (Exception $e) {
|
|
|
|
|
- $this->objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
|
|
|
|
|
-
|
|
|
|
|
- //self::throwServiceException($e->getMessage());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ } else {
|
|
|
|
|
+ $this->findRelations($gml, $ID, $resolveDepth);
|
|
|
|
|
+
|
|
|
|
|
+ foreach ($this->tablesUsed as $table) $this->addAttribute($wfs, "xmlns:default_db__x3A__{$table}", "https://biuro.biall-net.pl/wfs/default_db/{$table}");
|
|
|
|
|
+ $attrs = [
|
|
|
|
|
+ 'numberMatched' => 'unknown',
|
|
|
|
|
+ 'numberReturned' => '1',
|
|
|
|
|
+ ];
|
|
|
|
|
+ foreach ($attrs as $name => $value) $this->addAttribute($wfs, $name, $value);
|
|
|
|
|
+
|
|
|
|
|
+ $xml = $this->dom->saveXML();
|
|
|
|
|
+ self::output($xml);
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ } catch (Exception $e) {
|
|
|
|
|
+ //$this->objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
|
|
|
|
|
+
|
|
|
|
|
+ self::throwServiceException($e->getMessage());
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|