To call a method from a Web Service Extension (WSE), do the following.
Prerequisites
- A valid Web Service — for example
a live, valid WSDL file.
Good to Know
- In some cases, the type of the object
instance returned by a web method may need to implement the IConvertible interface
in order for the web method to be used with the Web Service AgileShape.
Navigation
- In AgilePoint Envision, open a process template.
- Navigate to the Web Services stencil.
- On the Web Services stencil, drag the
WSE (Web Service Extension) AgileShape, and drop it on the process template.
- To view the entire list of properties, in the Design Tasks pane, click Show Properties.
- On the Configure field, click the Ellipses button.
Instructions
- To select your web service, do one
of the following.
- To use a web service url:
- On the WebService Configuration Window, click
Select the URL of the Webservice.
- In Select the URL of the Webservice field, enter the
URL for your web service, and click the connect button.
- To use a WSDL file:
- Click Select the WSDL file.
- On Select the WSDL file field, click the
Ellipses button.
- Select your WSDL file.
- Click the connect button.
- In the WebMethod list, select your web method.
- If you want to map the outbound data for the web service call to your
process schema, on the Request tab, complete the following field.
Field Name |
Definition |
Request Mapping
|
- Definition:
- Maps the web service request to the AgilePoint process schema. This is
required only if the request is passing values to the web method as parameters as
data that comes from the process model schema.
- Allowed Values:
- Click the Ellipses button to open the Schema Mapper Window.
Use this window to map the request to your process schema.
- Default Value:
- None
|
- If you want to map inbound data retrieved from the web service call to your
process, click the Response tab, and then do one of the following:
- To map the response to your AgilePoint schema, complete the following field.
Field Name |
Definition |
Map Response to AgilePoint Schema
|
- Definition:
- Determines whether the web service response is mapped to the AgilePoint schema.
- Allowed Values:
- Click the Ellipses button to open the Schema Mapper Window.
Use this window to map the response to your process schema.
- Default Value:
- None
|
- To map the response to a custom attribute, complete the following field.
Field Name |
Definition |
Store the response in Custom Attribute
|
- Definition:
- Specifies the name of the custom attribute that is used to store the response to a method call.
The call may be to a web service, Web Service Extension, WCF service, or web application, depending upon the
context.
- Allowed Values:
- A custom attribute.
- Default Value:
- None
- Custom Attributes:
- Yes
- Example:
- ${GroupMembers}
|
- Complete any additional configuration for this AgileShape according to your
requirements: