Select to view content in your preferred language

ArcGIS Server Search CSW Profile for federated search

3155
0
03-04-2013 04:08 PM
ChristianHetmank
Deactivated User
Hello everyone.

I am trying to set up a federated search in Geoportal 1.2.2 to an ArcGIS Server 10.1 Search Service and hope someone can help me, as I've encountered some problems.

If I understand correctly, I need to register a CSW resource on GPT using the appropriate CSW profile.
By default the ArcGIS Server Search profile is not available.

Under ??????geoportal\WEB-INF\classes\gpt\search\profiles??? I found the ???GptXslSearchProfiles.xml???, which seems to contain a CSW profile for an AGS Search. This is how it looks

<GptProfile>
  <ID>urn:esri:gpt:HTTP:XML:ESRI:AGSSEARCH</ID>
  <Name>ArcGIS Server Search</Name>
  <GetRecords>
   <XSLTransformations>
        <Request expectedGptXmlOutput="FULL_NATIVE_GPTXML">
                OpenSearchXmlParams_1.0_GetRecords_Request.xslt
              </Request>
     <Response>
             AGSSearch_GetRecords_Response.xslt
           </Response>
   </XSLTransformations>
  </GetRecords>
  <GetRecordByID>
    <RequestKVPs><![CDATA[]]></RequestKVPs>
   <XSLTransformations>
    <Response>AGSSearch_GetRecordByID_Response.xslt</Response>
   </XSLTransformations>
  </GetRecordByID>
  <SupportSpatialQuery>True</SupportSpatialQuery>
  <SupportContentTypeQuery>True</SupportContentTypeQuery>
  <SupportSpatialResponse>True</SupportSpatialResponse>
  <Harvestable>False</Harvestable>
</GptProfile>

I copied the above into the CSWProfiles.xml, changing <GptProfile> to <Profile>.
The profile description was visible in Geoportal. At this point I wasn???t sure which URL I had to specify.

The SOAP of my AGS search service looks like this:
http://<myserver>/arcgis/services/Utilities/RepositorySearch/SearchServer

Specifying the SOAP returned an http status 400 error. I also tried
http://<myserver>/arcgis/services/Utilities/RepositorySearch?wsdl
Didn???t work either.

My questions are as follows:
1. Is my general approach correct?
2. In the above CSW profile the OpenSearchXmlParams_1.0_GetRecords_Request.xslt is referenced. Is this correct?   The  ??????geoportal\WEB-INF\classes\gpt\search\profiles??? folder also contains an ???AGSSearch_GetRecords_Request.xml???.
3. Would I have to put additional information into   <RequestKVPs><![CDATA[  ]]></RequestKVPs>?
4. Which Url do I need to specify when registering the resource in GPT 1.22?
5. Is there more detailed information on the web which might explain how this is done? I???ve searched the web extensively, but couldn???t find anything which referred to AGS Search csw profiles.

I would really appreciate it if someone could help me out.

Christian
0 Kudos
0 Replies