Call to MSC_ATP_PVT.CALL_SCHEDULE_REMOTE@EBS1_TO_VCP1 API

Hi,
We have APS ( Advanced planning and scheduling ) and EBS(OM) on separate servers and we are importing orders through Open interface with ATP OVER RIDE flag set to Yes. Still the import is making a call to this API on APS server for every line being imported and this is causing huge delays in order creation process. This is happening even when we try to Update a line. This was not happening in test environment. Does anyone how or what is controlling the call tot his API?
Ananth

Hi Sandeep,
Even though all setups are same , in test and prod instance, but in prod order creation is very slow. It is taking 1.5 min to create 2 orders. What could be the possible issues ? any comments?
Ananth

Similar Messages

  • I would like to call through the CIS UCPM API but following error occurred

    I would like to call through the CIS UCPM API but following error occurred, I would like to to set Loacle Chinese, how can I do? Thank you
    intradoc.common.ServiceException: !csUnableToRetrieveSearchResults!csLocaleNotFound,English-US
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplem
    entor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2326)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
    at intradoc.server.Service.createServiceException(Service.java:2315)
    at intradoc.server.ServiceHttpImplementor.determineParameterizedLocale(ServiceHttpImple
    mentor.java:668)
    at intradoc.server.ServiceHttpImplementor.initLocale(ServiceHttpImplementor.java:467)
    at intradoc.server.Service.initLocale(Service.java:426)
    at intradoc.server.Service.initDelegatedObjects(Service.java:295)
    at intradoc.server.SearchService.initDelegatedObjects(SearchService.java:86)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:436)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImp
    l.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    I managed to find a solution to my problem described above. I downloaded a demo copy of the shareware called R-Tools which I found on Tucows.com
    The site described the software thus: "Take advantage of R-Studio's unique ability to recover files and disks on remote computers, even if their partition structures are damaged or deleted."
    The demo software searched my ipod and found all my photos and showed them as thumbnails. Of course the demo software would not save the files unless I registered it which cost US$49.95. There are several different suites of applications from this publisher, I got the cheapest option which is called "R-Studio FAT".
    I didn't mind paying this amount because the photos were very precious to me and by this point I had just about resigned myself to losing them all. I had previously contacted a professional data recovery service and they had quoted me "AUD$80 per hour and probably 1 to 2 hours work".
    I've been too busy organising my newly recovered photos into galleries and editing them using photoshop to be bothered to try and fix my ipod which I doubt I will want to use again for photo storage.

  • Calling a Single Threaded Win32 API/DLL

    I am working on calling a single threaded Win32 API (in a vendor's dll).
    Since this dll is single threaded in windows, when I call this in my Java program do I need to make sure that I do not have multiple threads calling this API.
    Any thoughts will be appreciated.
    Thanks

    It shouldn't matter as long as you make sure that multiple threads aren't calling functions in that DLL at the same time. You can ensure this by either synchronizing your methods in Java or writing a multithreaded stub DLL that synchronizes calls to the single-threaded DLL for you.

  • 403 Forbidden errors when calling GetUploadURL for iTunes U API

    I am trying to test the uploading of XML to iTunes U using the provided
    API. However, I am consistently receiving a 403 Forbidden response
    (and resulting exception thrown in Java) when I attempt to get the
    URL for upload with the call to /WebObjects/Core.woa/API/GetUploadURL/.
    I am able to generate successful login URLs with identical calls to
    /WebObjects/Core.woa/API/GetBrowseURL/, which successfully authenticate
    me to iTunes U, with the same credential.
    Furthermore, following a suggestion found online, I have issued calls to
    /WebObjects/Core.woa/Browse/ with my debugging string appended, again
    with the same credentials, and that SUCCEEDS, telling me that
    "Because the received signature and time were valid, the received identity
    and credentials were accepted by iTunes U" so I get no further information.
    My system clock has the proper time, etc.
    I am also able to retrieve an XML manifest of the contents of my site
    by issuing a call to /API/ShowTree/, no problem whatsoever.
    Any ideas of what might be the problem? Or perhaps some way I might be
    able to do further debugging? Putting the debug string on the
    GetUploadURL does nothing, the Forbidden overrides me getting any actual
    response at all.
    Thanks for any assistance.

    Just a sanity check here ...
    When you use GetUploadURL, and you want to send a web services XML document rather than an ordinary media file, you must also include the type=XMLControlFile token in your token string.
    That is, normally, you create a token string this way:
    credentials=your-creds&identity=your-identity&time=12345678&signature=big-long-h ex-string
    When you want an upload URL for a web services request, you need to add one more token ...
    credentials=your-creds&identity=your-identity&time=12345678&signature=big-long-h ex-string
    &type=XMLControlFile

  • SSL: Connection reset by peer ; Failed to enable crypto error while calling the report using bing API with SOAP client

    Hi,
    I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error:
    [Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(): Failed to enable crypto [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=rzr63XFt5qJduddohoIRyOYAP%2f1%2ftsnhk8L%2bzBmUpdU2CQlcUB98RpY%2bbOaLFFGMqAC4IUUadC%2fNdNnJqeVCY%2f%2bpy6noVsVA%2fMJp47a3Xb1VjABfKhcdKy6vqpgEdcQg%2fQZ7QcEpZ3bEloJjUtGpDquFk53BnkeHEPVWZkDYcsQegRz%2fpG4t4w6gKCCRmhArd6osr6ZU9CMJ3lbxtGXjcQEMPvP2apNyr9P%2fc8niyfWA2aBcm1aEmOLX2KL3aRJ4rz9N7gG7uBslVZH%2b4rUjHdB7CMkbb%2fHyHwvPTqGPbPCHnicefr%2b%2fDP70hlkBEGfyOOswK67%2bl1zh7CyIv%2bcMlaDsuDX1HeFf4uORfD41H1z7):
    failed to open stream: operation failed [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    Whenever I execute my script. Can you please let me know what we can do to solve this issue. The version of PHP we are using is 5.3.3 with open ssl. 

    Hi Shobha,
    I can't confirm what version of PHP you are using, but to err on the side of caution please use the version specified in the sample/SDK:
    PHP 5.4.14 has been installed from PHP.
    Here is our code examples:
    https://msdn.microsoft.com/en-US/library/bing-ads-overview-getting-started-php-with-web-services.aspx
    Thanks,
    Itai

  • How to call the Salesforce  webservice  create api ?

    Hello Friends,
    I am using Oracle BPEL process manager 10.1.2 .
    I have created the BPEL process project.
    In it I have deployed the Salesforce webservice.
    I have assigned the session id ,URL according to the as given in
    demos->salesforceflow .
    I have called the login api , query api that is successfully called.
    But when I call the Create api then it gives the error at run time that
    "Invalid session id found in session header".
    so please tell me what could be reason for this..
    Thanks and regards
    Ram Krishna Tripathi
    [email protected]
    ====================
    BPEL file is as follows:--
    <process name="SalesforceFlow" targetNamespace="http://samples.otn.com" suppressJoinFailure="yes" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:tns="http://samples.otn.com" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:salesforce="urn:enterprise.soap.sforce.com" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:salesObject="urn:sobject.enterprise.soap.sforce.com" xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:ns2="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="tns:SalesforceFlow" myRole="SalesforceFlowProvider" partnerRole="SalesforceFlowRequester"/>
    <partnerLink name="salesforce" partnerLinkType="salesforce:SoapLink" partnerRole="SoapProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="input" messageType="tns:SalesforceFlowRequestMessage"/><!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="output" messageType="tns:SalesforceFlowResponseMessage"/>
    <variable name="createinput" messageType="salesforce:queryRequest"/>
    <variable name="createoutput" messageType="salesforce:queryResponse"/>
    <variable name="Invoke_1_create_InputVariable" messageType="salesforce:createRequest"/>
    <variable name="Invoke_1_create_OutputVariable" messageType="salesforce:createResponse"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in SalesforceFlow.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="tns:SalesforceFlow" operation="initiate" variable="input" createInstance="yes"/>
    <scope name="customerPreference">
    <variables>
    <variable messageType="salesforce:loginRequest" name="loginRequest"/>
    <variable messageType="salesforce:loginResponse" name="loginResponse"/>
    <variable messageType="salesforce:Header" name="headerRequest"/>
    <variable messageType="salesforce:queryRequest" name="queryRequest"/>
    <variable messageType="salesforce:queryResponse" name="queryResponse"/>
    <variable name="partnerReference" element="wsa:EndpointReference"/>
    <variable name="Variable_1" messageType="salesforce:Header"/>
    </variables>
    <sequence>
    <assign name="setSalesforceAuthorization">
    <copy>
    <from variable="input" part="payload" query="/tns:SalesforceFlowRequest/tns:username"/>
    <to variable="loginRequest" part="parameters" query="/salesforce:login/salesforce:username"/>
    </copy>
    <copy>
    <from variable="input" part="payload" query="/tns:SalesforceFlowRequest/tns:password"/>
    <to variable="loginRequest" part="parameters" query="/salesforce:login/salesforce:password"/>
    </copy>
    </assign>
    <invoke partnerLink="salesforce" portType="salesforce:Soap" operation="login" inputVariable="loginRequest" outputVariable="loginResponse"/>
    <assign name="readSessionConfig">
    <copy>
    <from variable="loginResponse" part="parameters" query="/salesforce:loginResponse/salesforce:result/salesforce:sessionId"/>
    <to variable="headerRequest" part="SessionHeader" query="/salesforce:SessionHeader/salesforce:sessionId"/>
    </copy>
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address/>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from expression="string(bpws:getVariableData('loginResponse', 'parameters', '/salesforce:loginResponse/salesforce:result/salesforce:serverUrl'))"/>
    <to variable="partnerReference" query="/wsa:EndpointReference/wsa:Address"/>
    </copy>
    <copy>
    <from variable="partnerReference"/>
    <to partnerLink="salesforce"/>
    </copy>
    <copy>
    <from expression="concat( 'select Fax from account where AccountNumber=',ora:addQuotes( string(bpws:getVariableData('input','payload','/tns:SalesforceFlowRequest/tns:accountNumber'))) )"/>
    <to variable="queryRequest" part="parameters" query="/salesforce:query/salesforce:queryString"/>
    </copy>
    </assign>
    <invoke partnerLink="salesforce" portType="salesforce:Soap" operation="query" inputVariable="queryRequest" outputVariable="queryResponse" bpelx:inputHeaderVariable="headerRequest"/>
    <assign name="Assign_1">
    <copy>
    <from variable="loginResponse" part="parameters" query="/salesforce:loginResponse/salesforce:result/salesforce:sessionId"/>
    <to variable="Variable_1" part="SessionHeader" query="/salesforce:SessionHeader/salesforce:sessionId"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="salesforce" portType="salesforce:Soap" operation="create" inputVariable="Invoke_1_create_InputVariable" outputVariable="Invoke_1_create_OutputVariable"/>
    </sequence>
    </scope><!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <invoke name="callbackClient" partnerLink="client" portType="tns:SalesforceFlowCallback" operation="onResult" inputVariable="output"/>
    </sequence>
    </process>
    =====================
    WSDL FILE
    =============
    <definitions
    name="SalesforceFlow"
    targetNamespace="http://samples.otn.com"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://samples.otn.com"
    xmlns:ns1="urn:enterprise.soap.sforce.com"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <import namespace="urn:enterprise.soap.sforce.com" location="services/enterprise.wsdl"/>
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://samples.otn.com"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://abo-server:9700/orabpel/xmllib/ws-addressing.xsd"/>
    <element name="SalesforceFlowRequest">
    <complexType>
    <sequence>
    <element name="username" type="string"/>
    <element name="password" type="string"/>
    <element name="accountNumber" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="SalesforceFlowResponse">
    <complexType>
    <sequence>
    <element name="price" type="double"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="SalesforceFlowRequestMessage">
    <part name="payload" element="tns:SalesforceFlowRequest"/>
    </message>
    <message name="SalesforceFlowResponseMessage">
    <part name="payload" element="tns:SalesforceFlowResponse"/>
    </message>
    <portType name="SalesforceFlow">
    <operation name="initiate">
    <input message="tns:SalesforceFlowRequestMessage"/>
    </operation>
    </portType>
    <portType name="SalesforceFlowCallback">
    <operation name="onResult">
    <input message="tns:SalesforceFlowResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="SalesforceFlow">
    <plnk:role name="SalesforceFlowProvider">
    <plnk:portType name="tns:SalesforceFlow"/>
    </plnk:role>
    <plnk:role name="SalesforceFlowRequester">
    <plnk:portType name="tns:SalesforceFlowCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

    On your Invoke, click the "adapter" tab and make sure the header variable is selected.

  • Credit Classification is null in the call to create credit request api

    Hi All,
    We are currently working on the implementation of Credit Management module. The plan is to integrate it with Orders Management. When an order is created above a specified credit limit for a customer, a credit review request is submitted. This is done from Order Management side through the seeded procedure OE_CREDIT_CHECK_ORDER_PVT. In this procedure, the call to the API, the credit classification is passed as null. As a result the credit application cannot be processed further. Is any Oracle Patch required to fix this issue. Morevover we cannot update the table with credit classification, since the credit application is in submitted state.
               AR_CMGT_CREDIT_REQUEST_API.Create_credit_request
               ( p_api_version           => 1.0
               , p_init_msg_list         => FND_API.G_FALSE
               , p_commit                => FND_API.G_FALSE
               , p_validation_level      => FND_API.G_VALID_LEVEL_FULL
               , x_return_status         => x_return_status
               , x_msg_count             => l_msg_count
               , x_msg_data              => l_msg_data
               , p_application_number    => NULL
               , p_application_date      => SYSDATE
               , p_requestor_type        => NULL
               , p_requestor_id          => fnd_global.employee_id
               , p_review_type           => 'ORDER_HOLD'
               , p_credit_classification => NULL
               , p_requested_amount      => l_total_exposure
               , p_requested_currency    => l_limit_curr_code
               , p_trx_amount            => g_order
               , p_trx_currency          => p_header_rec.transactional_curr_code
               , p_credit_type           => 'TRADE'
               , p_term_length           => NULL  --the unit is no of months
               , p_credit_check_rule_id  =>
                       p_credit_check_rule_rec.credit_check_rule_id
               , p_credit_request_status => 'SUBMIT'
               , p_party_id              => l_review_party_id --bug 5907331
               , p_cust_account_id       => l_customer_id
               , p_cust_acct_site_id     => NULL
               , p_site_use_id           => l_site_use_id
               , p_contact_party_id      => NULL --party_id of the pseudo party
               , p_notes                 => NULL  --contact relationship.
               , p_source_org_id         => l_source_org_id
               , p_source_user_id        => l_source_user_id
               , p_source_resp_id        => l_source_resp_id
               , p_source_appln_id       => l_source_appln_id
               , p_source_security_group_id => l_source_security_group_id
               , p_source_name           => 'OM'
               , p_source_column1        => p_header_rec.header_id
               , p_source_column2        => p_header_rec.order_number
               , p_source_column3        => 'ORDER'
               , p_credit_request_id     => l_request_id
    Please let me know the solution.
    Warm Regards,
    Vivek.

    Hello,
         MDM Version is 5.5.65.86
             Portal
             sap.com/SAP-JEECOR  7.00 SP18 (1000.7.00.18.0.20081123155626)  20091203155047 
             sap.com/SAP-JEE  7.00 SP18 (1000.7.00.18.0.20081123155510)  20091203154825 
             sap.com  MDM_JAVA_API  5.50 SP6 (1000.5.50.6.5.20100120101105)  SAP AG  SAP AG  20100204091131 
             sap.com  MDM_WEB_SERVICES  550 SP6 (1000.550.0.6.5.20100117165943)  SAP AG  MAIN_MDM55VA_C  20100204091208 
    this problem happened after our P system upgrade from 5.5.65.76 to 5.5.65.86,sometime when our MDM upgrade,SAP supply correspond WEBSERVICE jar, but this time ,SAP does not supply the correspond WEBSERVICE JAR file.we used WEBSERVICE JAR is the one that correspond with 5.5.65.76 may be this is the isuue causation

  • Securing DSP calls via Web Services Mediator API

    I have been implementing a client of DSP 3.0 services using the static Web Services Mediator API. I am successfully calling these through the AL Service Bus, where I have deployed the WSDL generated from the DSP. We are calling this from a rich client (i.e. the client is not running in any container). My company has chosen to use SAML-based security on all web services deployed in the service bus.
    I know how to use general-purpose web service clients to pass SAML tokens to the web service. My question is, how do I do this when using the Web Services Mediator API. I have noticed the XMLHelper class and the RequestConfig class, but I have not seen much in the way of examples of using them.
    Related question:
    Is it possible to insert additional content into the SOAPHeader, or configure attributes on the Port?
    Thanks,
    Jeff
    Edited by jhoffmanme at 02/13/2008 8:06 AM

    I'm checking into the SAML question.
    Regarding the soap header - whatever is in the contract defined in the WSDL.

  • Call Stimulus Profile with Veristand API leads to failing test

    I wan´t to call a stimulus profile file programmatically. I discovered that there is no VI for that in the LabVIEW VeriStand API (for the legacy stimulus profile editor such a VI exists). But in the Example finder exists a VI which uses the .NET VeriStand API to acomplish this (http://forums.ni.com/t5/NI-VeriStand/Start-Stimulus-Profile-from-LabVIEW/m-p/1789162). Furthermore someone created a Custom Control for the workspace which uses this .NET invoke (http://www.ni.com/example/31335/en/). Both examples work in general but I have one problem which i´m not able to fix:
     If I use a "Update Model Parameters From File" step in the stimulus profile to change the parameters of a model the step is going to fail with the error: "Error: -307650. Details: Object reference not set to an instance of an object." This only happens if i use the .NET VeriStand API invoke to call the stimulus profile. If I start the stimulus profile out of the Stimulus Profile Editor this error doesn´t occur and the Model Parameter Update works correctly.
    If I delete the "Update Model Parameters From File" step the whole stimulus profile passes just fine.
    Has anyone an idea how to fix this issue or how to programmatically call a stimulus profile file with the VeriStand API? Thanks for any suggestions in advance and have a nice day.
    H.
    Solved!
    Go to Solution.

    I can reproduce what you are seeing. You can work around this very quickly by making a call to the StimulusProfile method CheckForErrors before starting its execution. This method is called by the Stimulus Profile Editor before it starts execution, and it must have some side-effect that causes the Update Parameters step to work correctly.
    Jarrod S.
    National Instruments

  • Function calling only the last Javascript API

    All,
    I have a function in my page header:
    function DisableANo(){
    //1
    $f_DisableOnValue('P20_B','AAAA','P20_A');
    //2
    $f_DisableOnValue('P20_B','BBBB','P20_A');
    //3
    $f_DisableOnValue('P20_B','CCCC','P20_A');
    I am calling this function on Item B's onChange event.
    When I do this, only the last //3 API is being called. If i remove //3 and have only //1 and //2, then I get //2 to work and if I remove //2 and have only //1, then I can get //1 to work.
    Can you please tell me where i am going wrong?
    Thanks!

    spriya wrote:
    Hi,
    I am trying to disable the item P20_A if the value of item P20_B is in 'AAAA' or 'BBBB' or 'CCCC'.Review the documentation:
    >
    $f_DisableOnValue(pThis, pValue, pThat)
    Checks the value (pValue) of an item (pThis). If it matches, this function disables the item or array of items (pThat). If it does not match, then the item is enabled.
    >
    So in this code (and code should always be posted using <tt>\...\</tt> tags):
    function DisableANo(){
    //1
    $f_DisableOnValue('P20_B','AAAA','P20_A');
    //2
    $f_DisableOnValue('P20_B','BBBB','P20_A');
    //3
    $f_DisableOnValue('P20_B','CCCC','P20_A');
    }If <tt>P20_B == 'AAAA'</tt> //1 will disable <tt>P20_A</tt>, then because <tt>P20_B == 'AAAA'</tt>, //2 will enable <tt>P20_A</tt> because <tt>P20_B != 'BBBB'</tt>, and so on etc...
    Try <tt>$x_disableItem</tt>:
    $x_disableItem('P20_A', (($v('P20_B') === 'AAAA') || ($v('P20_B') === 'BBBB') || ($v('P20_B') === 'CCCC')))

  • How to calculate call duration using java card API

    Hi,
    I am developing an application using Java card API. I want to calculate duration of otgoing calls in it. I am trying to start timer at the beginning of call in Call Control event. Can someone kindly check following code of Call control event? Here timerManagement function is sending proactive command for starting timer for 3 hours. Here I am asuming that maximum call will be of 3 hours. In callDisconnect event i can get current value of timer and use it to calculate duration of call. But this scenario is also not working.
    Problem is that during code execution program stuck at send command (proHdlr.send();) of timmerManagement function. I am sending postAsBERTLV command before starting timer so may be reason is that it is not possible to send proactive command while phone is busy.
    But I also cannot send postAsBERTLV after timerManagement function. Because it is mention in specification that "The EnvelopeResponseHandler content must be posted before the first invocation of a ProactiveHandler.send method or before the termination of the processToolkit, so that the GSM applet can offer these data to the ME (eg 9Fxx/9Exx/91xx). After the first invocation of the ProactiveHandler.send method the EnvelopeResponseHandler is no more available"
    Take a look at following code
                     * Method illustrating the use of the Call Control event.
                    private void callControlService() {
                                    /** @todo: Replace following sample code with your implementation */
                                    ProactiveHandler proHdlr = ProactiveHandler.getTheHandler();
                                    EnvelopeHandler envHdlr = EnvelopeHandler.getTheHandler();
                                    ProactiveResponseHandler rspHdlr = ProactiveResponseHandler
                                                                    .getTheHandler();
                                    EnvelopeResponseHandler envRspHdlr = EnvelopeResponseHandler
                                                                    .getTheHandler();
                                    durationCount = 0;
                                     // allow call with no modifications
                                    envRspHdlr.postAsBERTLV((byte)0x9F, (byte)0x00);
                                    // start clock using timer
                                    timerManagement(proHdlr, rspHdlr, (byte) 0x0, timer_id, tempBuffer);
                                    return;
                    }Please help me in this regard
    Thanks
    Yasir

    I am also unable to start timer in call connected event. I cannot send any proactive command while phone is busy. I am using Gemalto development Suite and there simulators (Simulation 2G chain).
    Is it limitation of simulator that you cannot send any proactive command while phone is busy?
    Is there any other work around for getting call duration?

  • Calling MDM Assignments through Java API

    Hi there!
    Is there any way to call MDM assignment rule from Java application? As far as I know, there is no appropriate API function available (even in MDM 7.1), but may be there is some workaround to call these rules indirectly?
    Any help will be appreciated.

    Hi Ivan,
    As you already mentioned there are no Java API's to call assignments written in MDM.
    1. You can handle this by creating a workflow with only assignment component. But this activity will be a manual activity.
    2. You can also write assignments in Portal.
    Hope it hepls.
    Regards,
    Pramod

  • How to call web services from Acrobat API using VC++

    Hi,
    I have api plugin which installs custom menu and tool bar to adobe acrobat. In this plugin once user installs this plugin, he need to activate this tool by entering key value. this limites to limited number of users (which is decided by client while buying).
    I am using javascript and VC++ with Visual studio 2008.
    So can some one suggest me how can i achive this.
    Thanks
    Shiva

    First, this is the scripting forum.  You want the SDK forum.
    Second, this isn't an Acrobat issue.  It's a C++ programming issue. If you want to connect to a web service you'll need to use the windows or mac socket interface.  If you're doing this using MFC then there is a library for internet interactions. If not, I'm sure there is still a library for it, I know there is a system API, you'll just have to look around.  But the main point is that it's completely outside the Acrobat SDK.
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • Output param and call of standard effects from API

    I have two questions.
    1) how can i output parameters? The supervise option is usefull to make a change in parameters each time a parameter is changed... but if i want to change a value of parameter according to my image, how can i do?
    I want to compute some point or color, and make them available in the parameter windows so that it can be connected afterwards with expression to other effects parameters...
    Using arbitrary type + event callback would solve the problem?
    2)My second question is: can I apply from the API an effect other than the one I am working on?
    for example, I would like to apply a color key effect on the input layer before I apply my effect. Is it possible? or am i oblige to either program again colorkey, or apply it before outside the API?

    about outputting parameters:
    you can apply a value to any standard parameter in any effect using StreamSuite2()->AEGP_SetStreamValue() for constant values, or KeyframeSuite3()->AEGP_SetKeyframeValue() for time varying streams.
    (no problem with point, and color. but I'm not sure about arbitrary)
    and also set PF_OutFlag_REFRESH_UI, so the user can see the change.
    as for applying a different effect:
    that a tricky one.
    EffectSuite3()->AEGP_ApplyEffect(), will apply any effect you want as long as you have it's AEGP_InstalledEffectKey.
    the illusive install key may change between computers, installations and even re launches of AE.
    so each time your plug-in launches you must ensure you have the correct install key.
    to do that you need to go through every effect installed and check it's MatchName using EffectSuite3()->AEGP_GetEffectMatchName(), AEGP_GetNumInstalledEffects() and AEGP_GetNextInstalledEffect().
    the match name for the color key is something like "ADBE ColorKey".
    this may also change, if adobe would decide to rename their plug-in internally. (unlikely, as it would invalidate this plug-in for old projects, but don't bet your life on it)
    you're not out of the woods yet.
    the worst is still to come.
    you can only apply effects at a higher position in the effects stack.
    i.e. if your effect is 3rd in the stack, you can only apply and effect at position 4 and up.
    it gets worse now.
    CS3 will crash if your effect isn't the last in the stack while applying a new effect.
    and that's not the worst news.
    any attempt to reorder the newly applied effect using EffectSuite3()->AEGP_ReorderEffect(), to a position prior to your effect, will launch an error message.
    it woun't make AE crash, but it will send a nasty message + error sound each and every time.
    and even that wasn't the worst news.
    the reason for all these problems is that these functions were intended to be used by AEGPs and not effects.
    changing an effect stack from an effect within that stack, wrecks havoc on AE's internal checks.
    that was the worst bit.
    the only solution i found was using a separate AEGP, that lurks in the shadows and identifies (either by itself or by sending it a message from your effect) an event in which effects need be applied and re ordered, and does that ONLY during AEGP_IdleHook.
    that means these changes don't happen while this effect stack is in use.
    it's the long way around, but it's the only way that worked for me.

  • Apps Adapter API is called before Db Adapter inserting data

    Hi All,
    I am using a bpel process which calls db adapter to insert/update data in staging table, after this activity i am calling a Apps Adapter PLSQL API where it takes the data from staging table and performs some functionality. But the problem here is Apps adapter PlSQL API is getting called before isnerting data in staging table.
    Below are the steps in BPEL Process,
    1. receive activity
    2. data transformation
    3. invokes db adapter through merge operation to insert/update in staging tables
    4. invoke Apps Adapter PLSQL API
    Error is thrown at Apps Adapter invoke activity, saying null values. presently we used a wait activity before invoking apps adapter.
    Do the invoke of Apps Adapeter doesnt happen after Db Adapter inserting data?
    Thanks,
    Ra

    Hi Team,
    Even I faced the same problem.
    I am checking, do we have any configuration setting to avaoid these kind of problem.
    Even my process has point 2 & 3 in a single sequence and point 4 in another sequence.
    Any help to resolve this problem is greatly appreciated.
    Thanks for your help in adavance.
    Cheers
    Chandru

Maybe you are looking for