Marek Strzała hace 11 años
padre
commit
fd66dbc75d
Se han modificado 1 ficheros con 7 adiciones y 8 borrados
  1. 7 8
      SE/superedit-OPEN_LAYERS_WPS.php

+ 7 - 8
SE/superedit-OPEN_LAYERS_WPS.php

@@ -790,7 +790,7 @@ if ('WPS' == V::get('SERVICE', '', $_GET)) {
 	$req = V::get('REQUEST', '', $_GET);
 	$methodName = "request{$req}";
 	echo($methodName);
-	if (method_exists($wfsSService, $methodName)) {
+	if (method_exists($WFSService, $methodName)) {
 	//	$wfsSService->$methodName();
 	} else {
 		// err
@@ -798,21 +798,20 @@ if ('WPS' == V::get('SERVICE', '', $_GET)) {
 }
 else {
 	$entityBody = file_get_contents('php://input');
-	//echo "3";
 	if (!empty($entityBody)) {
-		$xml = new DOMDocument();
+		$xml = new DOMDocument("1.1.0","UTF-8");
 		$xml->loadXML($entityBody);
 		//print_r($xml);
 		$locationNode = $xml->getElementsByTagNameNS("http://www.opengis.net/wps/1.0.0","ComplexData");
 		//print_r($locationNode);
 		$location = $locationNode[0];
-		echo $location;
-		//echo $entityBody;
-	//	echo ("22233");
+		//print_r($location);
+		
+		echo "Powinno dzialac";
 	//	echo($location[0]);
 	//print_r();
-		// parse xml
-	//	$wfsSService->parseXmlPostRequest($entityBody);
+
+	
 	}
 }