Using External Web Services
To create a Connector to a web service so that it can be consumed inside your Warewolf service:
- Click the web service icon

- Select GET, PUT, POST, DELETE or TRACE. If you are unsure or it has not been specified, leave the default GET.
- Select a source from the drop down list or click New to create a new one.
- If you are creating a New connection, enter the URL e.g. http://www.webservicex.net/globalweather.asmx
- Select either Anonymous or User authentication.
- If you selected User authentication, provide your credentials.
- Enter a Default Query. This is the query that will be shown by default every time you use this source e.g. /GetCitiesByCountry?CountryName=US
- The Test Connection button should be enabled, click it.
- Click Save Web Source.
- Provide any Request Headers if necessary. You can use variables here.
- Amend the Request URL from the default if necessary. You can use variables here.
- If you are not using GET method in Step 2 above, put your Request Body in. You can use variables here.
- If there are any Request Variables required, insert test data. This step enables Warewolf to get an idea of what data will be returned from the connector so the output maps can be built. The execution does not happen in a transaction.
- Click Test.
- If the response is not correct or incomplete, click the Paste Response button and paste in the response you are expecting:

- In Defaults and Mapping, enter any default values you want to use as inputs. These will be used at run time if no data is mapped in or the mapped in data is empty.
- If a field is required for execution, select Required Field. This will ensure a variable or value is mapped in on the design surface when building the workflow service.
- To pass Null when the value is empty, select Empty is Null.
- To rename the output fields that will be seen, simply put the name you would like in the input box next to the name you do not like.
- To not return a particular field, simply remove its name; It will not be mapped out.
- Click OK.
- Save your Connector.
- Locate the connector you created in the Explorer window and drag it onto a service to use it.
Service d'assistance aux clients par UserEcho