Professional Documents
Culture Documents
Soap Api
Soap Api
Boomi’s SOAP services can run as a proxy service for an externally hosted SOAP
service provider. This allows you to manage the external service through Boomi API
management capabilities.
When publishing SOAP processes, AtomSphere generates its own WSDL based on the
Web Services Server Operation. This WSDL includes Boomi-added items including
Boomi namespaces and additional XML elements for the operation object and lists.
In this Activity, we create an API with SOAP Operation by importing a public WSDL.
Then we modernize (convert) from SOAP to REST by copying the SOAP Operation to
REST in the API component.
In the Component Explorer, click the drop-down arrow next to your API Design folder.
Client Connection component named SOAP Calculator. Click Create when done.
2. For this example, you will use an external WSDL from DNE Online. This site provides a
test calculator WSDL definition. In the Connection tab, enter the following:
OPTIONAL: If using SOAPUI, you may create a new project to confirm that the WSDL is
valid and generate the Request profile.
Create the API Component
1. Click the drop-down arrow next to the Section 7: SOAP folder and select New
Component. Change the Type to API, name the component Calculator. Select API
2. The API Service component opens. Configure the General settings tab. First, add some
Scroll down to the Service Configuration section and then set the Base API
WSDL, for the Process Location, choose Section 7: SOAP, and click Next.
6. For the Connection, choose the SOAP Calculator. This is the one you created in the
9. Click the SOAP tab. Here you will see the newly created SOAP EndPoint Operation.
Click Save and Close to save the API component and the process(es) created during import.
1. Navigate from the Build tab to Deploy > Packaged Components and click Create Packaged
Component.
2. Expand the Section 7: SOAP folder and click the checkboxes next to Add (along with any other
processes you may have created via import) and the Calculator API Service component.
3. Proceed to the Create Packaged Components: Add Details window and provide version
information for all.
4. Click Create Packaged Component.
5. Once the package has been successfully created, click Deploy.
Deploy the Packaged Components
1. To use the WSDL from the External SOAP provider, we need to update the WSDL
Go to the Build tab. Open the Calculator API Component and go to the SOAP tab.
Namespace: http://www.dneonline.com/calculator.asmx?WSDL
Selecting to omit operation wrappers will not insert the Boomi input and output wrappers in
your WSDL. You should only select this option when your WSDL must remain unchanged in
the API.
5. You downloaded the calculatorWSDL.xml file earlier from the Resources tab of your
course.
6. Upload the Custom WSDL file by clicking Choose a File and follow the prompts to
8. Package and Redeploy the API Component to publish the updates to the component.
Click Close when done.
9. Now, go to Postman, click the + icon to add a new tab. Set the request to GET. Enter the
https://c01-usa-west.integrate.boomi.com/ws/soap/SOAPcalc/v1?wsdl
Set the Authorization Type to Basic Auth and enter your Username and Token from the
Shared Web Server panel under Atom Management. Usually it is auto-populated. Click Send.
Management > Configure APIs and Applications > Deployed APIs > Calculator - API
component and go to the SOAP tab, click the Actions gear icon, and select Copy to REST.
2. A confirmation appears in the lower-right corner of the process canvas.
Go to the REST tab, expand the Add group, click the Actions gear icon, and select Edit
Endpoint.
3. From the HTTP Method dropdown, change the method from GET to POST. Click Save
Service, go to the General tab, edit the Base API Path and replace the Url with v1/number.
5. Now, go to the REST tab, expand the Add group, click the Actions gear icon and,
select Edit Endpoint. Edit the Resource Path field and enter add (lower case).
7. Package and Redeploy the API Service component to publish the updates to the
NOTE: The full URL path is available under API Management > Configure APIs and
Applications > Deployed APIs > SOAP in Boomi - API Service > View. Find the Endpoint
field. Set the Authorization Type as Basic Auth. Enter your Username and Token from the
Copy and paste the following payload as the body of the POST request:
<ns1:Add xmlns:ns1="http://tempuri.org/">
<ns1:intA xmlns:ns1="http://tempuri.org/">123</ns1:intA>
<ns1:intB xmlns:ns1="http://tempuri.org/">321</ns1:intB>
</ns1:Add>
The payload specifies the 2 values to be added; 123 + 321. Let’s submit this and see the
10. The response of the Request appears and the result of the calculation is 444 (in other
words 123+321).