Hi LJB,
To process the message from Web Service, we will need to interpret the web service soap message, which is not easy to handle from the ground
up., so for using Web service in Office, Microsoft has released one Web service toolkit for Office. However, they are for Office XP and Office 2003.
If your scenario permits, I'd suggest the best solution is to upgrade to Office XP or 2003. That will be simple for you to develop one solution from
web service. If not, since Office application is un-managed application(their execution doesn't need the common language runtime), I'd suggest
you can use the SOAP toolkit to consume the web service, though it will be replaced by .Net Framework in July 1, 2004. By using this toolkit, you
don't need to interop the managed component to un-managed for VBA.
SOAP Toolkit 3.0
http://www.microsoft.com/downloads/...DD-CEEC-4088-9753-86F052EC8450&displaylang=en
SOAP Toolkit
http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_SOAPToolkit.asp
Furthermore, as I have mentioned, SOAP toolkit will be replaced by .Net Framework. The .Net Framework is the future, so I'd also suggest you can
use the .Net Framework to consume web service. You can develop one component to use the Web Service and expose some interfaces for the
result, then interop this managed component to be used by Office 2000. The links will provide more information for you.
COM Interoperability in Visual Basic and Visual C#
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconcominteropinvisualbasicvisualc.asp
If you choose using .Net framework, you will have to interop your managed component to un-managed for VBA which may spend more time on your
development. However, this will save you a lot of time on the maintenance and upgrade for your office solution since the SOAP toolkit will be
replaced soon and .Net framework provides more feature and utilities for you. Don Box will introduce more for you from this article.
Moving to .NET and Web Services
http://msdn.microsoft.com/msdnmag/issues/01/11/webserv/toc.asp
Please feel free to let me know if you have any further questions. Our pleasure to be of assistance.
Best regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.