Ho to call a web service

A

A.M

Hi,

I understand that I can easily retrieve data from a web service by using
InfoPath.



Ho can I programmatically make a soap call inside an InfoPath form (or it's
scripts)?



Thanks,

Alan
 
H

Henning Krause [MVP - Exhange]

Hello,

Add the WebService as a secondary data source. It is then available via
XDocument.DataObjects[<name>]

See here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdproDataObjects.asp
and the DataObject reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdobjDataObject.asp

This object has a Query() Method and a DOM which you can access.

So you can call that WebService from the script.

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top