Webutil and Outlook - I get a WUO-714 and WUO-705 error

Hi,
I have installed webutil and it loads fine an all. However, I have a problem with a Microsoft Outlook integration. I am simply trying open an Outlook mail item, which is then filled out with some data. Pressing the Send button is up to the user.
Everything works until the line "mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');" is called. Here Forms reports back: "100501: non-Oracle exception" and the java console gives a WUO-714 and WUO-705. The problems seems to be the Display method. At that point, despite errors, I do have an open, visible mail item with the proper data filled in. (In this process I noticed that the final invoke_obj should happen after you write stuff into the To, Subject and Body of the mail, but that's besides the point.)
Any advice you can offer is welcome.
Sincerely,
Jesper Vad Kristensen
Aarhus, Denmark
--- Java console error codes --
Loading http://oiatst01.tdk.dk:7778/forms90/webutil/webutil.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/webutil/jacob.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
2003-nov-17 09:42:50.624 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
null
2003-nov-17 09:42:50.634 ERROR>WUO-705 [OleFunctions.invoke_ret_obj()] Unable to invoke Method: Display; Exception
com.jacob.com.ComFailException: VariantChangeType failed
--- end ---
--- Form code ---
Declare
     OutlookApp      CLIENT_OLE2.OBJ_TYPE;
     Folders      CLIENT_OLE2.OBJ_TYPE;
     MailItem      CLIENT_OLE2.OBJ_TYPE;
     MailItem2      CLIENT_OLE2.OBJ_TYPE;
     OLEPARAM      CLIENT_OLE2.list_type;
     v_kundenummer     varchar2(12) := :v_engagement.konto;
     v_firstname      varchar2(50) := :legal_person.firstname;
     v_surname           varchar2(50) := :legal_person.surname;
     v_company_name      varchar2(50) := :legal_person.company_name;
     v_to                varchar2(50) := '[email protected]';
     v_cc                varchar2(50);
     v_body                varchar2(250) := 'Kundenummer'||' ' ||v_kundenummer||chr(10)||v_firstname||' '||v_surname||' '||v_company_name;
     v_bcc                varchar2(50);
     v_subject           varchar2(50) := 'Fakturakopi';
     v_duedate           varchar2(50);
     v_invoicetext      varchar2(400);
     v_user                varchar2(50):= user;
     v_faktura           varchar2(400);
BEGIN
     /* snip some string work to create Body contents */
     OutlookApp := CLIENT_OLE2.CREATE_OBJ('Outlook.Application');
     --Create a newMail Object
     OLEPARAM := CLIENT_OLE2.CREATE_ARGLIST;
     CLIENT_OLE2.ADD_ARG(OLEPARAM,0);
     MailItem := CLIENT_OLE2.INVOKE_OBJ(OutlookApp,'CreateItem',OLEPARAM);
     CLIENT_OLE2.DESTROY_ARGLIST(OLEPARAM);
     -- Show the new message box. - Dont do when mailing straight Through
     CLIENT_OLE2.set_property(MailItem,'To',v_to);
     CLIENT_OLE2.set_property(MailItem,'Subject',v_subject);
     CLIENT_OLE2.set_property(MailItem,'Body',v_body);
     mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');
     CLIENT_OLE2.RELEASE_OBJ(MailItem);
     CLIENT_OLE2.RELEASE_OBJ(MailItem2);
     CLIENT_OLE2.RELEASE_OBJ(NameSpace);
     CLIENT_OLE2.RELEASE_OBJ(OutlookApp);
     /* snip some more */
     exception
     when others then
     message('other error: '||sqlerrm);
--- end ---

Both the Outlook type library and the M/S online documentation show that the display method on MailItem does not have a return type. try a simple INVOKE rather than INVOKE_OBJ

Similar Messages

  • I was editing photos and it was getting stuck or frozen and working really slow, so I attempting to close aperture and reopen it but it won't quit aperture and now it won't open up to my photos either.  Any ideas?

    I was editing photos and it was getting stuck or frozen and working very slowly.  I attempted to restart the computer but it would not allow me to quit aperture.  Now aperture appears in my toolbar but will not open up so I can work on any photos.  Any ideas?

    Did you try opening from the Applications folder?
    Depending on how far that gets you, I would also take a look at the Troubleshooting Basics.

  • When I turn on my iMac it comes up with the icon which I then log into. The password works and I then get the apple icon and the spinning wheel. After a minute it turns into a prohibited icon. If I log on the guest icon I get to Safari. Help!

    When I turn on my iMac it comes up with the login icons which I then choose and log into. The password works and I then get the apple icon and the spinning wheel. After about a minute the Apple icon turns into a prohibited icon. However, if I log in under the guest icon, I can access the wifi and get to Safari. I really don't know what to do next. Any help would be gratefully appreciated.

    Are you running any A-V? If it's an iMac 21.5, I don't think you're running Leopard, 10.5. Probably at least Snow Leopard, 10.6. This is the Leopard forum.
    This article says meant for 10.3.9 and eariler, but contains some still useful suggestions.
    http://support.apple.com/kb/TS1411
    Try a Safe Boot. Shift at the startup chime and expect a much longer time to boot. This will bring you to a login screen with "Safe Boot" in red.
    Look at this as well.
    http://support.apple.com/kb/TS1417

  • Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything.

    Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • Iam using iphone 4s and Iphone 5s with same apple ID but my network is different and whenever Iam getting call in i5s and in my both handset same calls are coming. Please provide me solutions

    Iam using iphone 4s and Iphone 5s with same apple ID but my network is different and whenever Iam getting call in i5s and in my both handset same calls are coming. Please provide me solutions

    On both devices, go to Settings>Facetime and turn off cellular calls.
    ~Lyssa

  • I use a Win7 PC with iCloud and Outlook 2010 for syncing my calendar and contacts. I can enter data in my Outlook Calendar and it will appear in iCloud, but data entered in iCloud does not sync back to Outlook.  ICloud syncs to my iphone fine both ways.

    I use Win 7 PC with iCloud and Outlook 2010 for syncing my Contacts and Calendar.  They have stopped syncing...mostly.
    Now, appointments I enter on my local Outlook (iCloud) Calendar goes up to iCloud fine.  But, data I enter on iCloud directly does not come down to my local Outlook iCloud Calendar.  If I reboot the computer, the iCloud data shows up.
    Also, Contacts I try to enter on my Outlook (iCloud) Contacts goes up to iCloud fine, but does not show up in my local iCloud Contacts.
    All syncing works with my iPhone.
    I have signed out of iCloud on PC.  I have stopped syncing and re-started.  No change.
    I have an .aplzod folder for iCloud.  I have a separate Earthlink.net.pst email account in Outlook and a me.com.pst Outlook email account (which I don't actually use) listed under Data Files.
    Any help would be appreciated.  Curious that Outlook will upload to iCloud but not receive downloads unless I reboot.  However, rebooting does not download the missing Contacts.
    Jim Robbins

    Hi Jim!
    You've started off with some good troubleshooting steps, so let's see if we can take this a little further and figure out what the issue is with your iCloud contacts and calendars. I have two articles here that will help you troubleshoot this issue a little further, but the troubleshooting steps for both articles are exactly the same, so I will lay those out for you here:
    Note: When using iCloud Control Panel 2.0 and later, iCloud Calendar event descriptions in Outlook 2010 do not support text formatting (bold, italics, or underline), HTML, images, or attachments. The contextual (right-click) menu has also been disabled.
    If you are having trouble with a PC (with Outlook 2007 or 2010) and iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Verify that you are using a Windows configuration that is supported by iCloud. For more information, see iCloud system requirements.
    When enabling Calendars in the iCloud Control Panel, part of the setup process is to copy your Calendars data from the default Outlook ".pst" file to iCloud, and then remove the Calendars from the ".pst" file by placing them in the Deleted Items folder in Outlook. The Calendars data is then stored in the iCloud data set within Outlook so that changes can be pushed to and from Outlook by iCloud. Be sure you are looking for your data within the iCloud dataset within Outlook after enabling Calendars in the iCloud Control Panel. The deleted files can be seen by viewing Deleted Items within your Outlook Folder List. This is not iCloud removing your data; iCloud simply copies your data into the iCloud data set and then removes the local Calendars data by placing it in the Deleted Items folder.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in Outlook. Click here for more information about troubleshooting your Internet connection.
    Open a secure website to test if you are online as is necessary for iCloud Calendar. This also tests if the ports 80 and 443 are accessible. Outlook requires port 443 access to iCloud in order to push and pull updates to and from the iCloud Calendar servers.
    Verify that your iCloud member name is entered into the iCloud Control Panel pane. See iCloud Setup for more information about setting up iCloud on Windows.
    Completely close and reopen the iCloud Control Panel.
    If you recently made changes in Outlook and they are not moving to your other devices or vice-versa, click the Refresh button in Outlook.
    Turn iCloud Calendar off and back on:
    Close Outlook.
    Open the Windows Control Panel:
    In Windows 8, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    In Windows 7 and Vista, choose Start menu > All Programs > iCloud > iCloud.
    Remove the checkmark in the checkbox next to Mail, Contacts, Calendars & Tasks, and click Apply. Wait a few seconds, then replace the checkmark, and click Apply.
    Open Outlook and test to see if the issue has been resolved.
    Ensure the iCloud Outlook Add-in is active within Outlook.
    Outlook 2010:
    Open Outlook 2010.
    Click the File menu.
    Click Options in the left panel of the Outlook window.
    Click Add-Ins in the left panel of the Outlook Options window.
    Look at the list of add-ins beneath "Active Application Add-Ins" and verify that the "iCloud Outlook Add-in" is listed.
    For Outlook 2007, follow these steps to verify the iCloud Outlook Add-in is active
    Open Outlook 2007.
    From the Tools menu, choose Trust Center.
    Select Add-ins from the left column.
    Look at the list of add-ins beneath "Active Application Add-Ins" and verify that the "iCloud Outlook Add-in" is listed.
    For additional information about managing Add-ins with Microsoft Outlook, see this Microsoft support document.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/ts3998
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • My daughter has an iPhone and some how we share an iCloud account and she's getting all my texts and contacts. I can't find where to uncheck her phone number on my phone account. Please help

    My daughter and I both  have an iPhone and some how we share an iCloud account and she's getting all my texts and contacts. I can't find where to uncheck her phone number on my phone account so she doesn't get all my texts and contacts. Please help

    Hi Shellyk,
    Go to Settings>Messages>Send & Receive and make sure that only your personal email addresses are listed under the individual phone number.Remove the "shared" iCloud email address.
    For the Contacts, if you are syncing them via iCloud and you both have the same iCloud account, you will both have the same Contact list.
    Cheers,
    GB

  • I'm running iTunes 10.5 on my Macbook Pro and software 4.1 on my 2g iPod touch and having problems getting photo's to sync. Same error iPod can't be synced req'd file can't be found. Tried deleting the photo cache, restoring the iPod etc but to no avail.

    I'm running iTunes 10.5 on my Macbook Pro and software 4.1 on my 2g iPod touch and having problems getting photo's to sync. Same error, "iPod can't be synced req'd file can't be found". Tried deleting the photo cache, restoring the iPod etc but to no avail.

    Try here:
    iTunes: Unable to sync photos
    Usually deleting the iPod Photo Cache Folder works. Note that if you sync via the folder method, make sure you dlete all the ifolders since :
    The iPod Photo Cache stores the photos that are optimized for display on your iPod, iPad, or iPhone. The location of this folder depends on the syncing options you select. In iTunes, if you change the selection in the “Sync Photos From” pop-up menu, a new iPod Photo Cache folder will be created (and the previous folder will remain).

  • Went to watch a video on You Tube that I have watched before on my iMac and got the prompt that I had to upload Adobe Flash Player.  Did that, and am still getting the same prompt and can't watch any videos at all.  What is going on here, Apple??

    Went to watch a video on You Tube that I have watched before on my iMac and got the prompt that I had to upload Adobe Flash Player.  Did that, and am still getting the same prompt and can't watch any videos at all.  What is going on here, Apple??

    I do not know how to do this with an Apple TV (I don't have one), but as far as I know Apple TV only does mirroring.
    If you have an HDMI cable long enough to reach your TV from where you sit, then it's easy. The TV could be set up in Extended Desktop mode (mirroring off) as if it was simply another computer monitor, and then you could just drag windows to it. If you have the Displays icon in your menu bar, that's where the setting is, or if the icon is not there, then the setting is in the Displays system preference. But again, that's for conventionally connected monitors, not Apple TV. If you don't have an HDMI cable and wanted a long one that's affordable you can get those at monoprice.com.
    The answer we are still waiting for is if anyone knows if Apple TV can be used in extended desktop (non-mirroring) mode.

  • Webutil errors WUO-714 and 705

    I am getting following errors when I try to call a third party application using webutil. It is working fine but apparently in the java console I see these errors . Same code works great in 6 and 6i. I am basically creating an object and logging into the application.
    2003-Jul-21 15:50:35.328 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
    null
    2003-Jul-21 15:50:35.328 ERROR>WUO-705 [OleFunctions.invoke_ret_obj()] Unable to invoke Method: Logon; Exception
    com.jacob.com.ComFailException: VariantChangeType failed
    2003-Jul-21 15:50:50.125 ERROR>WUO-705 [OleFunctions.invoke_ret_obj()] Unable to invoke Method: Logon; Exception
    com.jacob.com.ComFailException: Invoke of: Logon
    Could someone from Forms Product Group look into this please ?
    Pardha

    As mentioned in the FAQ the OLE integration with WebUtil is not guartenteed to be exactly the same as in client server. In this case it looks like its a but more fussy when it comes to the use of the correct datatypes.
    As the error says: "VariantChangeType failed" e.g. converting from the supplied data type to the data type that the OLE server actually expects has failed.
    There is probably nothing we can do about this and certainly without the OLE server in question being known or its APIs I can't make any suggestions.

  • I just upgraded to the new OS.  Now my wife and I are getting each others texts, and when we send a text to each other, it duplicates.  How can we separate our text messages?

    My wife and I are getting each other's text messages.  How do I turn that off so I get mine and she gets hers?

    On each Device, go to Settings>Messages>Send and Receive...  and make certain that each device only has 2-items with check marks your phone number and your email address.  click on the other persons number and email address such that it is not checked.

  • I have a new MacBook Pro. While getting rid of voice over I ended up with a black box with icons in it and I cannot get rid of it and I can't get off the home screen

    I have a brand new MacBook Pro . I got into voice over and then figured out how to stop that but now have a black box in the middle of the home screen and that box has a bunch of icons .....(Keyboard, pointer etc) I cannot get it to close and I'm not able to go past the home screen.  Help

    If you click on that window, the menu bar should change to whatever program that is. Then click the program name and click Exit.
    If that doesn't work, click the Apple icon, then Force Quit. Look for something that says Not Responding and quit it.
    Last... if nothing else works reboot and see if that does it.

  • Whenever I open itunes (not try and sync), I get a duplicate file name was specified error.  It also gives me the same error when I try and download music, saying it cant.  I just downloaded itunes so not much could have gone wrong so far.

    Before you ask, i tried going through the third-party add-on document and opening it up in safemode did not fix it.  Also, I am running it as administrator and that is not helping either.

    I DID IT! I FIXED IT, FINALLY!!! At least it worked for me. Here's what I did: from Control Panel/Programs/Programs and Features/Uninstall or Change Program, I right-clicked on iTunes and selected Repair. After that ran and completed, I went to Computer/Local Disk (C:)/Program Files. From the list, I right-clicked on iTunes and selected “Run as Administrator.” After that I tried to purchase music from iTunes, and it worked! I hope this makes sense and works for you. Good luck!

  • HT4623 i tried to update my ipod which is the 4 generation and tried to get 6.0 os and it loded for a hour and my ipod has symbol to connect it to itunes but doesnt work!

    i tried to update my ipod and i have 4 gen. ipod touch and it loaded for a hour and it failed and now my ipod has a picture of connecting to the itunes on and it wont work!

    i've got the exact same problem, have you found any solutions???

  • IPhone 5s is stuck in reboot mode with circle loading and won't get to home screen and be functional

    My iPhone 5s is stuck in a reboot mode after screen shut off and wouldn't go on. I pushed the on/off button and white home button to reboot and the circle keeps going around but it won't stop and occasionally goes to a blue screen and then the apple comes on and it does it again with the circle showing it's rebooting.

    Same too, responding for updates
    had this phone for 3 days now, would just like to say that this is BULL **** APPLE
    thank you

Maybe you are looking for

  • 10.4 server to 10.5 server - netinstall no longer works

    As it says, I upgraded my OS X server (dual core G5) from 10.4.11 to 10.5.1 and now it's up to 10.5.2. Ever since going to Leopard, I haven't able to get my NetInstall to work. The service is running but I can't get a mac to boot off of the server so

  • Download report with chinese word into Excel

    Hi all, I need to create a report with Chinese header title, how can I put in these chinese word in my report? And after all, I will need to download this report to Excel sheet. I 'm using function GUI_DOWNLOAD to download the report to excel, but th

  • Connecting to broadband network using blue tooth d...

    Is it possible to connect a N-93 or any N-series phone to broadband network of PC using bluetooth dongle installed in the P C. ? If yes how. If no why If my post has helped you please click the white star on the right

  • Archiving/Deletion flag settings of   prod   orders co78

    I am trying to set deletion flag for the orders but few of the orders couldn't be set due to the following error message 1.Order "XXXXXXXXX": Purchase order "XXXXXXXXXX" still exists 2.Unprocessed future change recs for order "XXXXXXXXX" prevent del.

  • How to use LABVIEW to collect wireless network camera (with video server) video.

    How to use LABVIEW to collect wireless network camera (with video server) video.I would like to use LABVIEW for a wireless network camera (IP Camera comes with the video server module)the client program.Will the ability to achieve?If feasible, how to