Callejero de la sede electrónica del catastro.
Pulse aquí para ver la lista completa de servicios.
ConsultaProvincia
Proporciona un listado de todas las provincias españolas en las que tiene competencia la Dirección general del Catastro.
Parámetros de entrada.
Formato de salida
<control> CABECERA
<cuprov>NÚMERO DE ITEMS DEVUELTOS EN LA LISTA PROVINCIAS</cuprov>
</control>
<provinciero> LISTA DE PROVINCIAS
<prov> PROVINCIA
<cpine>CÓDIGO INE DE LA PROVINCIA</cpine>
<np>NOMBRE DE LA PROVINCIA</np>
</prov>
...
</provinciero>
Prueba
Para Probar la operación usando el protocolo HTTP POST, pinche en el boton 'Invocar'.SOAP
Lo siguiente es un ejemplo genérico tanto de petición como respuesta SOAP. las marcas mostradas necesitan ser sustituidas por valores reales.
POST /ovcservweb/OVCSWLocalizacionRC/OVCCallejero.asmx HTTP/1.1 Host: ovc.catastro.meh.es Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/OVCServWeb/OVCCallejero/ConsultaProvincia" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body /> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Provincias xmlns="http://www.catastro.meh.es/">xml</Provincias> </soap:Body> </soap:Envelope>
HTTP GET
Lo siguiente es un ejemplo genérico tanto de petición como respuesta HTTP GET. las marcas mostradas necesitan ser sustituidas por valores reales.
GET /ovcservweb/OVCSWLocalizacionRC/OVCCallejero.asmx/ConsultaProvincia? HTTP/1.1 Host: ovc.catastro.meh.es
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0"?> xml
HTTP POST
Lo siguiente es un ejemplo genérico tanto de petición como respuesta HTTP POST. las marcas mostradas necesitan ser sustituidas por valores reales.
POST /ovcservweb/OVCSWLocalizacionRC/OVCCallejero.asmx/ConsultaProvincia HTTP/1.1 Host: ovc.catastro.meh.es Content-Type: application/x-www-form-urlencoded Content-Length: length
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0"?> xml
Encontrará documentación más detallada de todos los servicios en la dirección: http://www.catastro.meh.es/ayuda/lang/castellano/servicios_web.htm