APIs for Search service

Post Author: prabhanjana
CA Forum: JAVA
Hi All,
Please let me know is there any APIs in java available for programming the search service of BO Enterprise Productivity Pack.
I have to develop the custom JSP search screen which should accept the inputs from user and calls the Search facility of BO.
Please help me in this regard.
Regards,
Prabhanjana

Post Author: Ted Ueda
CA Forum: JAVA
The search service uses a scheduled program to index contents on Enterprise, and another to search the index for matches to search requests.There currently are no public APIs for the Search Service.Sincerely,Ted Ueda

Similar Messages

  • Crawl log error in sharepoint 2013 for search services

    Dear Support,
    please find below mention crawl log error in sharepoint 2013 for search services.
    8,597 The server is unavailable and could not be accessed. The server is probably disconnected from the network. 
    423 This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration. You might also
    want to crawl this repository during off-peak usage times. 
    59 Processing this item failed because of a timeout when parsing its contents. 
    11 The filtering process has been terminated 
    4 SharePoint returned an empty response. 
    3 The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. 
    2 The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error. 
    would request your support for resolving this type of issue

    1. Are you able to browse the sites on SP server. server is unavailable means that application pool
    of that site is down. Check application pool on all server. if you start any application pool. make sure it does not stop few minutes later. you need to update password if it does stop
    2. Create a disable loopbackcheck of registry on all servers
    http://blogs.technet.com/b/sharepoint_foxhole/archive/2010/06/21/disableloopbackcheck-lets-do-it-the-right-way.aspx
    http://support.microsoft.com/kb/926642/en-us
    3. Create a new search service application and check if you face same issue.
    4. I assume you have change some password or other setting when you started facing this issue. what changes were made in environment
    If this helped you resolve your issue, please mark it Answered

  • Image not displayed in pdf generated using Java API for Forms service

    Hi,
    I am creating a pdf document using Java API for Forms Service.
    I am able to generate the pdf but the images are not visible in the generated pdf.
    The image relative path is coming in the xml as defined below. The images are stored dynamically in the Livecycle repository each time a request is fired with unique name before the xml is generated.
    <imageURI xfa:contentType="image/png" href="../Images/logo.png"></imageURI>
    Not sure if I need to specify specify specific URI values that are required to render a form with image.
    The same thing is working when I generate pdf document using Java API for Output Service.
    As, I need to generate interactive form, I have to use Forms service to generate pdfs.
    Any help will be highly appreciated.
    Thanks.

    Below is the code snippet:
                //Create a FormsServiceClient object
                FormsServiceClient formsClient = new FormsServiceClient(myFactory);
                //Specify URI values that are required to render a form
                URLSpec uriValues = new URLSpec();
                                  // Template location contains the whole rpository path for the form
                uriValues.setContentRootURI(templateLocation);
               // The base URL where form resources such as images and scripts are located.  Whole Image path is passed in BaseUrl in the http format.
                      String baseLocation = repositoryPath.concat(serviceName).concat(imagesPath);   
                                  uriValues.setBaseURL(baseLocation);                                        
                // Set run-time options using a PDFFormRenderSpec instance
                PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
                pdfFormRenderSpec.setCacheEnabled(new Boolean(true));           
                pdfFormRenderSpec.setAcrobatVersion(com.adobe.livecycle.formsservice.client.AcrobatVersio n.Acrobat_8);
                                  //Invoke the renderPDFForm method and write the
                //results to a client web browser
                String tempTemplateName =templateName;
                FormsResult formOut = formsClient.renderPDFForm(tempTemplateName,
                                              inXMDataTransformed,pdfFormRenderSpec,uriValues,null);
                //Create a Document object that stores form data
                Document outputDocument = formOut.getOutputContent();
                InputStream inputStream = outputDocument.getInputStream();

  • API for search profile options-R12.

    Is there any API for searching profile options? (R12)
    Using ibe_customer as the default responsibility.How to filter profile option search using organization , responsibility and different access level?
    Edited by: Ep on Aug 29, 2012 11:57 PM
    Edited by: Ep on Aug 29, 2012 11:58 PM

    hi ,
    You can search the table that profiles options are saved,Using the application id in that table ,you have query it....

  • Best practices for search service in a sharepont farm

    Hi
    in a sharepoint web application there is many BI dashboards are deployed and also we have plan to
    configure enterprise search  for this application.
    in our sharepoint 2010 farm we have
    2  application server s
    2 WFE servers
    here one application server is running
    c.a + webanalytics service and itself is a domain controller
    second application server is for only running secure store service+ Performance point service only
    1 - here if we  run search server service in second application server can any issues to BI performance and
    2 - its best practice to run Performance point service and search service in one server
    3 -also is it  best practice to run search service in a such a application server where already other services running
    and where we have only one share point web application need to be crawled and indexed with  below crawl schedule.
    here we only run full crawl per week and incremental crawl at midnight daily
    adil

    Hi adil,                      
    Based on your description, you want to know the best practices for search service in a SharePoint farm.
    Different farms have different search topologies, for the best search performance, I recommend that you follow the guidance for small, medium, and large farms.
    The article is about the guidance for different farms. 
    Search service can run with other services in the same server, if condition permits and you want to have better performance for search service and other services including BI performance, you can deploy search service in dedicated server.
    If condition permits, I recommend combining a query component with a front-end Web server to avoid putting crawl components and query components on the same serve.
    In your SharePoint farm, you can deploy the query components in a WFE server and the crawl components in an application server.
    The articles below describe the best practices for enterprise search.
    https://technet.microsoft.com/en-us/library/cc850696(v=office.14).aspx
    https://technet.microsoft.com/en-us/library/cc560988(v=office.14).aspx
    Best regards      
    Sara Fan
    TechNet Community Support

  • Search API for searching Business Objects in SAP R/3

    Hi All,
    As per my requirement i need to search Business Objects from a third party application by writing some java code.
    I know only JCO which is useful for to establish a connection from Java to SAP Server and execute the RFC's or BAPI's which are reside in SAP Server.
    Can any one help me, it is possible or not to search Business Objects in SAP for example Master Data( Like Employee, Vendor, Customer-) or Transactional Data ( like Sales Order, Purchase Order--), in case if it is possible any Search API is there to use on SAP System and what are the Prerequisites and the Feasibilty.
    Its urgent---PLZ help me how to resolve this issue
    Thanks in ADV
    Regds
    Rajesh

    Hi,
    Good evening and greetings,
    Please go through the following link
    http://help.sap.com/saphelp_erp2004/helpdata/en/0d/afb8f627878b4fa71ac79508f2358a/frameset.htm
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Javascript API for searching component

    Hello,
    I want to search component hierarchy in Java Screen start from AdfRichForm. Is there any java script API available that will give me children of a AdfComponent? We can use AdfPage.PAGE.findComponent(Id) or similar API. But that require Ids to be know. I want to look for component by looking at component hierarchy.
    In Java, we can use ViewRoot object to look for component structure. How to do this in java script?
    - Sujay
    Edited by: Sujay Patil on May 4, 2012 3:15 PM

    I am mainly trying to do this for Popup in my application. I have different links in my application, on click of them I am opening ADF popup with inlineFrame. I am opening the URL associated with the link in these inlineFrame. Till now I was using hard-coded height and width. But now I am planning to populate them using Java script. I did manage to implement my logic. By now popup is not showing at the center of the page. I am calculating the size in Java script based on screen sizes before calling show method.
    I think no one has able to make the af:popup in the center of the page.
    I tried "hint" property but it aligns the popup with the component. I want to show it in center of the page.
    I think I have deviated from my initial problem.

  • Documentation on APIs for the Service Contracts.

    Hi,
    Can anyone please, point out some documentation for the Public APIs provided under the Service Contracts for R12.
    Though I can look at the source code of the APIs, I cannot figure out what parameter is used for what, due to lack of proper comments in the PL/SQL code.
    Any pointers would be of great help.
    Thanks in Advance,
    Vijay

    Please review the following notes/docs, it may be helpful:
    Note: 421170.1 - R12 Oracle Service Contracts And Integration Repository Access
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=421170.1
    Oracle Integration Repository User's Guide
    http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120irepug.pdf

  • Java API for Web Services

    I have a .NET web service and want to make a JAVA API to communicate with the .NET webservice. Is there an easy API that will deal with the SOAP packaging and accomplish the communication for me?

    I'm not sure If I understand you question, but you should be able to take the WSDL description of the .NET web service, point your favorite java development environment at it (either locally or via a URL) and say generate me a WS client for that.
    Most environments include this as one of their tutorials.
    There are also command line tools.
    -- Frank

  • How to use standard APIs for customized services

    Hello,
    I try to use IUserMappingService which has some hard coded paths to services (user mapping service). However sys admin customized the services location and it's impossible to use standard SAP libraries. For example, the standard library has a path:  "com/sapportals/portal/prt/service/usermapping", but a customized path is "com/sap/portal/pdk/srv/usermapping". When I run this iView, I am getting a message: Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/prt/service/usermapping/IUserMappingService
    Please advise.
    Thanks,
    Yan

    I guess i know what the problem is. How have you given a reference to the UM service in the portalapps.xml file ??
    I think you would have given the reference as "UserMapping". Now the PRT will look for this particular service and in the portalapps.xml of this service the ClassName would be defined as com.sapportals.portal.prt.service.UserMapping, which the PRT is not able to find.
    You can try giving the FQN in the service reference, but i doubt it will work because the PRT will still look for the above class name at the predefined location.
    Regards, Akhilesh

  • Set up Search Service App For SharePoint server 2013 on Windows server 2012 R2 not working

    Hi all,
    I installed SharePoint server 2013 on Windows  server 2012 R2 using VirtualBox.  I created a DC(domain controller) server with a domain set up on one VM and it has SQL server 2012 SP1 installed. Then SharePoint 2013 on another VM was set up to access
    the DC server.  Everything seems working except Search Service App which cannot be sucessfully set up. Creation process for Search service app says Successful and 4 search databases were created and look fine. But when I navigate to search service app
    admin page, it gives error info:
    System status:  The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '386f2cd6-47ca-4b3a-aeb5-d9116772ef16' in search application 'Search Service Application 1' is in
    a good state and try again.
    Search Application Topology:  Unable to retrieve topology component health states. This may be because the admin component is not up and running.
    From event viewer, I see following errors:
    (1) Error From source: SharePoint Server
    Application Server Administration job failed for service instance  Microsoft.Office.Server.Search.Administration.SearchServiceInstance
    (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name.  
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name.  
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean
    isAdministrationServiceJob)
    (2) Error From source: SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application '386f2cd6-47ca-4b3a-aeb5-d9116772ef16'
    (3) Warning from source: SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message:
    Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2    at
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (4) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance
    (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded.  
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0xC0041235): The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have
    been upgraded.  
    Since separate DC server and SharePoint server do not work, I installed SharePoint 2013 on DC server ( so DC server has everything on it now ) but it gives exactly same result. Later I installed SharePoint 2013 SP1 and still have the same problem with Search
    Service app. I spent two weeks tried all suggestions available from Web and Google but SharePoint Search Service simply does not work. Config and other databases work but why Search Service has this issue seemingly related to search DB.
    Could anybody please help out? You deserve a top SharePoint consultant award if you could find a solution. I am so frustrated and so tired by this issue.    This seems also to be a SP set up issue.
    Thanks a lot.

    Using new Search Service App wizard to create SSA is always a success. I could delete existing SSA and recreate it and no problem. It says successful but when I open Search Admin page from CA, it gives me errors as mentioned.
    Now I used the following PS script for creating SSA from Max Mercher, but it stays at the last setps in following script:
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $IndexLocation = "C:\Search"  #Location must be empty, will be deleted during the process!
    $SearchAppPoolName = "SSAPool"
    $SearchAppPoolAccountName = "mydomain\admin"
    $SearchServiceName = "SSA"
    $SearchServiceProxyName = "SSA Proxy"
    $DatabaseServer = "W12R2DC1"
    $DatabaseName = "SSA"
    $spAppPool = Get-SPServiceApplicationPool -Identity $SearchAppPoolName -ErrorAction SilentlyContinue
    if (!$spAppPool)
     $spAppPool = New-SPServiceApplicationPool -Name $SearchAppPoolName -Account $SearchAppPoolAccountName -Verbose
    $ServiceApplication = Get-SPEnterpriseSearchServiceApplication -Identity $SearchServiceName -ErrorAction SilentlyContinue
    if (!$ServiceApplication)
    # process stays at the following step forever, already one hour now.  
    $ServiceApplication = New-SPEnterpriseSearchServiceApplication -Name $SearchServiceName -ApplicationPool $spAppPool.Name -DatabaseServer  $DatabaseServer -DatabaseName $DatabaseName
    Account mydomain\admin is an farm managed account, domain admin account, in WG_ADMIN role, It is in all SQL server roles and is DBO. I see search DBs are already on SQL server. From Event viewer, I got following errors in sequence:
    (1) Crawler:Content Plugin under source Crawler:Content Plugin 
    Content Plugin can not be initialized - list of CSS addresses is not set.
    (2) Warning for SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message: Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2   
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (3) Error for SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application 'cbc5a055-996b-44a7-9cbc-404322f9cfdf'
    (4) Error for SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded. 
    (5) Error Shared Services for SharePoint Server Search 
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name. 
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob
    Above errors keep being generated. Last step for SSA creation stay there forever.  Any clue what is really going on?  Thanks.

  • What the correct URL for searching on KM Index

    I have an application that supposed to mimics a KM search over TREX Index.
    When Pressing the button "search" I operate the following url:
    <i>"/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=ctrlpers&QueryString="str"&SelectedSearchIndices="+ Index</i>
    The var "str" stands for the input field (the search Item)
    The var "Index" stands for the Index.
    It doesn't work!
    What am I doing wrong?
    Thanks,
    Meytal.

    Hi,
    If you need a search in TREX index you can try use a portal API  for search.
    See this example <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaver-developers-guide-2004s/NetWeaverDevelopersGuide2004s_Documents/KM_articles_new/examples/com.sap.netweaver.kmc.search_servlet.zip">https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaver-developers-guide-2004s/NetWeaverDevelopersGuide2004s_Documents/KM_articles_new/examples/com.sap.netweaver.kmc.search_servlet.zip</a>
    It is an example of search in exact index:
                             // get an instance of the indexmanagement service
                             IIndexService indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
                             // build a query object, using the SearchQueryBuilder
                             SearchQueryListBuilder sqb = new SearchQueryListBuilder();
                             sqb.setSearchTerm(query);
                             IQueryEntryList qel = sqb.buildSearchQueryList();
                             // get an instance of federated search
                             IFederatedSearch federatedSearch = (IFederatedSearch) indexService.getObjectInstance(IWcmIndexConst.FEDERATED_SEARCH_INSTANCE);
                             List indexList = new ArrayList();
                             if (index!=null && index.length()>0) {
                                  // take a specified index from index= parameter
                                  indexList.add(indexService.getIndex(index));
                             } else {
                                  // take all available indexes
                                  indexList = indexService.getActiveIndexes();     
                             // it is recommended to use a search session object
                             // for searching execution
                             ISearchSession session = null;
                             if (session==null)
                                  session = federatedSearch.searchWithSession(qel, indexList, c);
                             this.renderResultHeader(response, session, indexList);
                             // get all results from the search session
                             ISearchResultList results = session.getSearchResults(1, session.getTotalNumberResultKeys());
                             this.renderResultList(response, results);
    You can use this code when you press you "search" button and render the result.
    Regards,
    Andrei

  • SharePoint server 2013 Search Service App on Windows server 2012 R2 not working

    Hi all,
    I installed SharePoint server 2013 on Windows  server 2012 R2 using VirtualBox.  I created a DC(domain controller) server with a domain set up on one VM and it has SQL server 2012 SP1 installed. Then SharePoint 2013 on another VM
    was set up to access the DC server.  Everything seems working except Search Service App which cannot be sucessfully set up. Creation process for Search service app says Successful and 4 search databases were created and look fine. But when I navigate
    to search service app admin page, it gives error info:
    System status:  The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '386f2cd6-47ca-4b3a-aeb5-d9116772ef16' in search application 'Search Service Application 1' is
    in a good state and try again.
    Search Application Topology:  Unable to retrieve topology component health states. This may be because the admin component is not up and running.
    From event viewer, I see following errors:
    (1) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name. 
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
    (2) Error From source: SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application '386f2cd6-47ca-4b3a-aeb5-d9116772ef16'
    (3) Warning from source: SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message: Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2   
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (4) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0xC0041235): The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have
    been upgraded. 
    Since separate DC server and SharePoint server do not work, I installed SharePoint 2013 on DC server ( so DC server has everything on it now ) but it gives exactly same result. Later I installed SharePoint 2013 SP1 and still have the same problem
    with Search Service app. I spent two weeks tried all suggestions available from Web and Google but SharePoint Search Service simply does not work. Config and other databases work but why Search Service has this issue seemingly related to search DB.
    Could anybody please help out? You deserve a top SharePoint consultant award if you could find a solution. I am so frustrated and so tired by this issue.    
    Thanks a lot.

    Hi,
    According to your post, my understanding is that  SharePoint server 2013 Search Service App did not work on Windows server 2012 R2.
    Please make sure you configure Search Service Application correctly. You can refer to:Create and configure a Search service application in SharePoint Server 2013
    I recommend to created new Search Service Application, and made a full crawl. Then assigned the new SSA as the default SSA for webapplications. Finnlay checked  the issue doesnt occur now,
    If all search related components now are online, to keep the enviroonment clean, you can delete the old SSA.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Sharepoint full farm backup generates sql logs for search application differential backups

    We are running full farm backups for sharepoint. Backup completes normally but SQL logs are generated for differential backups for search service application.
    it says something like:
    Database differential changes were backed up: database: search_serv.......
    Thanks,
    Basit

    This can happen for a few reasons, such as is disk contention or network issues. Are you backing up to a shared directory on the SQL Server? If not, try that.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Connect to a remote farm for search is giving error

    Hi,
       at the end of publishing search service getting error while trying to connect to the remote publishing farm
    $SearchName = "SearchServiceApplication_on_xxxx_Farm_publishing"
    $PublishingFarmTopology = "https://xxxxxx:32844/Topology/topology.svc"
    $ConsumedServiceApplicationName = "Connection to: APP-PROD"+$SearchName
    # Consume Search Service Application
    $PublishedServices = Receive-SPServiceApplicationConnectionInfo -FarmUrl $PublishingFarmTopology
    # Get Publishing URL for Search Service Application
    $SearchService = ($PublishedServices | ForEach-Object {$_ | where {$_.SupportingProxy -eq "SearchServiceApplicationProxy" -AND $_.Displayname -eq $SearchName }}).Uri.ToString()
    # Connect to Search Service Application
    New-SPEnterpriseSearchServiceApplicationProxy -Name $ConsumedServiceApplicationName -Uri $SearchService
    Getting error for $PublishedServices = Receive-SPServiceApplicationConnectionInfo -FarmUrl $PublishingFarmTopology

    It looks like you mixed up the farms. This is how to do it
    On Consuming farm: export root and STS cert
    On Publishing farm: export root cert
    On Consuming farm: import publishing farm root cert
    On Publishing farm: import consuming farm root and STS cert
    On Publishing farm: set permissions on topology service using Consuming farm id
    On Publishing farm: publish the SA
    On Publishing farm: set permissions on the published SA
    On Consuming farm: consume the SA
    And you don't need any specific certificates - SharePoint has its own certificate store.
    http://sharepoint.stackexchange.com/questions/26039/trust-issues-with-topology-svc-when-publishing-service-applications-in-lab-envir
    http://social.technet.microsoft.com/Forums/en-US/11714821-73e0-4fde-bc58-89ca2ae7cd09/trust-issues-with-topologysvc-when-publishing-service-applications-in-lab-environment?forum=sharepointgeneralprevious

Maybe you are looking for

  • Embedded Legend in JSP file

    I would like to embed my legend within my map request. I can display the legend on my page within a Table Row, but I would prefer it located inthe Southwest corner of my map image. Can this be done? I have seen it in XML done this way. Here is my leg

  • Exporting JPEGs from InDesign CS4

    I've exported jpegs from InDesign CS4 for years and each time I get an Export JPEG dialog box that gives me the option to adjust the resolution. Suddenly, when I export to JPEG, I get no dialog box and it automatically creates a JPEG at 300 dpi. I've

  • Mail badge for custom folder

    I am running OS X Lion 10.7.2. I have configured my iCloud mail ID with the Mail app. I am also having my Gmail forwarded to my iCloud mail ID, and thanks to a rule I created in the web interface for iCloud mail, all mail being forwarded from Gmail l

  • Add movies to iPad over WiFi that are already purchased

    Hi - I am considering whether to purchase a 16gb or 32gb. I do not plan on have more than 4 HD movies on the device at a time, with a dozen or so plus apps, and a few books(mostly Kindle books). I was wondering if it is possible to download movies fr

  • Missing Songs Using Itunes 7 Backup/Restore Feature

    Using iTunes 7 for Windows Backup feature (File->Backup to Disc...) I backed up my entire iTunes library to DVDs. I then used the "restore" feature to duplicate my library on a second computer. iTunes said it completely "restored" my library, but I h