Web Services
Configure the message flow nodes that are converted from the IBM App Connect Professional Web Services activities.
About this task
You converted your orchestration into a message flow. See Table 1, for information on which nodes are used for each of the activities.
Steps are split into sections and are intentionally brief to get you started quickly on configuring the nodes in your message flow. See linked topics in the table for more comprehensive information on configuring the nodes.
IBM App Connect Professional activity | IBM App Connect Enterprise node |
---|---|
Provide Service activity | |
Invoke Service activity | |
Send Reply activity | |
Send Reply with Fault activity |
SOAPReply node and |
Note: If the data that is output from SOAPInput and SOAPReply nodes is in any format other than XML, you must use a
Compute node to transform the data, for example, from JSON to
XML.
SET OutputRoot.XMLNSC.ns4:Body = InputRoot.JSON.Data;
The SOAPRequest node requires some input to work. Use the Compute node to provide the input. Even if no input is required,
you must provide an empty string, for
example:SET OutputRoot.XMLNSC.ns4:Body = '';
Selecting a WSDL file
Procedure
SOAPInput node - Provide Service activity
Procedure
- To use the WSDL file from the Provide Service activity, select the SOAPInput node in the message flow.
- Upload the WSDL file. See Selecting a WSDL file for how to choose the file.
- In the HTTP Transport tab, provide the location of the web service
that accepts the inbound messages. If you don't have a WSDL file, complete the following steps:
- Select the Operate in gateway mode option in Operation mode.
- In the HTTP Transport tab, provide the path suffix for the URL on which the SOAPInput node accepts inbound messages.
- In the Security tab, provide the security policy
name. For more information on creating a security profile, see Authenticating incoming requests by using credentials stored in the vault.
SOAPRequest node - Invoke Service, Local, and HTTP activities
Procedure
- To use the WSDL file from the Invoke Service activity, select the SOAPRequest node in the message flow.
- Select the Operation mode as Specify WSDL interface to
expose and upload the WSDL file. See Selecting a WSDL file for how to
choose the file. If you don't have a WSDL file, complete the following steps:
- Select the Operate in gateway mode option in Operation mode.
- In HTTP Transport tab, provide the location of the HTTP path that you’ve configured in a different message flow in the Web Service URL field.
- Select the compression format in the Use compression field.
- In the Security tab, provide the security policy
name. For more information on creating a security profile, see Authenticating incoming requests by using credentials stored in the vault.
SOAPRequest node - Remote activity
Procedure
- Provide the WSDL file for the web service you want to invoke. See Selecting a WSDL file for how to choose the file.
- In HTTP Transport tab, provide the location of the web service that you want to invoke from this node, in the Web service URL field.