Access Display Profile from external application

Hi,
I'm trying to get an external servlet to edit channel properties in the DisplayProfile of a user through the DSAME SSO api.
The only way I see how to do this is to retrieve the full xml document from DSAME. But when I feed this document to xerces 1.4.4 the DOMParser is unable to create a DOM out of it becaust the file "jar://resources/psdp.dtd" could not be found. I tried turning off all sorts of validation features. This would not help.
Is there some otherway to update the properties of a channel for a user, making use of the DSAME api?

You can create the xml to modify the channel (look at the 817-5319 Developer's guide, code sample 8-3)and then run the "/opt/SUNWps/bin/dpadmin add|modify ..." to update the channel, you can run that command from java using the method RunTime.exec (String command)... read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html for information of that method.

Similar Messages

  • How to access ucm table from external application?

    Hi All.
    Is it possible to access an ucm table (configuration manager-> tables) from of the other external application?
    If yes, how to do it?
    Regards,
    Diovani

    It's just another DB table so JDBC would work fine.
    You can connect to the UCM schema using a free tool like Oracle SQLDeveloper and look at the tables this alos uses a JDBC connection.
    HOWEVER
    I would not really recommend you use this approach without knowing a lot more. Certainly you should not have an external application making changes to the UCM DB. If you just want to read data SQL over JDBC is fine
    BUT
    It is better really to use the existing UCM services to access the data - if there is not a service that does what you want then you create it. This keeps you within the same design pattern of UCM and means you can continue to benefit from security and other rich services that UCM provides over and obove JDBC
    Tim

  • Access weblogic roles from external application

    Hi all. In my scenario, the user and roles are stored in the WebLogic server. Then, there is an external application (not deployed on this WebLogic server) which needs to access these users/roles. Can someone tell me if there is an API provided by WebLogic through which the external application can access them? A sample code/documentation link for this would be icing on the cake.
    Thanks for reading this post.
    Vishal Singh.

    The embedded LDAP server that comes with WLS is not intended to be used by other applications and scale up to a large amount of users. Oracle recommends using an enterprise class identity management solution for use cases like that such as Oracle Internet Directory or Oracle Directory Server Enterprise Edition.
    However, if you want to see how to embedded LDAP, this link shows you how to use a standard LDAP browser:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13707/ldap.htm#i1102166
    So by using a Java LDAP api with the settings as described in the docs, your external app may be able to access users/roles.
    I think you can find WLST examples for that somewhere too.

  • Access labview controls from external application

    Hi! There's an application written in LabView that shows dialog messages with buttons and textboxes. I'm writing a C# application that automatically fills these textboxes and clicks on buttons. I'm using user32.dll functions to find windows and controls, but at Labview's windows I cannot see any controls inside(with spy++ and ui spy). Is there a way to access these controls using other DLL files or sending special messages to the main window?
    Tnahks for your help!

    taj1989 wrote:
    Hi! There's an application written in LabView that shows dialog messages with buttons and textboxes. I'm writing a C# application that automatically fills these textboxes and clicks on buttons. I'm using user32.dll functions to find windows and controls, but at Labview's windows I cannot see any controls inside(with spy++ and ui spy). Is there a way to access these controls using other DLL files or sending special messages to the main window?
    Tnahks for your help!
    LabVIEW does not use Windows controls in its frontpanel, as that would not be portable to non-Windows platforms. So there is no way to do classical Windows handles peek and friends. But LabVIEW allows to control a subset of its VI Server interface through ActiveX.
    The application needs to be build with that in mind, and there need to be some settings in the INI file to configure this functionality. Then you can connect to the LabVIEW ActiveX Server and control VIs and also controls to some extend.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to read xml reports from external application

    Hi All,
    I want to generate reports from SIEBEL Database and access those reports from external application(like BlackBerry application). I have gone through by some blogs and found that we can access the generated reports from an external application using the URL.
    When I use this URL on browser it gives me the xml file of the report. But I am unable to read this file from the Blackberry application.
    Thanks in advance

    Hi Angha,
    I want to invoke other portal application from my application.
    Portal URL's also get changed from one system to Other. Prototype Portal->Development Portal -> Quality Portal->Production Portal>
    All the above Portal URL will be different.
    I want trigger another application dynamically.
    Thx & Rgds
    AW

  • URL based portlet from external application

    Hello,
    I'm trying to integrate a forms 6i patch 10 application into SSO.
    First, I created an external application, passing it the correct parameters.
    Everything went ok, and I can successfully call it by entering
    "Administer Enternal Application" link on Oracle Portal.
    Now I want to make a portlet from this external application. For that I'm
    using PDK URL Services. So I reused the urlexternalauth provider which is
    included in the latest PDK. The provider.xml is included below. I successfully
    registered the provider, by following the wizard "Register Portlet Provider" on
    Oracle Portal. But when I call the portlet, the html startup file for the form
    is base.htm. When I call the external application through the "Administer Enternal Application" link,
    I get the right html startup file, which is basejini.htm.
    So I need basejini.htm called from the portlet, and not base.htm.
    Thanks,
    Andri.
    provider.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>username</userFieldName>
              <userPwdName>password</userPwdName>
              <errorPageMessages>Error Message!</errorPageMessages>
         </authentication>
         <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
              <httpProxyHost>proxy.br.odebrecht.com</httpProxyHost>
              <httpProxyPort>8080</httpProxyPort>
         </proxyInfo>
    <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
    <id>1</id>
    <name>iCorporate</name>
    <title>iCorporate</title>
    <description>iCorporate - aplicacao Forms6i</description>
    <timeout>100</timeout>
    <timeoutMessage>iCorporate time out</timeoutMessage>
    <acceptContentType>text/html</acceptContentType>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <passAllUrlParams>true</passAllUrlParams>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>config</name>
    <displayName>config</displayName>
    <value>icorp</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>database</name>
    <displayName>database</displayName>
    <value>server1</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <contentType>text/html</contentType>
    <pageUrl>http://server1.rjo.br.odebrecht.com:7780/servlet/f60servlet</pageUrl>
    </showPage>
    </renderer>
    <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
    <authorizType>public</authorizType>
    </securityManager>
    </portlet>
    </provider>

    Andrea,
    Could you tell me if FORMS 6i authentication process is based on cookies? The reason being, URL based portlets SSO feature is primarily driven by External Application's cookies, which act as authentication tokens. Once a valid user information is submitted to the External Application, cookies (if any) are received and stored so that they can be re-used in further connections. A typical flow of events can be summarized as follows :
    At provider level :
    1. Connect to External Application.
    2. Submit user information to url specified by External Application's login URL.
    3. Fetch cookies
    4. Store them for future use.
    At portlet level :
    1. Read cookies fetched through provider, pertaining to this portlet.
    2. Open connection to url specified by <pageUrl> tag in provider.xml
    3. Read content and display in the portlet.
    From the provider.xml, I can see that we are trying to show content given by http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet servlet, which has two parameters called {config and database}. This makes the resulting URL as http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet?config=icorp&database=venezula. I guess when this URL is accessed directly, FORMS servlet will redirect the user to base.htm file. Important point to note here is that when URL based portlet makes connection to the above URL, user information is not directly sent along with the request. Instead, cookies fetched from External Application, if any, are sent. But when the same application is viewed through portal's External Application, user information is directly submitted to the login URL. So, before deciding on something, it is important to know how different is the loginURL specified through portal's External Application details, from <pageUrl> of URL based portlets?
    -aMJAD.

  • How to pass values to dashboard prompts from external applications

    Any idea is well appreciated.
    How can I pass values of dashboard prompts from external applications to the dashboard prompts so that the dashboard is prefiltered based on values sent by external applications.
    Thanks in Advance!
    Kris

    Kris,
    i am able to change the session variable and able to call the dashboard from external app, but i identified prompt value not changing. but Finally i am able to found a workaround for you.
    Use the following URL and it explained here
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    PortalPath is your dashboard location. /shared/abcd is folder where i saved dashboards. dash1 is my dashboard name.
    internally this dashboard includes many reports that uses the session variable. after doing above this i am able to update the session variable to the value i have given in URL, DSN=value.
    You may observer here that calls the dashboard and passes the value but its not updating the prompt value. so workaround for this is edit your prompt,
    change the Default to - SQL Results and place the sql
    SELECT CASE WHEN 1=0 THEN Markets.Region ELSE VALUEOF(NQ_SESSION.DSN) END saw_0 FROM Paint
    again here Market.Region is column from presentation layer and Paint is subject area. After doing this step, your prompt always shows value in the session varible as default.
    Now include reports and dashboard prompt in the dashboard and run this url from external applicaitons.
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    it worked for me and blog this soon. if it works for you mark the question as answered and mark my replies as correct.
    thanks
    - Madan

  • How to stop vdbench from external applications? What are the impacts?

    I am using vdbench to test following scenario:
    1) Start vdbench - do read/write (I use poweshell start-process to start vdbench which returns me the process object )
    2) Poll for particualr system event(my test condtion). When the event happens stop read/write ASAP(To stop the process I use powershell Stop-process and pass process object as the argument. This actually stops IO as seen task manger)
    3) Continue testing
    I want to understand
    1) Are the steps followed correct?
    2) What is the correct method to stop vdbench from external application?
    Regards
    Jugari

    An other thought, that maybe is of interest to you, coming in the next version of Vdbench.
    A conversation with one of my internal users:
    It does not make sense to look at current Vdbench output trying to figure out what is happening when.
    This locks us in to tricks and guessing and prevents me from make changes to the output.
    Monday I will create a new file in Vdbench: status.html
    This file will only be there for any kind of wrappers to see what is going on.
    I'll make sure that the file contents are flushed to the file system as soon as a line of text has been written.
    * Vdbench status
    * The objective of this file is to contain easily parseable information about the current state of Vdbench.
    * This then can serve as an 'official' interface for any software monitoring Vdbench.
    * Each line of output will be immediately flushed to the file system, making its content accessible by any monitoring program.
    * The values below are all tab-delimited.
    03/25/2015-13:42:44-MDT Starting slaves
    03/25/2015-13:42:44-MDT Slaves connected
    03/25/2015-13:42:44-MDT Query host configuration started
    03/25/2015-13:42:44-MDT Query host configuration completed
    03/25/2015-13:42:46-MDT Starting rd=rd1 For loops: None
    03/25/2015-13:42:48-MDT Warmup done rd=rd1 For loops: None
    03/25/2015-13:42:51-MDT Workload done rd=rd1 For loops: None
    03/25/2015-13:42:51-MDT Slaves done rd=rd1 For loops: None
    03/25/2015-13:42:51-MDT Shutting down slaves
    03/25/2015-13:42:51-MDT Vdbench complete
    Henk.

  • Make Firefox open URLs passed from external applications in new tabs

    I upgraded Firefox (Mac) from 3.6.13 to 3.6.14 yesterday.
    Since then Firefox does not respond to URLs passed from external applications, as it has always done.
    The external apps pass the URL, FireFox is brought to the front, but no Tab (or new window) is opened.
    Nothing else has changed. Firefox is selected as my default browser (in Safari Prefs) and there is only one copy of FireFox on my laptop,

    Hi David
    Go to Safari Preferences>General. At the bottom you'll see an option for opening in a tab. Makes sure Tabs are enabled in your Tab panel.

  • Get HTML (Dynamic Converter) converted content from external application

    As per requirement, External (Other java application) application suppose to get dynamic converted (HTML version) content from UCM.
    I am trying to execute GET_DYNAMIC_CONVERSION service using RIDC and web service client call.
    I dont see HTML content is coming as the result of GET_DYNAMIC_CONVERSION service.
    Would you please guide me in getting HTML converted document from external application.
    Please let me know, if you need additional details.
    Thank you in advance
    Edited by: 958795 on Sep 12, 2012 3:29 PM

    Hi Srinath,
    I have tried your response. Still i am getting hda data only, not HTML content.
    GET_DYNAMIC_URL service with fileUrl attribute is returning HTML content from UCM GUI (browser) but not from RIDC.
    Code i tried is:
    DataBinder dataBinder = idcClient.createBinder();
              dataBinder.putLocal("IdcService", "GET_DYNAMIC_CONVERSION");
              //dataBinder.putLocal("dID","1832");
              dataBinder.putLocal("dDocName","ECMPS5_002024");
              dataBinder.putLocal("IsJava","0");
              dataBinder.putLocal("RevisionSelectionMethod","LatestReleased");
              dataBinder.putLocal("DCViewFormat","WebViewable");
              // execute the request
              ServiceResponse response = idcClient.sendRequest (userPasswordContext, dataBinder);
    InputStream istream=response.getResponseStream();
    InputStreamReader isr = new InputStreamReader(istream);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    }

  • How to import user profiles from external sources(other than AD) into SharePoint

    Hi,
    I want to import user profiles from external sources other than AD.
    Badri

    You have to use BCS for importing the profiles,
    Check the following link with explanations
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem

  • Cache problem when coming back from external application

    Let's see if I can explain this properly. We have an application consisting of a left menu with books and pages. Each page consists of one Struts portlet. In one case we direct the user to an external mail application. This is handled by the Struts action class setting some fields (identifier and a url to return to when closing the external application). Our action class forwards to a jsp page like this (where url, SESSION_KEY and LINKBACK_URL are populated by the action class)
    <form action="${url}" name="myForm" METHOD="POST" TARGET="_top">     
    <INPUT TYPE="hidden" NAME="i_session" VALUE="<c:out value='${SESSION_KEY}'/>">
    <INPUT TYPE="hidden" NAME="linkback" VALUE="<c:out value='${LINKBACK_URL}'/>">
    </form>
    <script language="javascript">
         document.myForm.submit();
    </script>
    The external application opens up in the same window and when the user closes it you're linked back to our application through the LINKBACK_URL. Now, when I click in the left menu as I did from the start all I see is a blank page (if I click once again it displays correctly) and if I press F5 I'm logged into the external application again so it seems the jsp page with the form is cached. I can in a way understand that it does but I don't want that so are there any way to get rid of this behaviour?
    Best Regards
    Torbjorn

    >
    Edited by Holy at 03/24/2008 11:32 PM

  • Using SYPART01 IDOC for setting partner profiles from external system

    We wish to maintain our partner profiles from an external system.
    Is there any existing interface for doing this.
    It seems that the sypart message is only for output, not input.
    Any ideas or suggestions?
    Thanks!
    Dan

    Hello Dan,
    Thanks for your post.
    I hope the following code helps in future.
    http://wiki.sdn.sap.com/wiki/display/Snippets/Copy+partner+profiles+with+SYPART+message+quickly.

  • Need info on Standard Web services to pull Order data in CRM from external applications

    Hi Gurus,
    I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
    Appreciate your help on this.
    Thanks
    Lakshman

    Hi Lakshman,
    I have checked further.
    Please review below link of the SAP Help documentation :
    http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm&current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
    and also the link :
    –http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
    Hoping that this will be helpful.
    Best regards - Christophe

  • Can't Access Aperture Photos from Other Applications

    I am using the trial version of Aperture. I can't access the photos in Aperture from Photoshop, Word or any other application (except Mail). I can see the icon for Aperture and the words "Aperture 3 Trial Library" but it is grayed out. Is there a setting or what? I have Snow Leopard and Mac OS X 10.6.5.

    I guess one thing that bothers me about all my pictures being "bundled" in iPhoto or Aperture is that they don't show up in the Finder.
    This is a real non-issue. A Package is simply a folder that looks like a file. Want to look inside? Go to your Pictures Folder and find the iPhoto Library or the Aperture Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    See? There are all your files, in folders.
    Why are they Packaged? Because if you move, rename, or alter them then you will corrupt your Library. So it's a simple protection for the structure of the Library. That's all. No big secret.
    But there are other things you need to consider too.
    Supposing you want to attach a file to an Email in Aperture. Presumably you want to send the edited file of your photo. So, how do you do that +when there is no edited file+? Aperture doesn't actually edit the file at all it simply records the decisions you have taken and shows them to live when you view the pic. All your edits are "virtual". So, the fact that your original files are stored out the the package will be no help to you at all.
    iPhoto is pretty much the same - though the details are different.
    So, you have to use the applications when you want to access the files for whatever reason - editing, printing, sharing, whatever. That's the point of these apps. They are your Photo Manager, what AddressBook is to your Contacts, iTunes is to your Music and so on.
    Here's a macro I use for when these questions come up on the iPhoto Forum. Most - if not all - of these will also work for Aperture:
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    *_(Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)_*
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto or Aperture
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto or Aperture not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. This produces, producing a copy.
    Regards
    TD

Maybe you are looking for