Nothing but CFC errors..
Ok.. so here's the layout;
My personal computer:
Flex Builder 3
MAC Leopard
Dreamweaver CS4
Server:
ColdFusion MX 6.1 (fully updated)
IIS
Trying to build a simple CFC to retrieve a record of data from a datasource from within Flex. When I visit the WSDL URL (http://blah.blah.com/mycfc/db_getbrat.cfc?wsdl), it shows the following:
<wsdl:definitions targetNamespace="http://mycfc">
<wsdl:portType name="db_getBrat">
</wsdl:portType>
−
<wsdl:binding name="db_getBrat.cfcSoapBinding" type="impl:db_getBrat">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
</wsdl:binding>
−
<wsdl:service name="db_getBratService">
−
<wsdl:port name="db_getBrat.cfc" binding="impl:db_getBrat.cfcSoapBinding">
<wsdlsoap:address location="http://blah.blah.com/mycfc/db_getBrat.cfc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
So it appears that the CFC is working and loaded. I have even tested the code within the CFC (the SQL query and output) using a basic .CFM file, and it works perfectly. So I know the DSN and query are working.
However, when I use the following code:
<mx:WebService id="srv" wsdl="http://blah.blah.com/mycfc/db_getBrat.cfc?wdsl" useProxy="false" showBusyCursor="true" />
<mx:DataGrid dataProvider="{srv.retrieveBrat.lastResult}" width="726" height="194" x="25" y="10">
<mx:columns>
<mx:DataGridColumn dataField="contactid" headerText="Contact ID"/>
<mx:DataGridColumn dataField="firstname" headerText="First Name"/>
<mx:DataGridColumn dataField="lastname" headerText="Last Name"/>
</mx:columns>
</mx:DataGrid>
<mx:Button label="Get Data" click="srv.retrieveBrat()" x="25" y="212"/>
I get the following error in a popup after the application loads:
RPC Fault faultString="Error #1085: The element type "br" must be terminated by the matching end-tag "</br>"." faultCode="Client.CouldNotDecode" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://blah.blah.com/mycfc/db_getBrat.cfc?wdsl)"]
at mx.rpc.wsdl::WSDLLoader/faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\ rpc\wsdl\WSDLLoader.as:98]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\AbstractInvoker.as:170]
at mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\http\HTTPService.as:925]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:188]
at mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
And when I run a .CFM file to <cfinvoke..> the CFC, I get the following error:
Name: http://blah.blah.com/mycfc/db_getBrat.cfc?wdsl.
WSDL: http://blah.blah.com/mycfc/db_getBrat.cfc?wdsl. org.xml.sax.SAXException:
Fatal Error: URI=null Line=40: Expected "" to terminate element starting on line 16.
Only problem is.. there IS no line 16 in the CFC.. but that's the right one. Only one in there. And that very same URL in my browser pulls up
the WSDL info above.
Anyone have a clue as to why this is happening? I'm about to throw the computers out the window. (well.. not really.. too expensive)
Thanks to all, in advance, for any help..
couple things, how come you didnt use and mx:operation tag between the mx:webservice open and close tags? im not sure if thats even the issue but to me it makes it easier because you specify the function inside the cfc you're trying to call by doing this.
also, most of the time when you get the wsdl error you wrote of, its because of some mal-formed xml. if your result has any html tags in its output, theres a good chance youll get a parsing error because xml is wicked picky. youd wanna do a coldfusion string replace function to look for < or > signs.
if you want, post your flex and cfc code, i just finished doing a few projects doing the exact same stuff so i got it fresh in my head!
Similar Messages
-
Itunes 64-bit on Windows & 64-bit does nothing but give errors!
I've been trying to connect Iphone 3g 4.0.1 on Windows7 64-bit since last 5 days! Tried almost all the tips found on internet regarding this issue and none worked! At first simply downloaded the latest iTunes 9 (64-bit). It didnt work at all and I ended up seeing different errors. Then read this;
http://www.sevenforums.com/installation-setup/4318-release-notes-important-issue s-beta-release-windows-7-a.html
Tried that too and still getting nothing but errors. In last 5 days I encountered the following variety of errors;
Device Manager -> Portable Device -> MTP Usb Devie -> Device cannot start (Code 10)
Device Manager -> Portable Device -> Apple Iphone -> Device cannot start (Code 10)
iTunes -> iTunes could not connect to this iPhone because an unknown error occurred (0xE8000065)
iTunes -> iTunes could not connect to the iPhone "iPhone" because an unknown error occurred (0xE8000023)
iTunes -> iTunes could not connect to the iPhone "iPhone" because an unknown error occurred (0xE8000035)
iTunes -> iTunes could not connect to the iPhone because an invalid response was received from the device (0xE8000001)
I even tried programs like iPhone Explorer, DiscAid, iFun-box etc. None worked. And now looking for a final answer. Will it work on Windows 7 or not? I am too tired of trying now.I don't know if this will help, but folks on Windows systems (typically laptops) with PM55 chipsets (like their brethen with P55 chipsets and other chipsets in the 5 series and 3400 series) have been reporting a lot of trouble with iPod/iPhone syncing (in particular, 0xE0000065 error messages, but the symptoms may vary).
In cases where no BIOS updates are available, and the BIOS does not have a user configurable C-STATE setting, some success has been achieved by using an old trick ... changing the power management settings on the USB Host controllers, as per the following document:
http://support.apple.com/kb/TS1401
When attempting to connect iPhone or iPod touch, you may see one or more of the following error messages:
▪ iTunes could not connect to this iPhone because an unknown error occurred (0xE8000065)
▪ iTunes could not connect to this iPhone because an unknown error occurred (0xE800000a)
▪ iTunes could not connect to this iPhone because an unknown error occurred (0xE800006b)
▪ iTunes could not connect to this iPhone because an unknown error occurred (0xE8000001)
Alternatively, the error may be the same as above but end with a different number. See:
http://support.apple.com/kb/TS3221
(thanks to B Noir for the tip)
Hope this helps. -
HT201263 iphone4 stopped working, restore does nothing but show error 14
One day my phone just crapped out on me. I tried charging it but nothing works, so I decided to totally factory restore it. only that didnt work and now the phone is stuck on the spple screen. The restore gets to the end and then pops uo error 14 and cancelles the restpre. The phone does absolutely nothing and i am desparite. Please help!
One day my phone just crapped out on me. I tried charging it but nothing works, so I decided to totally factory restore it. only that didnt work and now the phone is stuck on the spple screen. The restore gets to the end and then pops uo error 14 and cancelles the restpre. The phone does absolutely nothing and i am desparite. Please help!
-
I get nothing but error messages, -
"Your IMAP server wants to alert you to the following: 113 that mail is not available" or the same with: 364?
Now there are hundreds stacked up on my desktop.
I cannot find the answer anywhere. You need to give answers to how to fix these errors because when I "search" "error code" or the number there is NOTHING. NOTHING! Yet you give us these stupid error codes
then you do not give us ANYTHING on how to fix these. These error codes make me so mad it makes me hate outlook, and hate the developers and hate microsoft. How in the world can you give us ERROR codes without the explanation of what
to do or how to fix it. You need to add each error code number in your "search" then explain what it is and how to fix it. I am not a tech. I am a lawyer. I have googled the entire string of error code and nothing is clear.
So, for the last several years, I get these error codes. Also, there is another error code that won't go away--it is the password error code that asks if I want to store the password. Yes, so I say YES. but it pops back. I am sick of this. This is the reason
I hate Microsoft and I love google. #1 they respond to error, #2 them try to fix them you do not. I paid the full price to buy the OUtlook 2010, almost $500 just to get outlook, and all I got was error codes. I could not even open it because all I would get
was that error codes and NO ONE knew how to fix them. WHAT IS YOUR PROBLEM that you cannot fix the stupid error codes that you imbed? PLEASE HELPHi,
I understand how frustrated you are when facing such an issue, maybe I can provide some suggestions on the problem.
Based on the description, you should be using an IMAP account setup in Outlook. As for the error message, usually it's caused by a corrupted message on the Server. I suggest you logon the Webmail site, check if sending/receiving emails works well.
If you find any unusual emails that cannot be read or sent, try deleting them to try again.
I also suggest you create a new profile to setup the IMAP account:
http://support.microsoft.com/kb/829918/en-us
Contact your Email Service Provider to get the correct and latest account settings, since you have been using Outlook for years, some settings may have been changed while you haven't been informed.
For the steps to setup an account in Outlook 2010, please refer to:
http://office.microsoft.com/en-001/outlook-help/add-or-remove-an-email-account-HA010354414.aspx
I hope this helps.
Regards,
Melon Chen
TechNet Community Support -
I can't open my iPod library in iTunes, the app doesn't show the device at all, no error message, nothing, but windows 8 opens it like it would a flash drive. It has worked for me before just fine and both have the most updated software versions. HELP PLEASE!
yeah i plugged in my iphone to my computer and itunes does not even notice that i plugged it in.
-
Since uploading Maverick, all of my Microsoft apps give an error message "(name of the app) quit unexpectedly. Click Reopen to open the application again." However, this does nothing but renew this window. I have to click on the "OK" button to get rid of the error message. What to do?
Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
Could be many things, we should start with this...
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
Do they launch OK while in Safe Mode? -
While having a perfectly running iTunes and all programs associated, I was notified of the iTunes 10.4 upgrade. After following typical directions, I have had nothing but trouble. First “iTunesHelper was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 5)” occurred. Following directions found at https://discussions.apple.com/message/15087646#15087646, I now get the following “iTunes.exe - System Error The program can't start because AVFoundationCF.dll is still missing from your computer. Try reinstalling the program to fix this problem.”, Along with “iTunesHelper was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 126)” I am running Win 7 Ultimate 64 bit on HP TouchSmart tx2-1275dx. I was one week away from buying an iPad but not if this is what I have to deal with. Please help
I actually managed to resolve this on my own by downloading iTunes from the Apple website and reinstalling iTunes that way. Here's the link: http://www.apple.com/itunes/download/ That should fix your problem. Good luck!
-
I installed the latest update to my phone. Half way through it asked to connect to itunes. After updateing it had some type of error and wanted me to restore the phone. After restoring, another error box popped up and said that it could not be restored. Now it won't connect to itunes or my computer at all and is nothing but the black start up screen with the apple logo, or it's just a white screen. What happened?
DFU mode? How do I do that? So far the only thing I can do is hold down both buttons to power it on and nothing is on the screen and it wont reconize on my computer....
-
Hi guys,
I have a problem, I have a new macbook pro. I updated the software without problems; then I tried to update iPhoto, iMovie and Garageband, but an error was displayed "You have updates available for other accounts". I don't have any other account, i tried everything found on the net but nothing seems to work...Please help me!!!!Same thing for me it writes "To update this application, sign in to the account you used to purchase it."
-
Getting an error in the preview but no errors or warnings in the error list
I've got a SSRS report, originally written using SQL Server 2005, that I just upgraded to SQL Server 2012. I'm using the SQL Server Data Tools that you're supposed to work with now. I had to change the query and remove one of the fields returned by one of
the datasets in the report. I had some problems, but have worked through it.
Now I can run the application, if I specify my .RDL file as the starting item. However, within the SSDT development environment, if I try to preview the report I'll get the following:
"An error occurred during local report processing.
An error occurred during rendering of the report.
An error occurred during rendering of the report.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
But the Error List shows no problems at all. Everything is fine. Everything works. And yet, there's nothing in the preview except for the error messages I've listed above.
So, how can there be "no errors, warning or messages" and yet there's nothing to be seen in the preview? And why does it work when I run it in SSDT?
RodHi Rod,
It's probably caused by data caching in the designer. When you changed the query and remove one of the fields returned by one of the datasets in the report, the dataset definition has been changed, but the actual cached data stored by Visual Studio (i.e.
the *.rdl.data file) still has data based on the old Dataset definition when reprocessing the report. This is in internal error caused by the mismatch between the data the report is expecting and what has been cached.
In this scenario, we can delete the *.rdl.data files from the drive, hit the "Refresh Fields" under the dataset properties for my dataset, then try previewing again.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
I have been having nothing but trouble with OS 10.6.8. Many of my applications will not work.. HOw can I revert back to a previous version of OS x?
Before you revert anything try this:
Reinstall OS X without erasing the drive
1. Repair the Hard Drive and Permissions
Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
2. Reinstall Snow Leopard
If the drive is OK then quit DU and return to the installer. Proceed with reinstalling OS X. Note that the Snow Leopard installer will not erase your drive or disturb your files. After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
Download and install Mac OS X 10.6.8 Update Combo v1.1.
Next time don't post something like "nothing but trouble." Tell us exactly what the trouble is and provide any additional information such as error messages. -
Nothing but problems with PDF Adobe reader
Hi
I've had nothing but problems for the past few weeks I'm sure it's maybe a new software version? I can't convert PDFs to Word anymore I keep getting this error message. An error occurred while trying to access the service for all documents.
It's slow at loading and I'm looking for a new program!Hi Mark,
Are you using Adobe Reader to access the Export pdf service to convert the file.
If so please update Reader to the latest v 11.0.10 and then check. Also make sure you are signed in with your Adobe ID in Reader.
Can you please also try signing in to the web url: https://cloud.acrobat.com/exportpdf with your Adobe ID and check if you are able to convert the file or not.
Regards,
Rave -
Updated Photoshop, InDesign and Illustrator on 6/18, now nothing will open: Error 16. None of the Error 16 fixes using the SLS Store and Adobe PCD folder permissionms work. Uninstalling and reinstalling doesn't work. Been on the phone with Adobe 5 times since this happened on June 18. Probalby spent 5 hours on the phone with 4 different tech people. I'm waiting for a callback, but the Adobe guy tells me it will be 2 days. Others muct have this same problem....any fixes? HELP!
PS- Also made a new user account and tried opening with that, thinking it was a permissions problem. Still Error 16. Frustrating.....can't work if I don't have the software.DeLisiArt, Which OS do you have? Just make sure you have followed the below article completely. http://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html
Also, Yes, it is for sure a permission issue. So, i would recommend you to try the below suggestions depending on your OS:
For Windows:
Turn off User Account Control - http://helpx.adobe.com/x-productkb/global/disable-user-account-control-uac.html
Enable the hidden admin account and check if the applications launch fine there - http://social.technet.microsoft.com/wiki/contents/articles/3040.enable-disable-the-local-h idden-built-in-administrator-account-in-windows-7.aspx
For Mac:
Repair Disk Permissions : http://docs.info.apple.com/article.html?path=DiskUtility/11.5/en/7070.html
Enable Root user and check if the applications launch fine there : http://support.apple.com/kb/ht1528 -
IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."
iOS: Device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
How can I unlock my iPad if I forgot the passcode?
http://tinyurl.com/7ndy8tb
Using iPhone/iPad Recovery Mode
http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
~~~~~~~~~~~~~
‘iPad is disabled’ fix without resetting using iTunes
Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
2. Open iTunes with the iPad disconnected.
3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
5. Click ‘Setup as new iPad’ and then click restore.
6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
~~~~~~~~~~~~~
Try it and good luck. You have nothing more to lose if it doesn't work for you.
Cheers, Tom -
Nothing but problems since switching out SIM card's at at&t
so lately, i've been having this strange recurring issue with my sim card. every so often the iphone will report that it is not installed even when it is in there, only way i was able to correct it would be to shut the phone off and turn it back on. it got annoying to the point where i took it too AT&T Yesterday and had the sim card's switched out.
Since then i've had nothing but problem's, i went home and my iPhone just started spitting out error's like crazy. It keept reporting "Accessory is not supported by the iphone, would you like to go into airplane mode to reduce sound quality? you will not be able to make or receive calls while in airplane mode"
To me that sounded like a problem with the activation process after AT&T switched out my sim card.
So I plugged in my iPhone into my computer, and it gave me more problems.. Window's was able to detect my iphone but it took FOREVER. I left it in there for two hours until it finally activated the phone.
After that scenario i thought it would be best to try and do a full restore on my iphone to see if that would help clear the lag, i hit the restore button and let the download finish.. then after itunes just hanged there for 3 hours and did nothing. so i had no other choice but to unplug the phone and try again.
Now when i plug the iphone into that same USB port I get 1 of two error's, more commonly i get an "itunes could not connect to iphone due to an unknown error (0xE80000024)" http://img35.imageshack.us/img35/8369/iphoneerror2.jpg
When i restart the computer and try to plug it into that same port i get this error "itunes could not back up the iPhone because a session could not be started with the iPhone" http://img13.imageshack.us/img13/4837/iphoneerror.jpg
If i try an other USB port it will connect and sync perfectly fine, but i cant do a restore to clear the lag issues, if i try it will just hang there. usually the only way i can "fix" this error is to re install window's entirely and start from scratch, which to be honest i'm really tired of doing..
anyone have any idea what could be causing these problems? I'm not positive it's the phone itself so i want to try and restore it before i go to an apple store with these problems..
itunes version 8.1.1.10
Iphone Version 2.2.1 (5H11)
Firmware version 2.30.03
Windows Vista 32 BitBased on your description of the problems before and after getting a new SIM card, and before attempting a restore with iTunes and the problem that occured when trying to do a restore, I would give AppleCare a call at (800) 694-7466, or make an appointment at an Apple store if there is one nearby ASAP.
Maybe you are looking for
-
AP Report- Vendor account and PO by Expense account
SAP Guru- I am trying to produce a report that provides by expense account the vendor account and PO by period. I tried amond others the following account :S_P99_41000099 or S_ALR_87012085 and they are not what I need. Does anyone have any inputs on
-
Hi I am encountering a missing font error on Adobe Illustrator for a font that I recently bought - Centrale Sans Bold. This font is clearly installed in the system's font folder and is also showing in the font list on Adobe Illustrator. But when I op
-
External drive for Mac & WIndows?
I hope this is the correct forum for this question. I need to format an external hard drive on a Mac, so that it can be read on a Windows PC. The drive will contain QT movie files, specifically media from FCP, which need to be referred to on a PC out
-
Replace text with formula in calculate columns
How can I replace ";" in a text like this with " AND " ? example text: "abc;cde;efg;ijk" the result should be like this: "abc AND cde AND efg AND ijk"
-
Can I connect multiple bluetooth devices, to an IOS device
Hi I have a Logitech Ultrathin keyboard cover, for the new IPad. I'm using the keyboard, all the time my IPad is in use. And sometimes I want to connect my Bluedio R+ bluetooth stereo headset, with bluetooth 4.0 NFC technology. So my question is can