PC Review


Reply
Thread Tools Rate Thread

Calling web services from Outlook form

 
 
nitro
Guest
Posts: n/a
 
      5th Feb 2009
I don't know if this is the appropriate forum so I'm placing this post on
both the VSTO forum and the Outlook Form forum. If there's yet another forum
that would befit this discussion then please do redirect me appropriately.

Problem Description:
So I have a (.oft) form that I've created in Outlook 2003 which is
essentially an additional tab in the default Meeting Request form. This form
contains some extra fields that the user can modify and I want to call a web
service with this extra information as soon as the user hits send on the
form.

To add to the complications, the web service I'm trying to call are Axis web
services written in Java. At first, I'd thought I'd use the Soap Type Library
3.0 from within the form to make the web service call but it seems as though
the classes generated by pointing to this Java created WSDL don't respond
very well when I actually try to call the Web Service method and I always end
up getting Nothing as a response. I'm pretty positive I can't even
communicate with the web service at all. As a result of a failed attempt here
I tried the Visual Studio and VSTO approach explained below.

I heard about the supposed proficiency of Visual Studio 2008 to interact
with any kind of web service available. Therefore I figured I would code the
web services part of the application in Visual Studio 2008. The only problem
now is that I don't know how to execute this Visual Studio code with the form
I've created in Outlook so that I can make a web service call with the extra
information contained within the new form.

Any help on this matter would be appreciated. I'm new to all of these
technologies and I've been stuck on this issue for much longer than I
expected.

Thanks in advance.
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      5th Feb 2009
It's a lot easier to work with things like Web services using managed code
and not using VBScript code, which is all you can use in a custom form.

Why not just handle either the Application.ItemSend event or the Send event
for your open item? You can do that in your addin code and use the usual
managed code methods of working with a Web service. Just check in the event
if the item has your custom MessageClass to identify it.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"nitro" <(E-Mail Removed)> wrote in message
news:91482A8F-958F-4CA8-8CDB-(E-Mail Removed)...
>I don't know if this is the appropriate forum so I'm placing this post on
> both the VSTO forum and the Outlook Form forum. If there's yet another
> forum
> that would befit this discussion then please do redirect me appropriately.
>
> Problem Description:
> So I have a (.oft) form that I've created in Outlook 2003 which is
> essentially an additional tab in the default Meeting Request form. This
> form
> contains some extra fields that the user can modify and I want to call a
> web
> service with this extra information as soon as the user hits send on the
> form.
>
> To add to the complications, the web service I'm trying to call are Axis
> web
> services written in Java. At first, I'd thought I'd use the Soap Type
> Library
> 3.0 from within the form to make the web service call but it seems as
> though
> the classes generated by pointing to this Java created WSDL don't respond
> very well when I actually try to call the Web Service method and I always
> end
> up getting Nothing as a response. I'm pretty positive I can't even
> communicate with the web service at all. As a result of a failed attempt
> here
> I tried the Visual Studio and VSTO approach explained below.
>
> I heard about the supposed proficiency of Visual Studio 2008 to interact
> with any kind of web service available. Therefore I figured I would code
> the
> web services part of the application in Visual Studio 2008. The only
> problem
> now is that I don't know how to execute this Visual Studio code with the
> form
> I've created in Outlook so that I can make a web service call with the
> extra
> information contained within the new form.
>
> Any help on this matter would be appreciated. I'm new to all of these
> technologies and I've been stuck on this issue for much longer than I
> expected.
>
> Thanks in advance.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling web services from C# Jon Harrop Microsoft C# .NET 15 10th Oct 2010 03:55 PM
Calling Web Services from a Web Form throws CAS violation =?Utf-8?B?anVjaHl0aWw=?= Microsoft Dot NET Framework Forms 1 25th Apr 2005 02:29 PM
Calling Addin from Outlook Form =?Utf-8?B?U2NvdHR5XzEwMA==?= Microsoft Outlook Form Programming 2 21st Jan 2005 09:27 AM
Calling web services through vc.net application Asif sayyad Microsoft VC .NET 0 19th Aug 2003 04:34 PM
Calling web services with no proxy JC Microsoft Dot NET 1 28th Jul 2003 10:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 PM.