Boomi makes it easy to build and deploy web services without deep coding. In this tutorial, we’ll create a basic Web Services Server (WSS) listener—a process that listens for incoming SOAP or REST requests, processes them simply (e.g., echoing data), and responds. We’ll use Boomi’s low-code interface, deploy to the cloud, and test with Postman. This assumes you have a Boomi account (free trial available at platform.boomi.com) and basic familiarity with the Atmosphere designer.
We’ll build a simple flow: Start with a WSS listener → Map/Process data (minimal) → End with a response connector.
Step 1: Create a New Process and Configure the Start Shape (WSS Listener)
- Log in to Boomi at platform.boomi.com.
- In the Build tab, click Create → Process to start a new process. Name it something like “SimpleWSSListener” and save.
- Drag a Web Services Server (WSS) shape from the Start section to the canvas. This will be your listener.
- Double-click the WSS shape to configure:
- Operation: Select Listen (this sets it up as a server endpoint).
- Transport: Choose HTTP for simplicity (or HTTPS for production).
- Binding: Select SOAP or REST based on your needs (e.g., SOAP for legacy systems; we’ll use REST here for modernity).
- Under Operations, click Add to define your operation:
- Name: e.g., “EchoMessage”.
- Input: Define a simple schema (e.g., a string field like “inputMessage”).
- Output: Mirror the input for echoing (e.g., “outputMessage”).
- Save the shape. Boomi auto-generates WSDL/XSD if needed.
Your canvas now has the WSS as the start point.
Step 2: Add Processing Logic (Optional for Simplicity)
For a basic echo service:
- Drag a Map shape from the Flow Control or Logic section between the WSS and the end.
- Double-click the Map:
- Connect the WSS output to the map input.
- Drag fields: Map “inputMessage” from input to “outputMessage” in output (for echoing).
- If you want more logic (e.g., data transformation), add Set Properties or Decision shapes here. Keep it simple for now.
Step 3: Add the End Shape and Save the Process
- Drag an End connector from the End section to the canvas (e.g., HTTP Server or Web Services Client for response—match your WSS binding).
- Connect: WSS → Map (if added) → End.
- Double-click the End shape:
- Set Response Type to match your operation (e.g., JSON for REST).
- Ensure it outputs the mapped data.
- Click Save in the toolbar. Test the process locally in Boomi’s Test Mode (toolbar button) to verify flow without deployment.
Your process is now a simple listener flow!
Step 4: Deploy the Process
- In the process editor, click Deploy (top toolbar).
- Select a Runtime Account (e.g., your cloud molecule—Boomi hosts this by default).
- Choose an Atom (cloud or local; use cloud for simplicity).
- Set Execution Account if needed (default is fine).
- Click Deploy. Boomi compiles and activates it. Note the deployment ID for reference.
The process is now live and listening!
Step 5: Retrieve the Web Service URL and Credentials from Runtime Management
- Go to the Manage tab → Runtime Management.
- Select Cloud (or your molecule type).
- In the left panel, expand Processes → Find your “SimpleWSSListener”.
- Click on it, then select Web Services or Mutual Web Service (for secure, authenticated endpoints).
- Boomi displays:
- URL/Endpoint: e.g., https://your-atom.boomi.com/ws/simplewsslistener/EchoMessage (copy this).
- Authentication Details:
- Username: Your Boomi runtime username (e.g., from your account settings).
- Password: Your runtime password (generate or use existing; store securely).
- WSDL URL (for SOAP clients).
- If using mutual auth (client certs), configure under Security—skip for basic HTTP.
You now have everything to call the service externally.
Step 6: Test the Listener with Postman
- Open Postman and create a new request.
- Set Method: POST (for SOAP/REST payloads) or GET if simple.
- Enter the URL from Step 5.
- Headers:
- Content-Type: application/json (for REST) or text/xml (for SOAP).
- Authorization: Basic Auth → Enter Username and Password from Step 5.
- Body (Raw/JSON for REST example):
- json
{
"inputMessage": "Hello from Postman!"
}
- (Adjust for SOAP XML if using that binding.)
- Click Send. The listener should process and respond, e.g.:
- json
{
"outputMessage": "Hello from Postman!"
}
- Check the response status (200 OK) and body. If errors, verify deployment logs in Runtime Management.
Success! Your Boomi web service is responding to external calls.