Wrox Programmer Forums
Infopath Programming and automation discussions only please. :)
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Infopath section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 28th, 2008, 09:17 AM
Registered User
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default About Infopath

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

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?

Also in this case, the web service returns a dataset. How can I populate the dataset in the infopath form?

Actually I want full customization.

Agni - Wants to learn more
Old April 29th, 2008, 07:35 AM
Registered User
Join Date: Apr 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


   First of all u can Set the parameter value by Setting a Rules on the Submit Button and Set the Parameter Field to required value.Then submit the Form.

Secondly... add One more Function on u'r WebSerice which will take the Dataset and return u the required Xml Data as String.

Hope it solves u'r Issue.

Net norvin

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infopath Audit Trail sqaengineer Infopath 0 August 13th, 2007 10:10 AM
Using InfoPath with Orchestrations shazza Biztalk 0 August 21st, 2006 01:40 PM
sizeof Integer in infopath vikram_vikram Infopath 0 November 30th, 2005 08:42 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.