To configure AgileForms Web Service lookup to use a Windows Service, do the following.
Prerequisites
- AgilePoint Server installed in Windows Service mode.
- The approach to implementing this feature that is described in this topic only
applies to AgilePoint v5.0 SP3 with fix 09.0061.03 and higher version.
Navigation
- In AgilePoint Envision, open an AgileForms process model.
- In your AgileForms process model, add an AgileShape from the
AgileForms Stencil.
- Select the AgileForms AgileShape.
- If the Properties pane is not displayed, click Show Properties.
- On the AgileForm Properties, in the Edit Form field, click the Ellipses
button.
- Log on to AgilePoint Server.
Instructions
- On the AgileForms window, click Resources > Webservice Lookups >
Complex Lookup Commands > Advanced Lookup.
- Click + to expand Create New.
- Click Get WSDL Definition.
- In the WSDL Location field, enter AgilePoint admin service URL.
Example: http://myserver.com/AgilePointServer/Admin?WSDL.
- Click Get.
- Click GetRegisterUsers > Use.
- In the Name field, enter GetRegisterUsers.
- Copy the content of the XML Payload
field to a text editor.
- Open the file [Microsoft Visual Studio installation folder]\Common7\IDE\WcfTestClient.exe.
- Click File > Add Service.
- Enter your admin service URL.
Example: http://myserver.com/AgilePointServer/Admin?WSDL.
- On the WCF Test Client window, click - to collapse WSHttpBinding and
NetTcpBinding
- In BasicHttpBinding, double-click GetRegisterUsers.
- Click XML tab.
- Copy the content of <s: Body> from the GetRegisterUsers >Request
field.
- Replace the content of <Soap:Body> with the content of <s:
Body> in the AgileForm field Web Service Lookups > Advanced Lookup > XML
Payload.
- In the Root Name field, under Repeatable Elements, enter GetRegisterUsersResult.
- In the Columns field, enter as shown below:
XML Path |
Field Data Name |
FullName |
name |
FullName |
display |
- Select NTLM Authorization.
Ensure the Port for Web Service
Lookups matches the BasicHttp Port of AgilePoint Server Manager.
- Click Add.
- Click Test.
- Click Back.
- Click Fields.
- Under Insert Field, do the following
- In the Type list, select Lookup Select One.
- In the Lookup list, select GetRegisterUsers.
- In the Name field, enter UserName.
- Click Add.
- Click Save Form.
To test, preview the form, and expand the UserName list.
The form displays the registered
users in the list.