call webservice from infopath scriptcode

K

KasF

Hello,

is it possible to call the webservice from a Button - OnClick()
handler.
I want to send and get data to the webservice from the scriptcode.

Is there any possibility to realize that ???
 
K

KasF

I need a Code like that:

function CTRL3_5::OnClick(eventObj)
{
[PseudoCode]
// I have already the DataConnections to my Webservice created
in InfoPath!
// To Send Data is called "Absenden"
// To Get Data is called "Abfragen"

XDocument.DOM.selectSingleNode("//my:value").text =
Abfragen(XDocument.DOM.selectSingleNode("//my:value").text);

Absenden();
}
 
Top