Infopath 2003 - XML and Web Service

E

eds

I 'm new to Infopath 2003 and I would like to use it in a project where I
need to use an XML-file filled with specific data to create Groups in Active
Directory, (related to Sharepoint-sites). In short, for each template in
Sharepoint, I can have one or more groups in Active Direcotry (related to the
roles in the Sharepoint-site). Each template has its own predefined set of
Groups.

I would like to use InfoPath for a form that can be filled in by the user
who wants to create a Sharepoint site. The user needs to choose a template
(Combobox) and based on this template a list of Groups needs to be presented
on the form with checkboxes. Only those Groups that are selected by the
Checkboxes needs to be created in Active Directory.

Although InfoPath doesn't seem that difficult, I'm struggling with the
approach how to communicate between the exisitng XML-datafile and Infopath.
It seems there is in Infopath a limition with XML : "... you cannot directly
bind fields in a form to XML data in a secondary data Source. (Art. 827005
from microsoft support).

The real problem is that when using an XML as data source, I can't get a
working solution where based on the choice of the template (with a combobox)
, a list of checkboxes will be presented for completing the second choice
related to the specific groups in Active Directory (checkboxes for the
groups).
However, when using a Web Service for communicating with the XML-file, I can
create a solution based on serialization. But in that case, the xml-file will
remain hidden for Infopath and all communication (Receive/Submit actions)
will be made via a Web Service.

My question(s) : what is the best approach
- using the XML directly in infopath as a Data Source
- or using it via a Web Service?
If the first one is more logical, can someone explain me how to create this
simple proces in Infopath or provide me some good examples (tutorials)?

Thanks,
eds
 

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