HTTP trigger - Calling failed - 9.0.2.10000-71

Hi,
I have created a HTTP trigger in Premium licensed UCCX server (9.0.2.10000-71). When I try to call the URL from java application I am getting HTTP error code as “404”. However HTTP trigger calling is working fine in the servers with the version of 8.5.1.11004-25 and 9.0.2.11001-24.
Do I need to run any patch for the fix?  Please provide suggestion to fix it.
Thanks
Rammipriya

Hi,
there are multiple issues with this whole setup:
1. You are getting a 404 status because this script does not return anything. Not a single byte of information. You should probably use a Send HTTP Response step with at least a plain text message.
2. You cannot use anything from the sun.* packages. There is no exception from this rule. If you were in my team, for writing such code you would be thrown out without any questions asked.
3. Although I see the point of this application (collect all files from the local file directory referenced by sysprop "uccx.customer.dir" I would not choose a slow and cumbersome protocol like FTP. I mean, if it's already a HTTP application, it would be a lot easier to get the files from the directory, zip them up (remember, both java.util.zip.GZIPOutputStream and java.util.zip.ZipOutputStream are available in JRE at least since 5.0) and send the zipped files over the already established HTTP connection. Fast and easy. 
G.

Similar Messages

  • HTTP Trigger calls CSQ

    Hi,
    I am trying to create a script that is triggered by an HTTP request from an external source (powershell), this source basically does a HTTP GET which activates the script!
    I want to be able to choose a resource from the CSQ, call that resource from the script and then playback a prompt to the agent.
    I just keep getting Failed to create ICD channel for contact though at the select resource section!
    Simon

    Hi!
    Can you please tell us who the initiator and the target for this call would be! You can of course have a UCCX script that initiates the call to a specific destination!
    Also, please attach a screenshot of the script! Or at least the relevant part of it!
    Thanks!
    G!

  • HTTP trigger script using ECC variable/Call sub flow - not working

    Hello all,
    I am trying to http trigger script which will show the real time stats of the CSQs. The script is based on "Day of week" and Time of day" checking the queue time and will update the HTML doc to show as real time data. The scripts for various CSQs has multiple boolean variable (parameter, set to false by default) like "open/night/emergency/meeting" which can be set to open or close the queue by the supervisor depending on the situation. For ex, if a variable is set to True in application page for any of the Queue, I am trying to send that "true" value to the http trigger script, so that these can be shown real time.
    Steps tried:
    1. Tried using ECC variable - setting a ECC variable to True in the main script and getting that value in the http trigger script to a local variable, if found True, the display as "CSQ1 = OPEN", else "CSQ1 = CLOSED" ; but the script gave an error as attached (http1.png)
    2. Tried using Call sub flow - Like Holiday check, under the "Rest" branch of "Time of Day" - will check the queue and will get the value returned to the local variable - Failed and it shows an error as attached (http2.png)
    As of now, I have completed the script with the logic of checking the logged in agents count in the CSQs and updating the Real time data. But it has some issues like, if an agent didnt logged out properly or if an agent is asked to login during OOH although the queue is closed, as per the logged in resource logic, the data is shown as OPEN.
    Please share your thoughts on this and if you have come across such a script, kindly share as a knowledge share.
    Thanks in advance.
    Bala.

    Hello all,
    I am trying to http trigger script which will show the real time stats of the CSQs. The script is based on "Day of week" and Time of day" checking the queue time and will update the HTML doc to show as real time data. The scripts for various CSQs has multiple boolean variable (parameter, set to false by default) like "open/night/emergency/meeting" which can be set to open or close the queue by the supervisor depending on the situation. For ex, if a variable is set to True in application page for any of the Queue, I am trying to send that "true" value to the http trigger script, so that these can be shown real time.
    Steps tried:
    1. Tried using ECC variable - setting a ECC variable to True in the main script and getting that value in the http trigger script to a local variable, if found True, the display as "CSQ1 = OPEN", else "CSQ1 = CLOSED" ; but the script gave an error as attached (http1.png)
    2. Tried using Call sub flow - Like Holiday check, under the "Rest" branch of "Time of Day" - will check the queue and will get the value returned to the local variable - Failed and it shows an error as attached (http2.png)
    As of now, I have completed the script with the logic of checking the logged in agents count in the CSQs and updating the Real time data. But it has some issues like, if an agent didnt logged out properly or if an agent is asked to login during OOH although the queue is closed, as per the logged in resource logic, the data is shown as OPEN.
    Please share your thoughts on this and if you have come across such a script, kindly share as a knowledge share.
    Thanks in advance.
    Bala.

  • Problem with Place call in a script with HTTP trigger

    Hi!
    I'm trying to develop a sample script, associated to an application that has an HTTP trigger. I'm working with UCCX Premium 8.5.1
    The trigger is working OK, but the place call output is allways "unsuccessful". The number to call and the redirect number are extensions of the same IPT platform.
    Below you will find print-screen of the script. Besides, I'm attaching the .aef file.
    Any help would be appreciated. Thanks in advance.
    Roy.

    The value in your "Call Control Group" must match the "Group ID" in your CM Telephony Call Control Group Configuration
    This is from my lab system so the "AgentsLoggedIn" variable would need to contain 1 or 3. You are telling the script which CTI port group to make the call with. You have a 0 in your AgentsLoggedIn so do you have a Group ID of 0?
    Your CTI group must be able to make the call so must have the correct partition/Calling Search Space
    Graham

  • Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK

    Hi PI gurus,
      Need some suggestions on one issue below -
      Scenario - proxy (SAP) to SOAP (Web based system)
      In the RWB Communication Channel Monitirong we are receiving the below error
      " Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK"
    the request from XI system is going to target system and printing the lables (as per the functionality) with no issues but the comminication channel is giving the above error and this is causing the repeated sending the same request to target sytem and the data is printing repeateadly. This issues is occuring in Quality environment.
    Strangley the same Interface with the same connectivity details is working fine in Development environment. But not working in Quality environment. Checked the firewalls settings on both in XI and Target system side and confirmed that everything is fine.
    Below are the Logs both from Quality and developement are as follows
    Quality ( Failure Case) 
    17.03.2011 07:19:59 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:25:03 Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK
    Development     (Success ful)
    17.03.2011 07:27:55 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:27:58 Success SOAP: completed the processing
    When we checked with basis team on user id J2EE_GUEST,  they confirmed that they are same in Development and Quality.
    I repeat,, that the same target url and everthing is same in XI Configuration
    Thanks in Advance. Points would be rewared for the best solution.
    Thanks,
    Jitender

    HI Jitender,
          If your scenariois working in DEV and if it is not working in QAS.Could you please check if both the systems are at same patch levels..
    Please refer below notes :1551161,817894,952402.
    Cheers!!!
    Naveen.

  • Flex4 Zend AMF error - NetConnection.Call.Failed: HTTP

    Hi,
    I'm working with FLEX 4 (developing in flash builder 4 plugins for eclipse) and PHP Zend Framework v 1.9.
    When I run the application from the flash builder the AMF comunication work fine, but when I try to run directly from URL in a browser I got the following error: 
    Send failed
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/Project-debug/gateway.php'
    I think that I get this error since I have update my flash builder plugin.... previos version of my .swf project didn't give my this issue.
    Somebody can help me? I don't realy have any idea how to solve this problem.
    P.S.
    I don't have services-config.xml file in my project cause the amf zend samples that I followed don't say to create it, somebody knows why flex 4 doesn't need it?
    Thanks

    The MessageBroker servlet is not installed properly. The context-root of the two Tomcat LC DS installs must be different. Test hitting the context-root Flex_App on both machines (http://hostIP:8080/Flex_App). If the context-root is valid you will hit the index.html page of the valid context-root which looks like this...
    Welcome to Adobe LiveCycle Data Services ES2 Version  3!
    This is an empty LiveCycle Data Services ES application that serves as a  template for creating your custom application.
    Visit the product page for documentation and further information.
    Steve

  • Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500

    I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
    createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
      body = (Object)#1
      clientId = (null)
      correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
      destination = ""
      extendedData = (null)
      faultCode = "Client.Error.MessageSend"
      faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
      faultString = "Send failed"
      headers = (Object)#2
      messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
      rootCause = (mx.messaging.events::ChannelFaultEvent)#3
        bubbles = false
        cancelable = false
        channel = (mx.messaging.channels::AMFChannel)#4
          authenticated = false
          channelSets = (Array)#5
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          failoverURIs = (Array)#6
          id = (null)
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#7
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            maxPeerConnections = 8
            objectEncoding = 3
            proxyType = "none"
            uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
          recordMessageSizes = false
          recordMessageTimes = false
          requestTimeout = -1
          uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          useSmallMessages = false
        channelId = (null)
        connected = false
        currentTarget = (mx.messaging.channels::AMFChannel)#4
        eventPhase = 2
        faultCode = "Channel.Connect.Failed"
        faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
        faultString = "error"
        reconnecting = false
        rejected = false
        rootCause = (Object)#8
          code = "NetConnection.Call.Failed"
          description = "HTTP: Status 500"
          details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          level = "error"
        target = (mx.messaging.channels::AMFChannel)#4
        type = "channelFault"
      timestamp = 0
      timeToLive = 0

    halodev:
    I made a CF/Flex site based on the Flexstore sample app,
    using a database instead of XML as the data source; in case you
    want to see it:
    http://www.timos.com/dg/flex/DilemmaGames.html
    At first I had troubles similar to what you describe;
    initially, part of the problem was that my hosting company had not
    yet upgraded to CF 7.02. One other thing I had to correct: when you
    upload to your server, upload the entire ‘bin’ (or
    whatever your output folder is) minus the debug SWF.
    If it would help with other issues, contact me and I will be
    glad to make my project code available to you. Good luck.
    Carlos
    [email protected]

  • Channel.Call.Failed NetConnection.Call.Failed: HTTP: Status 500 with amfphp php and mysql

    I have been scripting a simple database connection to check login credentials and am comming accross these errors:
    Channel.Call.Failed
    NetConnection.Call.Failed:
    HTTP: Status 500
    Any PHP code I run that is not connecting to MYSQL runs fine. But if I try to connect to the database thats what I get.
    Here is my mxml:
    <s:RemoteObject id="LogInService"
                                 source="Novus.NovusUser.getLogIn"
                                 destination="AMFPHP"
                                                                fault="faultHandler(event)"
                                 showBusyCursor="true">
                                  <s:method name="getLogIn" result="onResult(event)" fault="faultHandler(event)"/>
    </s:RemoteObject>
    Which calls this actionscript:
    private function btn(event:Event):void
                                                 switch(event.target.id)
                                                           case "LogInSubmit":
                                                                          LogInService.getLogIn(UserName.text, PW.text)
                  break;
                                  private function onResult(result:ResultEvent):void
                                                 Alert.show("Result " + result.token.result);
                                                 if(result.token.result == true)
                                                                currentState = "Main";
                                                 else
                                                           Alert.show(String(result.token.result));
                                  private function faultHandler(fault:FaultEvent):void
                                                 CursorManager.removeBusyCursor();
            var errorMessage:String = "code:\n" + fault.fault.faultCode + "\n\nMessage:\n" + fault.fault.faultString + "\n\nDetail:\n" + fault.fault.faultDetail;
                                                 Alert.show(errorMessage);
    and calls this PHP:
    If I comment out the database connection it returns a false value to me just fine but with it there it throws an error
    <?php
    class GetLogIn
                   private $_db;
                   public function getLogIn($U, $P)
                             //Connect To Database
                             $hostname='127.0.0.1';
                             $username='root';
                             $password='*********';    //not realy ***** blocked it out
                             $dbname='mydatabase';
                             try
                                            mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');
                                            mysql_select_db($dbname);
                                            $sql = "Select * FROM empusr WHERE UserName = '$U' and Password = '$P'";
                                            mysql_close();
                                            if ($sql)
                                                           return true;
                                            else
                                                           return false;
                             catch
                                            return 'Unable to connect to database! Please try again later.';
    ?>
    I have a crossdomain.xml but I am unsure if I have it placed right.
    I also have a services.conf but am unsure if that also needs to be altered to adjust for MySQL.
    Any help would be appreciated. 

    Found the problum
    The connection string had to be placed in the public _constructor function of the class.
    <?php
    class EmployeeService
              public function __construct()
                        $hostname='127.0.0.1';
                        $username='root';
                        $password='*********';
                        $dbname='myDatabase';
                        mysql_connect($hostname,$username, $password);
                        mysql_select_db($dbname);
              public function logIn($N, $P)
                        $query = "SELECT * FROM EmpUsr WHERE UserName = '$N' AND Password = '$P'";
                        $result = mysql_query($query);
                          if ($result)
                                    return true;
                          else
                                    return false;
    ?>

  • SLD data supplier - HTTP call failed

    Hi All,
    I am receiving the following error when navigating to 'Server -> Services -> SLD Data Supplier' within the Visual Administrator
    SLD_Collector_Task
    HTTP call failed: Failed to send HTTP data: 401 : Unauthorized. Please check if the target SLD system is available and the SLD bridge is started there
    The target SLD is started. How do I check if the SLD bridge is started?
    Does anyone has any advice on this error? Thanks.

    Hi Lee,
    You can check this using t-code RZ70
    Also read the post installation guide for how to configure sld bridge where your sld is running.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/500519bb-75bd-2a10-c9b7-878798ae52bc
    Regards
    Ashok
    Edited by: Ashok Dalai on Sep 25, 2008 8:09 AM

  • Place call is not working in HTTP trigger script

    All,
    I have basic hello script with HTTP trigger and CUCM trigger configured as well. I am trying to dial out an extension and play an prompt in my script. Running UCCX 7.0.1 with premium license. The place call step doesnt start at all when I do the debug. HTTP trigger and response works fine. Anything I am missing in the script.
    Regards
    Soban

    Create a Contact-type variable. Set the Place Call and Play Prompt to this second contact. You cannot play a prompt or make a call to the triggering contact when the script was triggered by an HTTP contact instead of JTAPI.

  • BCP to pass an Error Message to SSIS when the BCP call fails?

    Hi,
    Within SSIS I have an Execute SQL Task which calls BCP via a source variable given the dynamic nature of the BCP call.
    When the BCP call fails it returns a number of records which give instructions on how to use BCP. SSIS then thinks that BCP has executed successfully, the component shows green and then the package continues to run.
    But of course what I want the BCP call to do is return an error message which would then trigger the standard on error event handler within SSIS. How do I do this please?
    It maybe the “Execute Process Task” could be a better SSIS component to use for this call
    Using BCP Utility in SSIS. Does anyone have experience of doing this type of thing?
    Thanks in advance,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Why don't you use the "Fast Load" option = BULK LOAD? Or the BULK LOAD stored proc?
    The only other way I can think of this can be done is by directing errors to an error file which can be interrogated from the package and then a precedence constraint used to trigger an error if there was one.
    Arthur My Blog

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Thanks this was very useful.. I have a brand new iphone 4s unlocked version from singapore and I am having the same problem constant network fluctuations, no service, call failed, invalid sim, sim failure, bars fluctuating from 5 - 3 - 2 - 1, no signal/ba

    I have a brand new iphone 4s unlocked version from singapore and I am experiencing constant network fluctuations on my iphone , no service, call failed, invalid sim, sim failure, bars fluctuating from 5 - 3 - 2 - 1, no signal/bars searching etc... Ifeel miserable after trying out all the options changed multiple sims, tried multiple carriers, restored the phone back and have set-up as new device but the problem does not get solved... its is so frustrating that after investing on a world's most expensive phone you cannot enjoy the calling features which the phone offers which is the main thing you own the phone for.. Rest of the things are working.. The funniest part I am not able to make calls or receive calls but can access the internet..  I have tried every possible thing and really very frustrated with this iphone of mine...I hope the problem gets solved.. would anyone have any solutions to this problem.. Does it mean one should never update software as I hear that after updating to IOS.5.1 the problem has started coming and same has been with there.... Apple says its a hardware failure which is very difficult to digest as sometimes I get 5 bars and able to make and receive calls but 95% of the time I am unable to. If anyone has any solution I will be very happy if he or share can share the same. Many thanks. its so disgusting to experience this on top of this apple does not support global warranty for the phone as you need to go to the country from where you bought the phone for replacement.. Truly sad state of affairs.. very very very dissappointing.

    Have a look at this it might help
    http://support.apple.com/kb/TS4148

  • Remote procedure call failed and did not execute response after changing contents

    Hey Hey!
    I have reviewed the other posts related to this issue but have not found a solution.
    I have done myself quite a mischief and hope someone here can help me out!
    I'm running an old ACER laptop with Windows 7. This PC belonged to an old colleague and therefore all of the folders and user names were still under his name, so I decided to try to change them all to my name. The main issue was the USER folder which had
    the locked symbol next to it but it wasn't locked at all. I googled how to delete this folder and one bright spark suggested I create a new folder with my name, copy all of the folders from the other 'locked' user's folder into my folder, and then delete the
    old user's folder. 
    That was fine. All seemed well. When I tried to delete the old folder the computer sat around thinking saying it was 'moving' but not doing anything. So, I cancelled the operation in the Task Manager. When I attempted to open any folder from the start menu
    or desktop or task bar I was presented with a bunch of numbers and letters and the message "REMOTE PROCEDURE CALL FAILED AND DID NOT EXECUTE."
    I quickly googled the message realising I'd made a major error and the first response was to type in services.msc or something to that effect, so I typed that into the Start Menu search bar and hit enter and nothing came up. So, I tried again, but now I
    couldn't type anything into the search bar, I could not even select any programs from the Start Menu. 
    So, I can't access the Start Menu, search bar, or any of the folders unless I open uTorrent, select open containing folder, and from there I can access what I need.
    I'm too afraid to reboot the PC. I can't locate my copy of Windows 7 anywhere. I'm freaking out!!
    Before I pour my lowly student wage into getting a professional to fix it, could someone please offer some suggestions??
    Greatly appreciated in advance. 
    Paris, Texas. 

    Hi,
    Based on your description, for this question is more related to NetQueryDisplayInformation() API, in order to get better help, we may ask for suggestions in the following MSDN forum.
    MSDN Forum
    https://social.msdn.microsoft.com/Forums/en-US/home
    Besides, we can try to use a script to get all domain users. Regarding this point, the following script can be referred to as reference.
    How to list all active directory users in a particular domain using PowerShell
    https://gallery.technet.microsoft.com/office/How-to-list-all-active-0d9be7ce
    In addition, for scripts, we can also ask for help in the following forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Best regards
    Frank Shen 

  • Remote Procedure Call Failed - Verifying Account prior to establishing PIN as sign in option

    PC Settings / Accounts / Sign in options / PIN / Verify Account info / :  I enter my Microsoft Account password and receive the following message:
    "Remote procedure call failed"
    Cannot cancel - screen keeps reappearing.
    I have successfully established a sign-in PIN for my Win 8.1 desktop.  The above problem is occurring only on my Win 8.1 laptop.

    Hi,
    Sorry for my late reply.
    Regarding the issue, please ensure that RPC service is start.
    If it stops, I suggest you perform the following step to start it.
    1.Press Win+R, and type regedit, then press enter.
    2.Please navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcSs and
    locate Start registry key
    Double click on Start and edit the value:
    Change Startup type :
    Automatic - 2
    Manual - 3
    Disabled - 4
    Automatic (Delayed Start) - 2
    Note: When you change to Automatic (Delayed Start) a new key DelayedAutostart is created with value 1.
    When you change to Automatic from Automatic (Delayed Start), DelayedAutostart change value to 0.
    If it cannot start, please refer to the following article to test it.
    "Could not start the Remote Procedure Call (RPC) Service. Error 1058" error message when you manually start the Remote Procedure Call service
    http://support.microsoft.com/kb/838428
    Regards,
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Cancel line item in crm order

    Hi All, How can I cancel an item of a CRM order? Is this possible through BAPI ? If yes , please mention how. Thanks a lot Ajith

  • CS6 update fail: Error Code: U43M1U49

    CS6 Master Collection (on Win 8.1) updates keep failing to download/install after 2 days repeated attempts. The error code is always: Error Code: U43M1U49. Does anyone know why this could be happening or have a fix? Thanks, Gary Bird

  • Burning iTunes to CD

    I have burned to cd from this computer before but now when I try it tells me that burner software is not found.  What to do?

  • Can't access ipod touch

    Recently my ipod 5th gen's home button stopped working, and just an hour ago my iPod does not recognize some of my strokes on the touch screen. It won't let me slide to unlock or slide to shut down, I have assistive touch on but it won't let me resta

  • How to rotate objects?

    Extremely basic question I'm guessing. Simply need to rotate an object by a few degrees. Every time I do this the object increases in size. Don't want it to change size, just rotate. Help documentation didn't seem to offer any insight into how this w