In this example, we take you through a step-by-step on how to easily integrate with a company that hosts a Warewolf Server. It’s really simple and you should be integrating in no time!
This walk-through assumes you have Warewolf installed and have a local service that retrieves the data needed in Step 4. If you do not have a service to do this, you can always pass the data into the workflow by marking those fields as Input in the variable list.
- Connect your Warewolf to the remote Warewolf
- Click New Remote Server in the Explorer drop down
- Fill in the Server Address and Authentication based on what you have been given by the company (We will use the Shared Resources Server for this example – with a different Saved name)
- Click Save
- Give the resource a name and click Save.(NOTE: Now that you have established a connection to this server, you can use the resources that are made available for you on it by simply selecting it in the Explorer and clicking connect. Warewolf will take care of the connection and authentication for you.)
- Locate the resource in the Explorer on the saved server that you want.
- Add a New Workflow Service on your local Warewolf by clicking the New Service button
- Call a local service (database stored proc, web service, DLL etc.) to get the data you want to send to “Acme Inc.”
- Drag and drop the resource from step 2 into place on your local workflow service.
- Map your data in ([[Name]] and [[Username]]) and out ([[Response]])
- Test your workflow service by pressing F5 and following the on screen instructions
You have now integrated with one of their services. Warewolf will connect, authenticate, pass the data, execute the remote service and return the response any time you use this local service!
You can (and probably should) extend this service to have some sort of error checking after sending the data to “Acme Inc.” I have used a simple example to show how easy the process is.
Let’s take a look at what the company hosting the Warewolf server would have to do to setup this type of service.
- Install Warewolf on a web facing server or forward traffic from a particular port to their Warewolf Server.
- Build the service to receive or send the data or reuse existing services and procedures. (Open the service up to see what it does by either double clicking in the Explorer or pressing the Edit icon on the design surface:
- Set up the security permissions to allow access from the outside