Quicktime MIDI API for scripting?

I'd like to experiment with scripting music - ideally, writing in Perl and/or Bash (not Applescript) to drive some Quicktime MIDI events. Does anyone know of APIs to do that?
Thanks,
Chap

I was thinking in terms of being able to trigger polyphonic notes of a particular instrument, pitch, and duration; preferably asynchronously (so that the script can continue to compute while notes are playing).
Just wondered if there were any shell commands or Perl modules to facilitate that.

Similar Messages

  • Looking for experience of QuickTime API for Windows

    Hello,
    I have an application which calls the QuickTime JAVA API provided by Apple.
    Every time I'm trying to update to a new QuickTime version (for example to QT 7.6.1), I got compatibility problems.
    It seems the API have not been changed since 2003.
    Is there an alternate way that to connect to QT from the Apple java API ?
    Is there a good soul around there to share his/her experience with me ?
    Thanks
    Gege

    You should ask your questions on the Quicktime Java API mailing list:
    http://lists.apple.com/mailman/listinfo/quicktime-java
    Though it is almost equally unsupported by its originators as JMF, QTJ does work for 90% of what it promises rather than just 10. I'm sure people on the mentioned list can help you out. Usually mpg - and millions of other formats - work just fine in Quicktime java.
    nils

  • Need API for getting List price and unit price before Order entry

    Hello,
    I have requirement of provide unit & list price before order entry (Oracle Pricing and availability form provide the same).
    Please suggest any API for the same.
    Thanks
    Akil.

    Hi,
    Thanks luko,
    I got API QP_PREQ_PUB.PRICE_REQUEST, and its return output as expected,
    Just have confusion that how many qualifiers we have to send
    Here is my sample code
    OR REPLACE PROCEDURE xx_web_get_price (
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     NUMBER,
    OUT NUMBER,
    OUT NUMBER,
    OUT VARCHAR2,
    OUT VARCHAR2)
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    QP_PREQ_GRP.CONTROL_RECORD_TYPE;
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    VARCHAR2 (240);
    VARCHAR2 (240);
    QP_PREQ_GRP.QUAL_REC_TYPE;
    QP_PREQ_GRP.LINE_ATTR_REC_TYPE;
    QP_PREQ_GRP.LINE_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.RELATED_LINES_REC_TYPE;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    INTEGER;
    BINARY_INTEGER;
    VARCHAR2 (240);
    VARCHAR2 (60);
    oe_debug_pub.debug_on;
    oe_debug_pub.initialize;
    := OE_DEBUG_PUB.Set_Debug_Mode ('FILE');
    oe_Debug_pub.setdebuglevel (5);
    ('File : ' || l_file_val);
    QP_Attr_Mapping_PUB.
    (p_request_type_code           => 'ONT',
    => 'L',
    => l_pricing_contexts_Tbl,
    => l_qualifier_Contexts_Tbl);
    := 1;
    ---- Control Record
    .pricing_event := 'LINE';                           -- 'LINE';
    .calculate_flag := 'Y';    --QP_PREQ_GRP.G_SEARCH_N_CALCULATE;
    .simulation_flag := 'N';
    .source_order_amount_flag := 'Y';
    .rounding_flag := 'Q';
    .manual_discount_flag := 'Y';
    .request_type_code := 'ONT';
    .TEMP_TABLE_INSERT_FLAG := 'Y';
    ---- Line Records ---------
    .request_type_code := 'ONT';
    .line_id := 2125125; -- Order Line Id. This can be any thing for this script
    .line_Index := '1';                           -- Request Line Index
    .line_type_code := 'LINE';           -- LINE or ORDER(Summary Line)
    .pricing_effective_date := SYSDATE;    -- Pricing as of what date ?
    .active_date_first := SYSDATE;  -- Can be Ordered Date or Ship Date
    .active_date_second := SYSDATE; -- Can be Ordered Date or Ship Date
    .active_date_first_type := 'NO TYPE';                   -- ORD/SHIP
    .active_date_second_type := 'NO TYPE';                  -- ORD/SHIP
    .line_quantity := 1;                            -- Ordered Quantity
    .line_uom_code := p_uom; --'Ea';                         -- Ordered UOM Code
    .currency_code := p_currency_code; -- 'USD';                           -- Currency Code
    .price_flag := 'Y'; -- Price Flag can have 'Y' , 'N'(No pricing) , 'P'(Phase)
    (1) := line_rec;
    ------ Line Attribute Record
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                               
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE3';
    .PRICING_ATTR_VALUE_FROM := 'ALL';
    .VALIDATED_FLAG := 'N';
    (1) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                                 --
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE1';
    .PRICING_ATTR_VALUE_FROM := p_item_id;
    .VALIDATED_FLAG := 'N';
    (2) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                              
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE2';
    .PRICING_ATTR_VALUE_FROM := p_category_id;
    .VALIDATED_FLAG := 'N';
    (3) := line_attr_rec;
    ------ Qualifier Attribute Record
    .LINE_INDEX := 1; -- Attributes for the above line. Attributes are attached with the line index
    .QUALIFIER_CONTEXT := 'MODLIST';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE4';
    .QUALIFIER_ATTR_VALUE_FROM := p_price_list_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (1) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE2';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_account_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (2) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE40';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_category; --'INDUSTRIAL';  
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (3) := qual_rec;
    QP_PREQ_PUB.PRICE_REQUEST (p_line_tbl,
    -- Return Status Information ..
    := x_return_status_text;
    := x_return_status;
    := x_line_tbl.FIRST;
    IF I IS NOT NULL
    THEN
    := x_line_tbl (I).unit_price;
    := x_line_tbl (I).adjusted_unit_price;
    END IF;
    xx_web_get_price;                                     
    Regards,
    akil.

  • Java API for running entire ".sql" files on a remote DB ( mySQL or Oracle)?

    Hi,
    Would anyone happen to know if there's a java API for executing entire ".sql" files (containing several different SQL commands), on a remote database server ?
    It's enough if the API works with MySQL and/or Oracle.
    Just to demonstrate what i'm looking for:
    Suppose you've created sql file "c:/test.sql" with several script lines:
    -- test.sql:
    insert into TABLE1 values(3,3);
    insert into TABLE1 values(5,5);
    create table TABLE2 (name VARCHER) ENGINE innoDB; -- MYSQL specific
    Then the java API should look something like:
    // Dummy java code:
    String driver="com.mysql.jdbc.Driver";
    String url= "jdbc:mysql://localhost:3306/myDb";
    SomeAPI.executeScriptFile( "c:/test.sql", driver, url);
    Thanks.

    No such a API, but it's easy to parse all sqls in a file, then run those command:
    For instance:
    import java.sql.*;
    import java.util.Properties;
    /* A demo show how to load some sql statements. */
    public class testSQL {
    private final static Object[] getSQLStatements(java.util.Vector v) {
    Object[] statements = new Object[v.size()];
    Object temp;
    for (int i = 0; i < v.size(); i++) {
    temp = v.elementAt(i);
    if (temp instanceof java.util.Vector)
    statements[i] = getSQLStatements( (java.util.Vector) temp);
    else
    statements[i] = temp;
    return statements;
    public final static Object[] getSQLStatements(String sqlFile) throws java.
    io.IOException {
    java.util.Vector v = new java.util.Vector(1000);
    try {
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.
    FileReader(sqlFile));
    java.util.Vector batchs = new java.util.Vector(10);
    String temp;
    while ( (temp = br.readLine()) != null) {
    temp = temp.trim();
    if (temp.length() == 0)
    continue;
    switch (temp.charAt(0)) {
    case '*':
    case '"':
    case '\'':
    // System.out.println(temp);
    break; //Ignore any line which begin with the above character
    case '#': //Used to begin a new sql statement
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    case 'S':
    case 's':
    case '?':
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    v.addElement(temp);
    break;
    case '!': //Use it to get a large number of simple update statements
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    String part1 = temp.substring(1);
    String part2 = br.readLine();
    for (int i = -2890; i < 1388; i += 39)
    batchs.addElement(part1 + i + part2);
    for (int i = 1890; i < 2388; i += 53) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 4320; i > 4268; i--) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 9389; i > 7388; i -= 83)
    batchs.addElement(part1 + i + part2);
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    default:
    batchs.addElement(temp);
    break;
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    br.close();
    br = null;
    catch (java.io.FileNotFoundException fnfe) {
    v.addElement(sqlFile); //sqlFile is a sql command, not a file Name
    Object[] statements = new Object[v.size()];
    for (int i = 0; i < v.size(); i++)
    statements[i] = v.elementAt(i);
    return statements;
    public static void main(String argv[]) {
    try {
    String url;
    Object[] statements;
    switch (argv.length) {
    case 0: //Use it for the simplest test
    case 1:
    url = "jdbc:dbf:/.";
    if (argv.length == 0) {
    statements = new String[1];
    statements[0] = "select * from test";
    else
    statements = argv;
    break;
    case 2:
    url = argv[0];
    statements = getSQLStatements(argv[1]);
    break;
    default:
    throw new Exception(
    "Syntax Error: java testSQL url sqlfile");
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    //Please see Connecting to the Database section of Chapter 2. Installation in Development Document
    Properties properties = new Properties();
    Connection con = DriverManager.getConnection(url, properties);
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    //Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    // stmt.setMaxRows(0);
    stmt.setFetchSize(10);
    final boolean serializeFlag = false;//A test switch to serialize/deserialize the resultSet
    ResultSet rs;
    for (int i = 0; i < statements.length; i++) {
    if (statements[i] instanceof java.lang.String) {
    String temp = (java.lang.String) statements;
    switch (temp.charAt(0)) {
    case 'S':
    case 's':
    case '?':
    System.out.println(temp);
    rs = stmt.executeQuery(temp);
    if (serializeFlag) {
    // serialize the resultSet
    try {
    java.io.FileOutputStream fileOutputStream = new
    java.io.FileOutputStream("testrs.tmp");
    java.io.ObjectOutputStream
    objectOutputStream = new java.io.
    ObjectOutputStream(fileOutputStream);
    objectOutputStream.writeObject(rs);
    objectOutputStream.flush();
    objectOutputStream.close();
    fileOutputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    rs.close(); //Let the CONCUR_UPDATABLE resultSet release its open files at once.
    rs = null;
    // deserialize the resultSet
    try {
    java.io.FileInputStream fileInputStream = new
    java.io.FileInputStream("testrs.tmp");
    java.io.ObjectInputStream objectInputStream = new
    java.io.ObjectInputStream(
    fileInputStream);
    rs = (ResultSet) objectInputStream.
    readObject();
    objectInputStream.close();
    fileInputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    ResultSetMetaData resultSetMetaData = rs.
    getMetaData();
    int iNumCols = resultSetMetaData.getColumnCount();
    for (int j = 1; j <= iNumCols; j++) {
    // System.out.println(resultSetMetaData.getColumnName(j));
    /* System.out.println(resultSetMetaData.getColumnType(j));
    System.out.println(resultSetMetaData.getColumnDisplaySize(j));
    System.out.println(resultSetMetaData.getPrecision(j));
    System.out.println(resultSetMetaData.getScale(j));
    System.out.println(resultSetMetaData.
    getColumnLabel(j)
    + " " +
    resultSetMetaData.getColumnTypeName(j));
    Object colval;
    rs.beforeFirst();
    long ncount = 0;
    while (rs.next()) {
    // System.out.print(rs.rowDeleted()+" ");
    ncount++;
    for (int j = 1; j <= iNumCols; j++) {
    colval = rs.getObject(j);
    System.out.print(colval + " ");
    System.out.println();
    rs.close(); //Let the resultSet release its open tables at once.
    rs = null;
    System.out.println(
    "The total row number of resultset: " + ncount);
    System.out.println();
    break;
    default:
    int updateCount = stmt.executeUpdate(temp);
    System.out.println(temp + " : " + updateCount);
    System.out.println();
    else if (statements[i] instanceof java.lang.Object[]) {
    int[] updateCounts;
    Object[] temp = (java.lang.Object[]) statements[i];
    try {
    for (int j = 0; j < temp.length; j++){
    System.out.println( temp[j]);
    stmt.addBatch( (java.lang.String) temp[j]);
    updateCounts = stmt.executeBatch();
    for (int j = 0; j < temp.length; j++)
    System.out.println((j+1)+":"+temp[j]);
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":" +updateCounts[j]);
    catch (java.sql.BatchUpdateException e) {
    updateCounts = e.getUpdateCounts();
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":"+updateCounts[j]);
    java.sql.SQLException sqle = e;
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (java.sql.SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    stmt.clearBatch();
    System.out.println();
    stmt.close();
    con.close();
    catch (SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" + sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();

  • Using Quicktime's "Export for Web" feature in iWeb?

    Greetings,
    Does anyone know if this is possible within iWeb, that is, to use movies created using Quicktime's "Export to Web" feature, which really seems to deliver superior movie quality?
    Much appreciated,
    DaveB

    Thanks, good stuff, though I'm still having a small problem with this. I'm getting a gray line around the top and left of my movie and the right side of the player is getting cut off. When I try to make the width larger, it just moves the gray line further to the left.
    Any ideas?
    http://www.brianderr.com/brianderr/copythis3.html
    *This is the script that I added to the html snippet in iWeb.* I changed the height to 505px because it was cutting off the bottom of the player at 496.
    <iframe src="http://idisk.me.com/brianderr/Public/KANYE%20PT%201/kanye1.html"
    style="width:720px; height:505px";
    scrolling="no">
    </iframe>
    *This is the script from my read me file that I kept:*
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>QuickTime Pro - Export for Web - KANYE PT 1</title>
    <script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
    <script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
    <link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />
    </head>
    <body><script type="text/javascript"><!--
    QTWritePosterXHTML('Click to Play', 'KANYE%20PT%201-poster.jpg',
    'KANYE%20PT%201.mov',
    '720', '496', '',
    'controller', 'true',
    'autoplay', 'true',
    'bgcolor', 'black',
    'scale', 'aspect');
    //-->
    </script>
    <noscript></body>
    </html>

  • 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();

  • Updating Email Addreses - is there an APi for that?

    Updating Email Addreses - is there an API for that?
    Ive got several APIs running in a script some to insert, some to update employee details in ORACLE Financials 11i Payables. I'm missing email addresses to update - is there an API for this? If so whats it called?
    Muchos Gracias Gurus..
    S

    You store the email adres of an employee in the People screen? If yes, use the employee api to update the mail address.

  • How can we use Essbase grid API for VB

    Hi Experts
    I am developing a custom application to talk to Essbase in VB6 environment.
    I need to retrieve data from the essbase. When i am using EsbReport to execute the report script query, it takes a lot of time to parse through the returned output and even sometimes, the application prompts "Out of Memory" error.
    1. Is there any faster way to extract data from Essbase using VB APIs
    2. I was going through Grid APIs which gives the ability to extract data from Essbase in Grid format in a comparatively faster manner. Do we have any such Grid APIs for VB? or is there any way to use C grid APIs in VB program?
    Please help :(

    Hi,
    Its hard to say if there is a faster way without knowing how you're doing it now. A few questions:
    - why are you using the API to get at Essbase Data, especially if you've already defined a (some) report scripts?
    - if you want to use provider services, vs having to ensure all the libraries and the client are present, why not use the JAPI?
    - Without seeing your code, its hard to know why you're getting out of memory errors. What are you doing with the data as you're parsing it from the report?
    Grid API exists for the C API, and more noteable the JAPI, but not VB(I'm surprised the VB api still exists).
    Why not just use the Java API?
    Robb

  • Self service api for 11.1.2 B2B???

    Hi All,
    I have installed 11.1.2 Soa suite and B2B comes along with it.. I wanted the pointer to documentation that explains about using the self-service APIs for tp and agreement creation....
    Regards,
    Praveen

    Hi Nitesh..
    I was successfull in creating the TP by using the following xml..
    <SelfService xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="selfservice.xsd"
    xmlns="http://xmlns.oracle.com/integration/b2b/selfservice/profile">
    <DocumentProtocols>
    <DocumentProtocol name="EDI_EDIFACT">
    <DocumentProtocolVersion name="D98A">
    <DocumentType name="ORDERS">
    <DocumentDefinition name="ORDERS_DEF" useDefaultDefinition="true" definitionFileName="po_oag.xsd">
    </DocumentDefinition>
    </DocumentType>
    </DocumentProtocolVersion>
    </DocumentProtocol>
    </DocumentProtocols>
    <TradingPartners>
    <TradingPartner name="GlobalChips7" hosted="false">
    <Identification name="Name"/>
    <DeliveryChannel ackMode="None" compressed="false" internal="false" listening="false" name="GlobalChips7_AS2_Channel" responseMode="None">
    <ExchangeProtocolRef name="AS2" />
    <TransportProtocolRef name="HTTP">
    <ParameterValue name="url" value="http://hostname:1111/HTTPService/Receiver" />
                   <ParameterValue name="user" value="xxxx" />
                   <ParameterValue name="password" value="welcome" />
    </TransportProtocolRef>
    <DigitalSecurity ackSigned="false" messageEncrypted="false" messageSigned="false" transportSecured="false" />
    </DeliveryChannel>
    <SupportedDocumentDefinition initiator="true" docTypeName="ORDERS" docProtocolVersion="D98A" docProtocolName="EDI_EDIFACT" docDefName="ORDERS_DEF"/>
         <SupportedDocumentDefinition initiator="false" docTypeName="ORDERS" docProtocolVersion="D98A" docProtocolName="EDI_EDIFACT" docDefName="ORDERS_DEF"/>
    </TradingPartner>
    </TradingPartners>
    </SelfService>
    I have already created the EDI_EDIFACT document Defn in the UI and I ran the ant script with overwrite=false when loading the metadata and TP got created successfully and I am able to see that values correctly in the UI...
    The problem is when I use the agreements in the xml..... I used the following xml.
    <?xml version="1.0" encoding="UTF-8" ?>
    <SelfService xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="selfservice.xsd"
    xmlns="http://xmlns.oracle.com/integration/b2b/selfservice/profile">
    <DocumentProtocols>
    <DocumentProtocol name="EDI_EDIFACT">
    <DocumentProtocolVersion name="D98A">
    <DocumentType name="ORDERS">
    <DocumentDefinition name="ORDERS_DEF" useDefaultDefinition="true" definitionFileName="po_oag.xsd">
    </DocumentDefinition>
    </DocumentType>
    </DocumentProtocolVersion>
    </DocumentProtocol>
    </DocumentProtocols>
    <TradingPartners>
    <TradingPartner name="GlobalChips7" hosted="false">
    <Identification name="Name"/>
    <DeliveryChannel ackMode="None" compressed="false" internal="false" listening="false" name="GlobalChips7_AS2_Channel" responseMode="None">
    <ExchangeProtocolRef name="AS2" />
    <TransportProtocolRef name="HTTP">
    <ParameterValue name="url" value="http://hostname:1119/HTTPService/Receiver" />
                   <ParameterValue name="user" value="XXXX" />
                   <ParameterValue name="password" value="welcome" />
    </TransportProtocolRef>
    <DigitalSecurity ackSigned="false" messageEncrypted="false" messageSigned="false" transportSecured="false" />
    </DeliveryChannel>
    <SupportedDocumentDefinition initiator="true" docTypeName="ORDERS" docProtocolVersion="D98A" docProtocolName="EDI_EDIFACT" docDefName="ORDERS_DEF"/>
         <SupportedDocumentDefinition initiator="false" docTypeName="ORDERS" docProtocolVersion="D98A" docProtocolName="EDI_EDIFACT" docDefName="ORDERS_DEF"/>
    </TradingPartner>
    </TradingPartners>
    <Agreements>
    <Agreement agreementId="Acme_Global_EDIFACT_D98A_ORDERS_AS2" name="Acme_Global_D98A_ORDERS_AS2">
    <SupportedDocumentType docDefName="ORDERS_DEF" docProtocolName="EDI_EDIFACT" docProtocolVersion="D98A" docTypeName="ORDERS">
    <InitiatingParticipant name="Acme" >
                             <Identifications>
                                       <IdentificationRef name="Name"/>
                             </Identifications>
                        </InitiatingParticipant>
    <RespondingParticipant name="GlobalChips7" >
                                  <Identifications>
                                            <IdentificationRef name="Name"/>
                                  </Identifications>
                             <DeliveryChannels>
                                       <DeliveryChannelRef name="GlobalChips7_AS2_Channel" />
                             </DeliveryChannels>
                        </RespondingParticipant>
    <AgrDocTypeParameterValues>
    <ParameterValue name="validate" value="true" />
    </AgrDocTypeParameterValues>                
    </SupportedDocumentType>
    </Agreement>
    <Agreement agreementId="GlobalChips7_Acme_EDIFACT_D98A_ORDERS_AS2" name="GlobalChips7_Acme_EDIFACT_D98A_ORDERS_AS2">
    <SupportedDocumentType docDefName="ORDERS_DEF" docProtocolName="EDI_EDIFACT" docProtocolVersion="D98A" docTypeName="ORDERS">
    <InitiatingParticipant name="GlobalChips7" >
                   <Identifications>
                                       <IdentificationRef name="Name"/>
                             </Identifications>
                        </InitiatingParticipant>
    <RespondingParticipant name="Acme" >
                                  <Identifications>
                                            <IdentificationRef name="Name"/>
                                  </Identifications>
                        </RespondingParticipant>
    <AgrDocTypeParameterValues>
    <ParameterValue name="validate" value="true" />
    </AgrDocTypeParameterValues>                    
    </SupportedDocumentType>
    </Agreement>
    </Agreements>
    </SelfService>
    The soa.zip got created successfully. But during the metadata load, it was giving the following exception.
    [java] Import with overwrite=false
    [java] B2BCommandLineUtility: importRepository: Error messages:
    [java] MDS-02202: Content of the metadata object "/soa/b2b/tpa_id158BB91123862.xml" is not valid.
    [java] MDS-02201: type validation failure for the metadata object "/soa/b2b/tpa_id158BB91123862.xml"
    [java] MDS-02203: type validation error for the metadata object "/soa/b2b/tpa_id158BB91123862.xml" at the node "id178BB91381874"
    [java] Required attribute tradingPartnerRef missing from element InitiatingParticipant
    [java] MDS-02203: type validation error for the metadata object "/soa/b2b/tpa_id158BB91123862.xml" at the node "id178BB91381874"
    [java] Required attribute supportedDocumentDefinitionRef missing from element InitiatingParticipant
    [java] MDS-02203: type validation error for the metadata object "/soa/b2b/tpa_id158BB91123862.xml" at the node "id188BB91635040"
    [java] Required attribute identificationRef missing from element IdentificationRef
    Can you please help me..
    Regards,
    Praveen

  • API for connection count?

    Hi,
    Does WLS have an API for querying the number of connections made via EJB/JMS
    (JNDI's InitialContext)? How would it work in a cluster (will I get
    connections for that box or for the cluster)?
    Thanks,
    Assaf Pazner

    Hi,
    We believe instead of using IMPORT_COUNTREQUEST API you can use a Dataload script to key in data in Physical Inventory form.
    Basically you need to populate 4 fields in this form, i.e Physical Inventory, Date, Description & Snapshot Complete (checkbox).
    Go ahead and write a Dataload script for the same.
    Regards,
    S.P DASH

  • Need the Oracle Standard APIs for iExpense

    Hi ,
    Can you please let me know the list of standard APIs that can be used for iExpese. The requirement is that we need to create new OAF pages which insert data into iExpense Tables and also we need to do validations like the standard functionality of iExpense, hence we are looking for APIs which perform the standard validations and insertion of data for the iExpense tables. Please let me know of any documentation or links which gives list of Oracle standard public API for iExpense.
    Thanks,
    Srikanth

    Hi;
    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • APIs for PO

    Hi Friend & Compatriots,
    I need help and I need it badly! I am writing a PO conversion program and I need to know the APIs for importing standard PO from the interface tables to Oracle Purchasing.
    Thanks.
    Pascal

    Concurrent Program used is "Import Standard Purchase Order".
    check the script in $PO_TOP/sql/POXPDOI.sql
    in turn it will call API po_docs_interface_sv5.process_po_headers_interface

  • API for loading favorites in R12

    Hi all,
    Client would like to add a favorite on all users in R12 instance.
    The favorite should point to the 'Open Notifications' function.
    Does anyone know of a way to mass load favorite menu entries using an API or OI?
    It looks like the favorites ends up in the 'ICX_CUSTOM_MENU_ENTRIES', but cant find a public API.
    All help is apprciated.
    Brgds,
    Tom Andersen

    Hi;
    Please check below link and also notes:
    User is Unable to See a Responsibility In the Home Page [ID 943096.1]
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    API User Notes - HTML Format [ID 236937.1]
    Regard
    Helios

  • API for end dating a Supplier Bank account- R12

    Hi
    I'm looking for a API to end date a supplier bank account.
    Could someone help me wiht this.
    THanks

    Hi;
    All APIs are listed in Oracle Integration Repository.First check below
    http://irep.oracle.com/index.html
    Please check below which could be helpful for your issue:
    How to set Bank Account Uses End Date to Specific Supplier Site [ID 726763.1]
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • API for loading inventory org access for responsibilities

    Hi there,
    I need to give Inventory Organization Access to more then 100 responsiibilities. Is there an api that I can use that would load this information into org_access table? I am on 12.1.2 version of EBS.
    Thanks
    Irina.

    I am not aware of any api for this.
    You can consider using a key-mapping software such as Data loader / winparrot
    OR
    you can write your own script to insert records into the table. It should be a straight forward insert. You just need to ensure that the combination of organization_id, responsibility_id and application_id is valid.
    Sandeep Gandhi

Maybe you are looking for