|
|
@@ -631,20 +631,25 @@ class WpsServer {
|
|
|
$entityBody = file_get_contents('php://input');
|
|
|
$table = array();
|
|
|
$content = $entityBody;
|
|
|
- if ($content != FALSE) {
|
|
|
- $xml = new SimpleXmlElement($content);
|
|
|
- foreach($xml->children('wps', TRUE)->DataInputs->children('wps', TRUE) as $input) {
|
|
|
- if(isset($input->children('wps', TRUE)->Data->ComplexData)) {
|
|
|
- $table[] = $input->children('wps', TRUE)->Data->ComplexData;
|
|
|
- } else if(isset($input->children('wps', TRUE)->Data->LiteralData)) {
|
|
|
- $table[] = $input->children('wps', TRUE)->Data->LiteralData;
|
|
|
+ $identifier = new SimpleXMLElement($content);
|
|
|
+ if(isset($identifier->children('ows', TRUE)->Identifier)) {
|
|
|
+ $funcName = ($identifier->children('ows', TRUE)->Identifier);
|
|
|
+ print_r($funcName);
|
|
|
+
|
|
|
+ if ($content != FALSE) {
|
|
|
+ $xml = new SimpleXmlElement($content);
|
|
|
+ foreach($xml->children('wps', TRUE)->DataInputs->children('wps', TRUE) as $input) {
|
|
|
+ if(isset($input->children('wps', TRUE)->Data->ComplexData)) {
|
|
|
+ $table[] = $input->children('wps', TRUE)->Data->ComplexData;
|
|
|
+ } else if(isset($input->children('wps', TRUE)->Data->LiteralData)) {
|
|
|
+ $table[] = $input->children('wps', TRUE)->Data->LiteralData;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ foreach($table as $value) {
|
|
|
+ echo($value);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- foreach($table as $value) {
|
|
|
- echo($value);
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
public function getCapabilitiesAction() {
|