Creating Web Service Consumer Activity
You can use Web Service Consumer activity to access any Web Service (internet/ intranet). You can use this activity to send request to and receive response from the Web Service. To create this activity, you need to have WSDL or the endpoint of the Web Service, which you want to access.Â
In Adeptia Suite, EasyWSDL Parser is used for Web Service Consumer activity which is more reliable and robust than WSDL4j. The old WDSL parser (WSDL4j), is still there to provide backward compatibility. By default, Adeptia Suite uses EasyWSDL parser.
To use WSDL4j parser, you need to change the abpm.webservice.consumer.wsdlparser.iswsdl4j to true.Â
Following are the key points that you should keep in mind while using WS Consumer feature:
- When you use WSDL4j as your WSDL parser then the process to create any new WS Consumer activity will remain same as earlier.
- When you use EasyWSDL as your WSDL parser then:
- Any new WS Consumer activity that you create will use EasyWSDL parser.
- You don't have to select the Operation while creating WS Consumer activity.
- You don't have to create an XML Schema for this Consumer activity. You can directly load WS Consumer activity in the Data Mapper and then select the operation in the Data Mapper.
For information how to load a WS Consumer activity in the Data Mapper, refer to Loading Web Service Consumer in Data Mapper. - You cannot use Web Service to create an XML Schema.
- If you edit any existing WS Consumer activity in Adeptia Suite v 6.1 or later, which you made using an earlier version of Adeptia Suite then Adeptia Suite will use WSDL4j parser to edit it.
Â
- If you create any WS Consumer activity using WSDL4j parser then Adeptia Suite will always use that parser to edit the activity irrespective of the WSDL parser that is currently configured in Adeptia Suite.
- Similarly, if you create any WS Consumer activity using EasyWSDL parser then Adeptia Suite will always use that parser to edit the activity irrespective of the WSDL parser that is currently configured in Adeptia Suite.
Following are the major subsections:
Section Name | Description |
---|---|
Step-by-step instructions to create WS Consumer activity if Adeptia Suite is configured to use EasyWSDL parser. | |
Learn how to load Web Service Consumer in Data Mapper. | |
Step-by-step instructions to create WS Consumer activity if Adeptia Suite is configured to use WSDL4j parser. | |
Step-by-step instructions to use EasyWSDL Parser for existing Web Service Consumer activity. | |
Introduction to Web Service Addressing and its usage in Adeptia Suite. |