Understanding of DIR API

Hi All,
It is really a good experience to implement/use of DIR API concept in PI 7.0. With the help of the enhanced feature I created 80 File channels with all mandatory parameters in less than 30 seconds.
But still I'm have not came across any DIR API classes or interfaces documentation which tells how to change the created CC. I mean which class do I use to change the created channel, what is the interface or class name for reading open change list and so on.
If there is any link that tells what class on interface is/are used for implementing DIR API then please share that link.
Currently, I imported configuration objects in Quality and I want to change File CC parameters (like FTP server name, fileName, directory etc). So in this case, first I have to read the open change list and then I have to change all/required File channels using interface programming. Please share your input if you already implemented such case.
In advance, immense thank for yours appropriate replies.
Regards,
Farooq
Edited by: Farooq Farooqui on Jul 28, 2009 1:23 PM
Edited by: Farooq Farooqui on Jul 28, 2009 1:24 PM

Hi,
When you have to change any objects you should create a  change list and then use the change option on the communication channel wsdl.
Or try to see [Making Mass Configurations in the Integration Directory using Directory API; or [https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109a3b6e-1c37-2b10-9388-c12d328b658c]
Regards
Daniel Graversen
[http://www.figaf.com]

Similar Messages

  • Dir API - Web services Time out

    Hi All,
    I am using Dir API web services to make some mass updates to Config objects. I have developed a client in Java and was able to access/edit the ID objects. The problem I am facing is since the number of objects in the change list is huge ( >1000),  the web services time out.
    I tried to set the time out parameter for the web service call using
    context.put(BindingProviderProperties.REQUEST_TIMEOUT, 600*1000);
    also,
    context.put("com.sun.xml.ws.connect.timeout", 600*1000);
    context.put("com.sun.xml.ws.request.timeout", 600*1000);
    None of them seem to have any impact.
    Any ideas what is the correct way to adjust this time out behaviour?
    Thanks
    Jai

    Hi RK,
    Thanks for that. I am not looking at changing the time outs at Server. I am just interested in changing the time outs for the request I make from the client. The point is I do not want to impact any other services running in the server.
    In WS Navigator, it seems possible to change the time out value using Invocation parameters. (Did not try this yet!!)
    So it must be possible to set the time out for the request from the client.
    Thanks
    Jai
    Edited by: Jaishankar on Aug 25, 2011 2:49 PM

  • Implementing DIR API functionalites using IP/BPM.

    Hi all,
    As we know, implementing DIR API in either 7.0 or 7.1 is very efficient way to create or to modify bulk of configuration objects. In order to do so, there can be many options, such as Java Application, Webdynpro, just to name a few.
    But, instead of above solutions, if we develop an IP/BPM in XI will it makes some sense? An integration process, that will calls respective J2EE services, for instance, CommunicationChannelService, ChangeList Service, etc. and perform required task.
    Regards,
    FF

    Hi,
    When you have to change any objects you should create a  change list and then use the change option on the communication channel wsdl.
    Or try to see [Making Mass Configurations in the Integration Directory using Directory API; or [https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/109a3b6e-1c37-2b10-9388-c12d328b658c]
    Regards
    Daniel Graversen
    [http://www.figaf.com]

  • DIR APi

    wht is the API to determine the existence of the DIR??

    Pramod,
    Looks like you are in bad need of points,
    Suggest you from hunting points this way.
    Please see to that your Id could be blocked
    if you do not stop posting questions and answering them
    using another id all by your self.
    Request you to stop this right away.
    thanks
    Aravinda

  • I don't understand how the API is meant to work

    I understand the concepts and all, but I don't understand the structure of the API and how it works
    Please help
    thankyou

    It sounds like you need to start with the absolute basics. Click the "Tutorials" link on the left side of this page, and/or get a good intro to Java book. It doesn't make sense to even try to explain how to use the APIs until you have some concept of the language basics. When you do, then you can ask questions about specific problems you're having with the APIs.

  • DIR API - Java client code question

    Dear all,
    I am trying to create a communication channel using the directory API using the PI7.1 WSDL(tried to import wsdl from URL ; also tried from ESR ext def n manualy defining the binding). Implementation is using Java proxy.
    The create() method of CommunicationChannelServiceVi expects a CommunicationChannelCreateChangeIn object as argument. Now this class doesnu2019t have a set method for the communicationChannel attribute.  So I canu2019t see how we pass on the data to be used to create the communication channel, e.g communication channel name or description or other properties of it.
    Could someone explain why is that / advice how to go about it please?
    Treid with NWDS and Netbeans IDEs but get the same output.
    Cheers
    dan
    PS: I have seen the documentation at http://help.sap.com/saphelp_nwpi71/helpdata/EN/46/6dca42e5c269dfe10000000a11466f/frameset.htm  and the blog(/people/william.li/blog/2008/10/20/directory-api-development--part-1-of-3) by William, both of them are on PI7.0 so please donu2019t paste these links back

    Forgot to close the thread for long... sorry !
    The reason why there isnu2019t a set method is that, the value we are trying to set is a List(the thought behind it is - if you are allowed to set it, you could essentially overwrite what is already in it).
    There is a get method which will return a reference to the list, that can be used to add values.
    cheers
    danus

  • How to create Payment against the invoices in R12 using API/Interface table

    Hi Experts,
    I need your help.
    As per my requirement , we need to create the payments against the invoices using the payment information provided.
    Earlier the Payments against the invoice is done by (3rd party system) in 11i.
    But, as a part of R12 implementation,
    The requirement is like now they are going to provide us and flat file(having below payment information) and we need to create the payment with these information.
    COLUMNS PROVIDED
    SOURCE
    INVOICE INTERNAL NUMBER #
    ACCOUNTING SEGMENTS
    DEBIT/CREDIT
    AMOUNT
    CURRENCY
    BANK ACCOUNT
    PAYMENT DATE
    DUE DATE
    PAYMENT METHOD
    PAYMENT TERMS
    BATCH ID
    We need to create an inbound interface to achieve the below requirement.
    1. Create the payments in oracle R12 with the above payment information. (unable to find the way please suggest).
    2. Creating the Journal entries. -> We are having GL_INTERFACE & Journal Import program to import the journals.
    3. Finally we have to posting the same into GL.-- Interface & Import programs available.
    Is there any api or interface tables can be used to create the payment against the invoices in r12?
    Could you please help me to achive my above requirements.
    Any sample code or reference will be a great help for me.
    Waiting for your response.
    Thanks,
    Thiru.

    Hi Thiru,
    Perhaps these links can help:
    http://ccchuanblog.blogspot.in/2010/12/oracle-ap-payment-api.html
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/ap-invoice-payment-need-help-4037407
    See "Understanding Oracle Payments APIs" here:
    http://docs.oracle.com/cd/B40089_10/current/acrobat/120ibyig.pdf
    If this answers your question, please mark the post. Thanks.
    Kristofer Cruz
    Edited by: Kristofer Cruz on Sep 5, 2012 2:41 PM

  • Receiver determination issue with PI Directory API

    Hi Guys,
    I was trying to use the PI Directory webservice API to automatically build Integration Directory Objects. I found an issue when creating Receiver Determination Object. Here are the details:
    My scenario is one to many, one Interface with several receiver Parties/Business Components. so I created a Receiver Determination with one party as the receiver using regular Integration Builder Tool and  I was trying to add more receiver by Directory API for the remaining receivers to the one which I manually. But I did not a way or option to add more to the receivers list, when I tried that it was simply overwriting the existing one when I used the Change Operation but when I try to use create Operation it complains that the Object already exists..
    Do you have any idea what is the better way use the API to add more receivers to the list.
    Thanks,
    Laxman

    There is no delta changes allowed through Dir API. We had to read the RD and change with additional receivers.
    Thanks,
    Laxman

  • Where is the Google Web APIs Developer's Kit and developer's license key???

    Hi!
    I'm trying to follow the web services tutorial on page 490 of the Oracle JDeveloper 10g Handbook (written in 2004 so it is a little dated). Part I of the tutorial is to register with Google and download the Google Web APIs Developer's Kit, but I can't find it anywhere (at least not with that name). Does anyone know where is it?
    On a related topic, this tutorial (http://www.oracle.com/technology/oramag/webcolumns/2003/techarticles/balusamy.html) talks about a Google developer's license key (Understanding Google Web APIs section), but again, when I created a Google account I did get a confirmation email, but no second email with no key. Where do I find this?
    TIA for any help.

    what type of application?
    Here is the basic of how to use a Web service in a JSF/ADF based application:
    http://www.oracle.com/technology/products/jdev/viewlets/1013/WebServicesAndADF_viewlet_swf.html
    and this section of the how-to shows you how to create a basic Java client:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm#t6s1

  • DSC alarm API Timestamp

    Hi,
    We are currently building an application for electrical systems using cRIO and DSC HMI features. Our intention is to generate alarm condition in cRIO and display the alarms on HMI-PC using the DSC alarm API. We are looking for a very precise timing on alarms down to less than 10 milliseconds. Our current setup is configured as follows:
    cRIO has a Boolean shared variable to trigger an alarm condition via calculations in cRIO.
    HMI PC also has a Boolean shared variable aliased (PSP-URL) with the cRIO variable. We do this in order to enable Alarms on the PC  variable and use the alarming API functionality.
    From our understanding, DSC alarms API display PC-system timestamp whenever an alarm condition is triggered from cRIO. Apparently, the shared variable engine (SVE) on cRIO communicates to the SVE in the PC and passes information about alarm condition and timestamp. However the SVE in the PC only passes on information about alarm trigger to the DSC alarm API; it doesn’t take the timestamp and generates it using system (i.e. HMI PC) time.
     We were wondering if we could get the cRIO timestamp on the DSC alarms list "set time"? This is the best desirable situation. 
    Do we have to write the cRIO timestamp to the citadel database becasue DSC alarms API just reads alarms from citadel? Once alarms are acknowledge, it wrties back the information to the database. So, there is something editing the database which is not transparent.
    Any feedback on this to enlighten our understanding will be greatly appreciated.

    Hi, 
    If I'm not mistaken that you want the timestamp data from the cRIO to be transfered to the PC, there is a setting at the cRIO shared variable (you'll need to set it at the Project Explorer where you create the time stamp) which you can have the shared variable to give out time stamp: http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/sv_using_nodes/
    Alternatively, you could set the shared variable to transfer data of cluster data type which consists of timestamp and the datatype that represents your alarm trigger information: http://digital.ni.com/public.nsf/allkb/DDEB4D9BC34705C086257242000FF7DB
    If you are using RT programming, you can place a timestamp related functions like Elapsed Time Express VI or Get time in seconds (which you need to convert using )  and bundle it with the alarm information using Bundle.vi or Bundle by Name.vi and write to the shared variable 
    Or you could give a screenshot of the program an explain using the screenshot on what you are planning to do. 
    As for your alarm acknowledgement thing, if your PC is connected with your cRIO always, you can just create some sort of hand shaking tools and use one or two shared variables specially for acknowledgement purpose. Something like a 2 way handshaking operations in a TCP/IP protocol. 
    Hope that helps
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • Getting HR information using APIs

    Hi All,
    We do have documentation for all the APIs which Create, Update or Delete the data in standard tables. We can get it from either eTRM or iRepository. But if I want to use the APIs to get some information from HR e.g. HR_PERSON_TYPE_USAGE_INFO which does not Create, Update or Delete the data. It returns some information. Where do I get the documentation for this type of APIs?
    Thanks for the answer in advance.
    Cheers,
    CAH

    Pl see if these ML Docs help
    152254.1 - Troubleshooting Guide for How to Use an HRMS API
    152255.1 - Troubleshooting Guide for Determining which HRMS API to Use
    121964.1 - Publicly Callable Business Process APIs in Release 11i
    72310.1 - Understanding and Using APIs in Oracle HRMS
    152028.1 - HR Foundation (Shared HR) and APIs
    HTH
    Srini

  • How to use JavaHelp Api

    i am not able to understand the JavaHelp API
    cud somebody plz help me

    Did you download the JavaHelp Users Guide?
    http://java.sun.com/products/javahelp/download_binary.html#userguide
    There are examples in there that should show everything you need.

  • LDAP API documentation

    Hello,
    I have downloaded and installed the Sun Directory Server Enterprise Edition from the tar distribution. I have found the client API documentation for java, but I cann't seem to find the C API documentation. I have found the C examples, and the Javadoc, but no C documentation. I have to write clients for both C and Java applications so I need both.
    The documentation pointed to by http://docs.sun.com/app/docs/coll/1224.3 "Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide" only appears to be for server plugin development. Can someone point me to a 6.2 client API developers guide or something.
    Thanks

    Well I think I've found the latest documentation from http://wiki.mozilla.org/LDAP_C_SDK. I've putted the files from the CVS repository but cann't seem to get them converted from docbook format to html or pdf. I've tried using xstlproc and fop and get lots of parsing errors when run against the 00-Programmers-Guide.book file.
    Here is the command I'm using and the errors I'm receiving:
    xsltproc /usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl 00-Programmers-Guide.book > 00-Programmers-Guide.html
    00-Programmers-Guide.book:18: parser error : SystemLiteral " or ' expected
    <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.3//EN" [
    ^
    00-Programmers-Guide.book:18: parser error : SYSTEM or PUBLIC, the URI is missing
    <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.3//EN" [
    ^
    00-Programmers-Guide.book:74: parser error : Entity 'legal' not defined
    document.</emphasis></para>&legal;
    ^
    00-Programmers-Guide.book:76: parser error : Entity 'abstract' not defined
    <abstract>&abstract;
    ^
    00-Programmers-Guide.book:78: parser error : Entity 'preface' not defined
    </bookinfo>&preface;
    ^
    00-Programmers-Guide.book:79: parser error : Entity 'understanding-ldap' not defined
    &understanding-ldap;
    ^
    00-Programmers-Guide.book:80: parser error : Entity 'choose-api' not defined
    &choose-api;
    ^
    00-Programmers-Guide.book:81: parser error : Entity 'best-practices' not defined
    &best-practices;
    ^
    00-Programmers-Guide.book:82: parser error : Entity 'csdk-understanding' not defined
    &csdk-understanding;
    ^
    00-Programmers-Guide.book:83: parser error : Entity 'csdk-quickstart' not defined
    &csdk-quickstart;
    ^
    00-Programmers-Guide.book:84: parser error : Entity 'csdk-whatsnew' not defined
    &csdk-whatsnew;
    ^
    00-Programmers-Guide.book:85: parser error : Entity 'csdk-client' not defined
    &csdk-client;
    ^
    00-Programmers-Guide.book:86: parser error : Entity 'csdk-api' not defined
    &csdk-api;
    ^
    00-Programmers-Guide.book:87: parser error : Entity 'csdk-search' not defined
    &csdk-search;
    ^
    00-Programmers-Guide.book:88: parser error : Entity 'csdk-filter-conf' not defined
    &csdk-filter-conf;
    ^
    00-Programmers-Guide.book:89: parser error : Entity 'csdk-write' not defined
    &csdk-write;
    ^
    00-Programmers-Guide.book:90: parser error : Entity 'csdk-compare' not defined
    &csdk-compare;
    ^
    00-Programmers-Guide.book:91: parser error : Entity 'csdk-ldap-urls' not defined
    &csdk-ldap-urls;
    ^
    00-Programmers-Guide.book:92: parser error : Entity 'csdk-server-info' not defined
    &csdk-server-info;
    ^
    00-Programmers-Guide.book:93: parser error : Entity 'csdk-ssl' not defined
    &csdk-ssl;
    ^
    00-Programmers-Guide.book:94: parser error : Entity 'csdk-controls' not defined
    &csdk-controls;
    ^
    00-Programmers-Guide.book:95: parser error : Entity 'csdk-sasl' not defined
    &csdk-sasl;
    ^
    00-Programmers-Guide.book:96: parser error : Entity 'csdk-extendop' not defined
    &csdk-extendop;
    ^
    00-Programmers-Guide.book:97: parser error : Entity 'csdk-multithread' not defined
    &csdk-multithread;
    ^
    00-Programmers-Guide.book:98: parser error : Entity 'csdk-datatypes' not defined
    &csdk-datatypes;
    ^
    00-Programmers-Guide.book:99: parser error : Entity 'csdk-functions' not defined
    &csdk-functions;
    ^
    00-Programmers-Guide.book:100: parser error : Entity 'csdk-resultcodes' not defined
    &csdk-resultcodes;
    ^
    00-Programmers-Guide.book:110: parser error : Entity 'license' not defined
    <programlisting>&license;</programlisting>
    ^
    unable to parse 00-Programmers-Guide.book
    The document is pretty simple and is here:
    <!--
    Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.
    Portions copyright 1999 Netscape Communications Corporation. All
    Rights Reserved.
    The contents of this document are subject to the terms of the
    Creative Commons Attribution-ShareAlike 2.5 license or any later
    version (the "License"). You may not use this document except in
    compliance with the License.
    See the License for the specific language governing
    permissions and limitations under the License. You can obtain
    a copy of the License at
    http://creativecommons.org/licenses/by-sa/2.5/legalcode.
    -->
    <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.3//EN" [
    <!ENTITY BookTitle "Programmer's Guide">
    <!ENTITY DirectorySDKForC "Directory SDK for C">
    <!ENTITY DirectorySDKForJava "Directory SDK for Java">
    <!ENTITY abstract SYSTEM "abstract.sgm">
    <!ENTITY best-practices SYSTEM "best-practices.sgm">
    <!ENTITY choose-api SYSTEM "choose-api.sgm">
    <!ENTITY cnDirectoryServer "Directory Server">
    <!ENTITY csdk-api SYSTEM "csdk-api.sgm">
    <!ENTITY csdk-client SYSTEM "csdk-client.sgm">
    <!ENTITY csdk-compare SYSTEM "csdk-compare.sgm">
    <!ENTITY csdk-controls SYSTEM "csdk-controls.sgm">
    <!ENTITY csdk-datatypes SYSTEM "csdk-datatypes.sgm">
    <!ENTITY csdk-extendop SYSTEM "csdk-extendop.sgm">
    <!ENTITY csdk-filter-conf SYSTEM "csdk-filter-conf.sgm">
    <!ENTITY csdk-functions SYSTEM "csdk-functions.sgm">
    <!ENTITY csdk-ldap-urls SYSTEM "csdk-ldap-urls.sgm">
    <!ENTITY csdk-multithread SYSTEM "csdk-multithread.sgm">
    <!ENTITY csdk-quickstart SYSTEM "csdk-quickstart.sgm">
    <!ENTITY csdk-resultcodes SYSTEM "csdk-resultcodes.sgm">
    <!ENTITY csdk-sasl SYSTEM "csdk-sasl.sgm">
    <!ENTITY csdk-search SYSTEM "csdk-search.sgm">
    <!ENTITY csdk-server-info SYSTEM "csdk-server-info.sgm">
    <!ENTITY csdk-ssl SYSTEM "csdk-ssl.sgm">
    <!ENTITY csdk-understanding SYSTEM "csdk-understanding.sgm">
    <!ENTITY csdk-whatsnew SYSTEM "csdk-whatsnew.sgm">
    <!ENTITY csdk-write SYSTEM "csdk-write.sgm">
    <!ENTITY hierovrw SYSTEM "figures/hierovrw.eps" NDATA eps>
    <!ENTITY legal SYSTEM "legal.sgm">
    <!ENTITY license SYSTEM "license.txt">
    <!ENTITY preface SYSTEM "preface.sgm">
    <!ENTITY understanding-ldap SYSTEM "understanding-ldap.sgm">
    <!NOTATION graphic SYSTEM "graphic">
    ]>
    <book lang="en">
    <title>LDAP C SDK Programmer's Guide</title>
    <bookinfo>
    <authorgroup><author><firstname>Mark</firstname><surname>Craig</surname>
    </author></authorgroup>
    <pubdate>June 2007</pubdate>
    <publisher>
    <publishername>Sun Microsystems, Inc.</publishername>
    <address>
    <street>4150 Network Circle</street>
    <city>Santa Clara</city><state>CA</state><postcode>95054</postcode>
    <country>U.S.A.</country>
    </address></publisher>
    <copyright><year>2000-2007</year><holder>Sun Microsystems, Inc. All Rights Reserved.</holder></copyright>
    <legalnotice><para><emphasis role="strong">License</emphasis> -
    <emphasis>The contents of this document are subject to the terms of
    the Creative Commons Attribution-ShareAlike 2.5 license or any later version (the
    "License"). You may not use this document except in compliance with
    the License.</emphasis></para>
    <para><emphasis>See the License for the specific language governing
    permissions and limitations under the License. The full text of the
    License is provided at the end of this
    document.</emphasis></para>&legal;
    </legalnotice>
    <abstract>&abstract;
    </abstract>
    </bookinfo>&preface;
    &understanding-ldap;
    &choose-api;
    &best-practices;
    &csdk-understanding;
    &csdk-quickstart;
    &csdk-whatsnew;
    &csdk-client;
    &csdk-api;
    &csdk-search;
    &csdk-filter-conf;
    &csdk-write;
    &csdk-compare;
    &csdk-ldap-urls;
    &csdk-server-info;
    &csdk-ssl;
    &csdk-controls;
    &csdk-sasl;
    &csdk-extendop;
    &csdk-multithread;
    &csdk-datatypes;
    &csdk-functions;
    &csdk-resultcodes;
    <appendix id="share-alike">
    <title>Creative Commons Attribution-ShareAlike 2.5</title>
    <para>The contents of this document are subject to the terms of the
    Creative Commons Attribution-ShareAlike 2.5 license (the
    "License"). You may not use this document except in compliance with
    the License.</para>
    <para>See the License for the specific language governing permissions
    and limitations under the License. The full text of the License is as
    follows.</para>
    <programlisting>&license;</programlisting>
    </appendix>
    <index><title>Index</title>
    <indexentry><primaryie></primaryie></indexentry></index>
    </book>
    Anyone know what I'm doing wrong?
    Thanks again.

  • Creating API User Hooks for Saudi HRMS

    Dear All,
    I want to create API User hooks for Person Extra Information Type,Any one could help me.
    Thanks and regards,

    If you want to learn how a user hook works, you can check the metalink note 73170.1. Or you can visit the following link.This guy has given the whole content in his blog.
    http://shrigupta.blogspot.com/2010/06/understanding-and-using-api-user-hooks.html
    Hope this helps.

  • Dir.mnu dependency conflict

    Hi all,
    I am using LV2009 SP1, and I am having an dir.mnu dependency conflict.  See attached.  The dir.mnu is in conflict with a lvlib in my instr.lib.  I understand that dir.mnu is a generic name, but isn't it inside a lvlib, which will provide a library specific name scope?  The error said that it is conflicting with a dir.mnu in Signal Processing, which is not used or even appear in my project.  What's going on?  
    Kudos and Accepted as Solution are welcome!
    Attachments:
    1.JPG ‏29 KB

    Hi Kevin,
    I upgraded the inst drivers to the 2009 version.
    Started a new project, made 2 new VI's
    Placed the Keithley 2000 init into one VI
    When I placed the HP E3631A init into the second VI this is what I get
    I close and re-open the Project
    Here is what I get when I open the "keithley 2000 dmm init.vi"

Maybe you are looking for