Trouble using an asynchronous CFC proxy in CF 9

I'm having trouble with cfajaxproxy. I've copied demos and they work as far as displaying the correct cfc invocation response in the ajax debugger.
But - I can't seem to get setCallbackHandler to work. The data never comes back. This question has been asked before, but not answered.
I'm using CF 9. My code is below.
Any leads would be much appreciated.
Thanks.

Additional info: This is the error I'm getting:
The path to the CFC must be  specified as a full path, or as a relative path from the current template,  without the use of mappings.
I've tried full path, relative path. I tried moving the cfc into a different folder and getting to it that way.
BTW - Is my tag correct using a jsclassname with the same name as the cfc?
<cfajaxproxy cfc="asynchproxy_ajx_notemplate" jsclassname="asynchproxy_ajx_notemplate">

Similar Messages

  • Is Asynchronous ABAP proxy client possible without XI ?

    Hi there,
    Does anyone of you know if it is possible to create an asynchronous ABAP proxy client, without XI, thus directly in a SAP ERP 60 ABAP ?
    Karim

    Hi Anton,
    thanks for your answer, it confirmed what I was thinking (asynchronous not possible in that case).
    Now this leads me to a second question:
    I would like to implement the scenario "acknowledge only and receive full answer later".
    As you indicate: "...additionally to your webservice client you have to provide a webservice, which the receiver calls once it completes your request..."
    In order to do this, I must practice as follows:
    The service I call is using the WS-Addressing specifications.
    Therefore, the information regarding the webservice that will be called when the request is completed should be sent as a special SOAP WS-addressing parameter, that should be indicated in the header of the SOAP Message, here is an example:
    (001) <S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope"     
                    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    (002)   <S:Header>
    (003)    <wsa:MessageID>
    (004)      uuid:6B29FC40-CA47-1067-B31D-00DD010662DA
    (005)    </wsa:MessageID>
    (006)    <wsa:ReplyTo>
    (007)      <wsa:Address>http://business456.example/client1</wsa:Address>
    (008)    </wsa:ReplyTo>
    (009)    <wsa:To>http://fabrikam123.example/Purchasing</wsa:To>
    (010)    <wsa:Action>http://fabrikam123.example/SubmitPO</wsa:Action>
    (011)   </S:Header>
    (012)   <S:Body>
    (013)     ...
    (014)   </S:Body>
    (015) </S:Envelope>
    You can see that the WS-A specific part is in the header of the SOAP Message, not in the body, so not covered by the WSDL.
    Question: Is it possible to include this in the header of the SOAP Message generated by the ABAP proxy client ???

  • CFAJAXPROXY: "The specified CFC proxy could not be found."

    {ColdFusion 8, latest, Windows.}
    The following statement occurs (in an included CFM file):
    <cfajaxproxy cfc="crv2_js" jsclassname="ServerProxy">
    The "crv2_js.cfc" file is indeed located in the same directory.  (If you request it at the same URL, and enter the administrator password, a nice formatted description of the library and its methods dutifully appears, so it is there...)
    But the error is:
    The specified CFC proxy could not be found.
    The path to the CFC must be specified as a full path, or as a relative path from  the current template, without the use of mappings.
    Looking also on the Administrator screen, I confirm that the directory is not mapped.
    Other, <cfinvoke> calls have been used to a sister CFC-library in the same directory without incident.  So I am confident that the message that I am seeing is somehow bogus ... but I do not yet know what sort of "bogosity" it must be.

    Now here is something I didn't expect to see.  When I turned on "extended error information" (or whatchamacallit...) I got this additional information in the displayed log:
    The specified  CFC proxy could not be found.
    The path to the CFC must be  specified as a full path, or as a relative path from the current template,  without the use of mappings.
    The  error occurred in C:\Inetpub\wwwroot\NCPT\CRV2\cr_PrototypeManager.cfm: line  235
                                        <cfgridcolumn
                                         name="DefinitionIsLocked"
    233 :                                     header="Is In Use"
    234 :                                     type="boolean"
    235 :                                     select="no">
    236 :                                                                 
    237 :                                    </cfgrid>
    (Ooh... formatted!  Now ain't that slick!)
    I took the liberty of pasting-in lines 231-232, which the debugging-output did not include.  In fact, here is the entire block of code:
    <cfgrid name="datagrid" pagesize="5" format="html" width="100%" height="200"
    "cfc:proxy.GridSource_ReviewPrototypes({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{c fgridsortdirection},getPageSize())">
    <cfgridcolumn
       name="ID"               
        header="ID"                
       display="false"    >
    <cfgridcolumn
       name="TemplateName"       
        header="Template Name" >
    <cfgridcolumn
       name="PrototypeClassName"   
       header="Prototype Class" >
    <cfgridcolumn
       name="Description"
       header="Description">
    <cfgridcolumn
       name="Enabled"
       header="Enabled"
       type="boolean">
    <cfgridcolumn
       name="DefinitionIsLocked"
       header="Is In Use"
       type="boolean"
       select="no">
    </cfgrid>
    So...  why on earth would an error like that be showing up at a place like this?  (Removing the "select='no'," on the wild-guess theory that it might be "the odd man out," as-expected had no useful effect.)
    My hypothesis here is that the "failure location" actually has nothing to do with anything:  this is simply the last clause in the CFGrid construct, and the computer is now trying to place a call to this function:
    <cffunction name="GridSource_ReviewPrototypes" access="remote" returntype="any">
      <cfargument name="page"                 required="yes">
      <cfargument name="pageSize"             required="yes">
      <cfargument name="gridsortcolumn"       required="yes">
      <cfargument name="gridsortdirection"    required="yes"> 
        <cfargument name="customPageSize"       required="no"     default="0">
    Uh huh... straight out of a demo.
    I thought I had just-now discovered the problem, as I was writing this, because the "bind" expression had two additional parameters which are not listed in <cfargument> tags.  But, much to my surprise, it didn't fix it.
    To be absolutely complete in my description:
    In an included header-file, we have:  <cfajaxproxy cfc="crv2_js" jsclassname="ServerProxy">
    On this (Windows) host, the file-name of the CFC file is "crcv2_js.cfc" and it is located in the same directory as both the cfm and the included cfm.
    In the <head> portion of the main page, we have (in an in-line <script> tag):    
    var proxy = new ServerProxy();
        proxy.setErrorHandler(showError);
        proxy.setCallbackHandler(handleResult);
    I'm starin' at this thing and starin' at this thing and everything I see is screamin' at me, "bogus!"    'Cept I know it can't be.
    The generated page-source code includes the following, including a bit which I have highlighted in bold face.  I don't know where that bit came from.
    <script type="text/javascript">
    ColdFusion.Ajax.importTag('CFAJAXPROXY');
    </script>
    <script type="text/javascript">
    var _cf_crv2_js=ColdFusion.AjaxProxy.init(
      '/CRV2/crv2_js.cfc','ServerProxy');
    but it does seem plausible since the URL to the site-page (on case-insensitive Windows) is, indeed: 
       http://tlcapps/crv2/cr_PrototypeManager.cfm
    and, again, if I type in  "http://tlcapps/CRV2/crv2_js.cfc" and prove that I do know the proper ColdFusion admin-password, I get a nice pretty-printed description of this library and its methods... including the one I am trying to call.  It does exist.

  • McAfee SiteAdvisor is no longer working with my Safari 8.0.  I never had trouble using it with Safari before this latest version.  Has anyone else had this problem?

    McAfee SiteAdvisor is no longer working with my Safari 8.0.  I never had trouble using it with Safari before this latest version.  Has anyone else had this problem?  I contacted McAfee support and they said nobody else is reporting this issue.

    Wow, life is certainly tough for you.
    S***t happens.  That's why there's a warranty.

  • How to make use of asynchronous service in CAF development

    Hello SDNs,
    How can we make use of asynchronous service in CAF development;
    Actually i am new to CAF development; my business requirement suites for the service provided by SAP. But the service provided is asynchronous; is it not possible to use the asynchronous service in my CAF application? if it is possible, can any one please tell me the drawbacks of using it!
    You help would be highly appreciated.
    Thanks,
    Sireesha.B

    Hi,
    >> I have some portal service and how to use that in the web dynpro application.
    Yes. U can use Portal service in webdynpro. Check the link given by subathra.
    >> and also what is the main diff between Portal Component and web dynpro application
    Portal Components are components designed to run in portal server while webdynpro application can run in J2EE WebAS.
    >> do we required portal to run web dynpro application.
    No for general cases. Just WebAS is sufficient to run webdynpro appl. But if u use portal service in ur webdynpro appl, then make sure both (portal service and webdynpro appl) run on same J2EE engine. That is mandatory.
    Regards,
    Vijai

  • I'm having trouble using Adobe Reader

    I'm having trouble using or uninstalling Adobe Reader, i get a message when the programme has been anitiated which says Adobe Reader has encountered a problem and needs to close, i went on to Adobe's website and it said try uninstalling Adobe Reader and then re-install it as this sometimes works, i tried un-installing it from the Add or Remove programme but that didn't work either as i got another message telling me that the patch package could not be verified and to make sure i have permission.

    Dear Mylenium.
    Sorry i don't quite understand your reply, What do you need to know?

  • HEEEEEELP - trouble using Apple ID

    Some time ago i changed my e-mail adress and therefore i had to change my Apple ID to the new e-mail. So far so good.
    I now have trouble using my Apple ID on my iPhone. It automatically logs on the old Apple ID, but there is no code for that Apple ID anymore. When i use the password i used with my old Apple ID, it will not accept (i have not changed it - only the "username")
    When i go into my Apple ID account, the old e-mail adress is deleted (only the new e-mail adress is in my account), so how can it be, that the old Apple ID is the one my phone wants to use?
    I have tried changing my password on the old account, by pressing "fotgot password", but the mail to reset my Apple ID is sent to my new e-mail and therefore it is the password to my new Apple ID i'm changing.
    I hoped it only was a problem because the old phone had already been logged in with the old Apple ID, but i have just recieved my new iPhone 5s and now i can't get all my previous purchases and stuff to the new phone, because it also wants to use the old Apple ID, and i still have no password.
    It is also causing my iCloud to not work proberly.
    What to do? Hope someone can help me.

    I just skipped the part of the setup with my old e-mail, and did the setups manually when my new phone was done setting up. Now I can use my Apple ID and iTunes and iCould account for the first time in months.
    Thank you for your help!

  • A website says i need to use a UK based proxy for their site. I am based in England!

    This is what the site says when I try to view it even though I am in England >>
    Licencing restrictions require that Kiss Kube is only available to UK based listeners. Kiss uses a system to determine your geographic location via your IP address to make the decision.
    Multi-national corporations and internet service providers sometimes have their network configured in such a way that it makes it appear to the Kiss Kube that you are trying to listen from another country.
    If you are in the UK, please ask your IT department if you're able to use a UK based proxy for internet access.
    == URL of affected sites ==
    http://http://kube.totalkiss.com/browser.php

    What does this web page say about your location?
    http://whatismyipaddress.com/

  • Timeout Error in Call Transaction on Asynchronous Abap Proxy

    Hi Gurus!!
    We have a problem with a Call Transaction on Asynchronous Abap Proxy. When the process of Call Transaction (transaction CO02) takes more than 10 minutes, the process is cancelled with sy-subrc 1001 and the Abap Proxy continues with the execution. Strangely, there is a short dump in ST22 on transaction CO02, although on the ABAP Proxy we don't get any dump.
    When this process is called from a Background Job no dumps are get.
    Somebody knows if there is a problem with the Asynchronous ABAP Proxy executing CALL TRANSACTION statementent?
    Thanks and regards,
    Manuel.

    and the message after recording is
    Number               1
    Transaction          F-22
    SY-SUBRC             0
    Messages
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0330WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    S F5 312                   Document 100001677 was posted in company code 3100

  • Fault message in asynchronous ABAP Proxy

    Hi,
    I have a question about fault messages in asynchronous ABAP proxy server.
    The configured scenario is SOAP – XI – ABAP Proxy. Between XI and the ABAP Proxy I have configured an inbound asynchronous interface with a fault message, and then I have generated all the classes and implemented some code for exception handling in the ABAP Proxy side successfully.
    When I tested negative cases, the exception raises and it is visible in the SXMB_MONI transaction in the R/3 side, but this exception is not displayed in the SXMB_MONI of XI it just displays a successful delivery to the ABAP Proxy message.
    According the XI documentation it says “<i>In the asynchronous case, you can see a fault message in the monitoring of the Exchange Infrastructure.</i>” But this is not working.
    Am I missing something?

    Hi,
    This parameters are form group RUNTIME.
    Please check it:
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/content.htm
    Regards,
    Wojciech

  • RFC (using AAE) vs IDoc (Using IE) vs ABAP Proxy (using IE) in PI7.1

    Hi All,
    In previous versions of SAP PI, SAP recommends the use of IDoc or Proxy over RFC mainly due to performance reasons, but with PI 7.1, RFCs can use AAE which significantly boost its processing.
    So the question is, with PI 7.1, is the performance of RFC adapter using AAE good enough that is should be considered over IDocs (using IE) & Proxies (using IE)? Please provide elaborate reply.
    Thanks,
    Rahul

    >>>>>So the question is, with PI 7.1, is the performance of RFC adapter using AAE good enough that is should be considered over IDocs (using IE) & Proxies (using IE)? Please provide elaborate reply.
    Answer: If your major objective is only the performance factor then you can go for AAE using RFC. But RFC's individual processing performance is slightly lower than idocs and proxy.
    Though AAE monitoring is just only in RWB,  But due to less persistence steps involved in the entire processing, RFC with AAE supercede other options.
    IDOc using IE vs Abap Proxy using IE --- I would recommend only Abap Proxy using IE. Plus you get all the monitoring features here.

  • Trouble using AirPlay between iMac and AppleTV

    I'm running OS X Lion 10.7.5 and I'm having trouble using AirPlay between iMac and AppleTV (2nd Gen).  It used to work fine, but for some reason it just stopped responding.  I can see my media on my iMac from AppleTV and I can see AppleTV from my iMac when attempting to use AirPlay.  However, when I try to pull or push media from my iMac to AppleTV it just stalls and never loads.  AirPlay works fine from my iPhone and iPad with AppleTV - it's limited to my iMac only. 
    I'm using a Netgear R7000 wireless router and a Netgear AC120 WiFi Extender and as such, I have 4 available wireless networks (2 from the router and 2 from the extender / 2 - 2.4 GHz and 2 - 5 GHz).  My internet access is great and my network performance is good across the board.  All of my software/firmware is up to date (iMac, AppleTV and router/extenders). I've tried all combinations (mixing/matching) all of my wireless networks between devices (iMac/AppleTV) - nothing makes a difference (again, AirPlay works fine between my mobile devises/AppleTV).  Netgear Genie has been making changes to my network settings as new firmware has been installed in both the router and extender.  I'm guessing there is something screwy going on with the network settings on the iMac, but I can't figure it out.
    Anyone have any suggestions?
    Thanks!

    I'm glad you got it all working. Out of interest, how do you (or your son) connect to the internet now? Is it just a dial-up connection? If it is, I am sure you know that, even if you get the Apple TV to share the connection, the speed will seriously limit the use of many of the Apple TV's features.
    The Airport Extreme is a great router but you will need a DSL or cable modem as well as it won't connect to the internet without one. There are many great (and cheaper!) combined modem/routers available if your son wants to get a high-speed network up and running at lower cost. Any other computers, phones, games consoles etc that you may have in the house can then all connect easily.
    I hope that I have helped a little and I will look out for future posts in case I can help again.

  • Trouble using facetime on another device with same apple id

    Hi
    I am having trouble using facetime with my wife.  I have an iPad 2 and she has an IPhone 4S.  When we try to facetime, we are able to connect for a few seconds and then it drops off.  We are then unable to reconnect.  We both have the same apple Id and e-mail address although I am trying to contact her via her mobile number.  Any suggestions would be grateful received.

    Get an email address (free gmail.com) to use on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Trouble using Safari on start-up with pop-up error

    Hi,
    I'm having trouble using Safari. Every time I open up the application, a small screen popped up saying "Error- Failed to load the FastBrowserSearchPlugin plugin.* -[BrowserWindowController currentWebView]: unrecognized selector sent to instance 0x7aa570". What can I do to get rid of this issue. I am assuming it has something to do with the Fast Browser Search engine located on the top right of the safari app. Help me please! Any help will be appreciated. Thank you.

    HI and welcome to Apple Discussions...
    You need to uninstall that plugin.
    Go here for instructions on how to remove it.
    http://help.fastbrowsersearch.com/
    I think you'll find it in: ~/Library/Internet Plugin-ins
    ~ (Tilde) represents your Home folder.
    Carolyn

  • Trouble using Java on my MacBook

    I have tried everything and I am STILL having trouble using Java and Javascript on my MacBook. I have attempted to delete and reinstall Java. I have run the update. I have checked that both Java and Javascript are turned on in Safari. I am unable to use Java and Javascript on several websites. For an example, I am unable to use the photo uploader on Facebook.com. I am using a MacBook with 2.2 GHz Intel chip and OSX 10.5.3

    Hi all,
    I've got probably the same problem. Got a MacBook (2.4GHz Intel Core 2 Duo, black) and did the Apple Migration App to get all data from a PowerBook (with Leopard on it). Did all updates.
    Safari and Firefox don't want to show any JavaApplet.
    Is there a problem between old PowerPC and Intel-Plattform.
    Maybe it would be a good idea to reinstall Java, but how?
    Thanks for suggestions!
    Simon

Maybe you are looking for

  • How do I display the web address within Adobe PDF Reader 10 & IE 9 64-bit?

    Until a week ago, I was using IE 9 32-bit version together with Adobe PDF Reader 10.    When I would try to open a PDF file from within the browser, it would and the Web Address would continue to display at the top of the window while browing the PDF

  • Assets report------urgent

    Hi all Gurus, I am new to Assets. I am trying to run the reports for Assets. 1.Asset balances 2.depreciation 3.asset history I am getting an errror"fiscal year not maintianed for the Company code aaaa" can any one let me know what i should do solve t

  • Order confirmation USD price convert in Riyal

    Dear Expert in order confirmation price are coming in dollar i want to convert this in riyal where can i multiply this in sap script and how? please its very urgent. help me. Regards ahmed

  • Roles for IAM users

    Hello, I am following the different steps for being able to connect to the systems in cloud for the first time. At one step, it is required from SAP CAL to assign 4 roles to our IAM users, which are AmazonEC2FullAccess, AmazonVPCFullAccess, ReadOnlyA

  • Cannot purchase or rent a movie on my iPad.

    When trying to rent or buy a movie on my iPad I press 'rent $4.99' it turns green that says rent movie. Press that and back to the gray button. I can buy music. I can also buy and rent movies and music on my phone.