Advertisement
Guest User

pyCSW insert ServiceMetadata

a guest
May 29th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.77 KB | None | 0 0
  1.  
  2. Wed, 29 May 13 11:08:46 +0200
  3. <?xml version="1.0" encoding="UTF-8"?>
  4. <csw:Transaction xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd" service="CSW" version="2.0.2">
  5. <csw:Insert>
  6.     <gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink">
  7.     <gmd:fileIdentifier>
  8.         <gco:CharacterString>d80fad5b-90ed-4e1f-af3e-a084978224aa</gco:CharacterString>
  9.     </gmd:fileIdentifier>
  10.     <gmd:dateStamp>
  11.         <gco:Date>2013-05-24</gco:Date>
  12.     </gmd:dateStamp>
  13.     <gmd:language>
  14.         <gco:CharacterString>en</gco:CharacterString>
  15.     </gmd:language>
  16.     <gmd:hierarchyLevel>
  17.         <gmd:MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_ScopeCode" codeListValue="service"/>
  18.     </gmd:hierarchyLevel>
  19.     <gmd:contact>
  20.         <gmd:CI_ResponsibleParty>
  21.             <gmd:individualName>
  22.                 <gco:CharacterString>Dr. Axel Mueller</gco:CharacterString>
  23.             </gmd:individualName>
  24.             <gmd:organisationName>
  25.                 <gco:CharacterString>Universitaet zu Koeln</gco:CharacterString>
  26.             </gmd:organisationName>
  27.             <gmd:positionName>
  28.                 <gco:CharacterString>Student Research Assistant</gco:CharacterString>
  29.             </gmd:positionName>
  30.             <gmd:role>
  31.                 <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/codeList.xml#CI_RoleCode" codeListValue=""/>
  32.             </gmd:role>
  33.             <gmd:contactInfo>
  34.                 <gmd:CI_Contact>
  35.                     <gmd:phone>
  36.                         <gmd:CI_Telephone>
  37.                             <gmd:voice>
  38.                                 <gco:CharacterString>0222939302</gco:CharacterString>
  39.                             </gmd:voice>
  40.                             <gmd:facsimile>
  41.                                 <gco:CharacterString>02223340403</gco:CharacterString>
  42.                             </gmd:facsimile>
  43.                         </gmd:CI_Telephone>
  44.                     </gmd:phone>
  45.                     <gmd:address>
  46.                         <gmd:CI_Address>
  47.                             <gmd:deliveryPoint>
  48.                                 <gco:CharacterString>Hoeherweg 2</gco:CharacterString>
  49.                             </gmd:deliveryPoint>
  50.                             <gmd:city>
  51.                                 <gco:CharacterString>Cologne</gco:CharacterString>
  52.                             </gmd:city>
  53.                             <gmd:postalCode>
  54.                                 <gco:CharacterString>50655</gco:CharacterString>
  55.                             </gmd:postalCode>
  56.                             <gmd:country>
  57.                                 <gco:CharacterString>Germany</gco:CharacterString>
  58.                             </gmd:country>
  59.                             <gmd:electronicMailAddress>
  60.                                 <gco:CharacterString>axelrose@web.de</gco:CharacterString>
  61.                             </gmd:electronicMailAddress>
  62.                         </gmd:CI_Address>
  63.                     </gmd:address>
  64.                 </gmd:CI_Contact>
  65.             </gmd:contactInfo>
  66.         </gmd:CI_ResponsibleParty>
  67.     </gmd:contact>
  68.     <gmd:identificationInfo>
  69.         <srv:SV_ServiceIdentification xmlns:srv="http://www.isotc211.org/2005/srv">
  70.         <abstract>
  71.             <gco:CharacterString/>
  72.         </abstract>
  73.         <purpose>
  74.             <gco:CharacterString/>
  75.         </purpose>
  76.         <citation>
  77.             <gmd:CI_Citation xmlns:gmd="http://www.isotc211.org/2005/gmd">
  78.             <gmd:title>
  79.                 <gco:CharacterString>service test 2</gco:CharacterString>
  80.             </gmd:title>
  81.             <gmd:date>
  82.                 <gmd:CI_Date>
  83.                     <gmd:date>
  84.                         <gco:Date>2013-05-24</gco:Date>
  85.                     </gmd:date>
  86.                     <gmd:dateType>
  87.                         <gmd:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/codeList.xml#CI_DateTypeCode" codeListValue=""/>
  88.                     </gmd:dateType>
  89.                 </gmd:CI_Date>
  90.             </gmd:date>
  91.         </gmd:CI_Citation>
  92.     </citation>
  93.     <srv:serviceType>
  94.         <gco:LocalName>WMS</gco:LocalName>
  95.     </srv:serviceType>
  96.     <srv:serviceTypeVersion>
  97.         <gco:CharacterString>2.0.2</gco:CharacterString>
  98.     </srv:serviceTypeVersion>
  99.     <extent>
  100.         <gmd:EX_Extent xmlns:gmd="http://www.isotc211.org/2005/gmd">
  101.         <gmd:geographicElement>
  102.             <gmd:EX_GeographicBoundingBox>
  103.                 <gmd:westBoundLongitude>
  104.                     <gco:Decimal/>
  105.                 </gmd:westBoundLongitude>
  106.                 <gmd:eastBoundLongitude>
  107.                     <gco:Decimal/>
  108.                 </gmd:eastBoundLongitude>
  109.                 <gmd:southBoundLongitude>
  110.                     <gco:Decimal/>
  111.                 </gmd:southBoundLongitude>
  112.                 <gmd:northBoundLongitude>
  113.                     <gco:Decimal/>
  114.                 </gmd:northBoundLongitude>
  115.             </gmd:EX_GeographicBoundingBox>
  116.         </gmd:geographicElement>
  117.     </gmd:EX_Extent>
  118. </extent>
  119. <srv:containsOperations>
  120.     <srv:SV_OperationMetadata xmlns:gmd="http://www.isotc211.org/2005/gmd">
  121.     <srv:operationName>
  122.         <gco:CharacterString>GetCapabilities</gco:CharacterString>
  123.     </srv:operationName>
  124.     <srv:connectPoint>
  125.         <gmd:CI_OnlineResource xmlns:gmd="http://www.isotc211.org/2005/gmd">
  126.         <gmd:linkage>
  127.             <URL>http://sfb806srv.uni-koeln.de/srtm?SERVICE=WMS</URL>
  128.         </gmd:linkage>
  129.     </gmd:CI_OnlineResource>
  130. </srv:connectPoint>
  131. </srv:SV_OperationMetadata>
  132. </srv:containsOperations>
  133. <descriptiveKeywords>
  134.     <gmd:MD_Keywords xmlns:gmd="http://www.isotc211.org/2005/gmd">
  135.     <gmd:keyword>
  136.         <gco:CharacterString/>
  137.     </gmd:keyword>
  138. </gmd:MD_Keywords>
  139. </descriptiveKeywords>
  140. </srv:SV_ServiceIdentification>
  141. </gmd:identificationInfo>
  142. </gmd:MD_Metadata>
  143. </csw:Insert>
  144. </csw:Transaction>
  145.  
  146.  
  147. Wed, 29 May 13 11:08:46 +0200 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  148. <!-- pycsw 1.5-dev -->
  149. <ows:ExceptionReport xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dct="http://purl.org/dc/terms/" xmlns:ows="http://www.opengis.net/ows" xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:dif="http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:ogc="http://www.opengis.net/ogc" xmlns:fgdc="http://www.opengis.net/cat/csw/csdgm" xmlns:inspire_ds="http://inspire.ec.europa.eu/schemas/inspire_ds/1.0" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:os="http://a9.com/-/spec/opensearch/1.1/" xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
  150. <ows:Exception locator="insert" exceptionCode="NoApplicableCode">
  151.     <ows:ExceptionText>Transaction (insert) failed: record parsing failed: 'MD_DataIdentification' object has no attribute 'temporalextent_start'</ows:ExceptionText>
  152. </ows:Exception>
  153. </ows:ExceptionReport>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement