I have a web service that takes a single parameter. The data for the
parameter is in a field on the InfoPath form. I want to call the web
service once the user has filled in the data and clicks a button on the
form.
When I created the web service data connection, the wizard asks for a
'sample' value for the parameter. If I enter a valid value for that
parameter InfoPath correctly calls the web service. How do I change that
parameter value at run time so that the web service does not always return
the same data?
Thanks in advance
Jeff Richardson
The WebServiceDataConnection (WSDC) you created in the Infopath, creates a
secondary data saource in the InfoPath. The WSDC contains nodeGroup named
queryFields, where depending on the web service is the paramete xml element
node.. Change the value of that node, and call the Query() method of the
xdocmuent.dataobjects("<Connection Name>") to call the web service and
refresh the data.

Signature
Darko Milevski, MCAD
> I have a web service that takes a single parameter. The data for the
> parameter is in a field on the InfoPath form. I want to call the web
[quoted text clipped - 10 lines]
>
> Jeff Richardson