You are on page 1of 6

How to Start a Web Service Project in SOAP UI – Rebdev, LLC about:reader?url=http://www.rebdev.com/2019/12/how-to-start-a-web-...

rebdev.com

How to Start a Web Service Project in


SOAP UI – Rebdev, LLC
3-4 minutes

Web services can be a great and easy way to communicate with


X3. Being an industry standard, web services allow easy
communication between X3 and many outside systems. Using
web services allow for real-time transactions and feedback. You
will know instantly if your transaction was successfully
processed or if an error occurred. SOAP UI software makes
testing these services easy. The software replicates a third party
product making it easier to identify issues. Templates can also
be saved with parameters already defined, making running
process quick. In this post, I’ll show you how to connect SOAP
UI to X3 and begin a project.

First, you will need to get the web service URL from your X3. Do
this by navigating to Administration > Administration > Web
services > Classic SOAP Web Services. Highlight the URL, right
click & copy the address for later.

1 sur 6 2021-05-10 20:07


How to Start a Web Service Project in SOAP UI – Rebdev, LLC about:reader?url=http://www.rebdev.com/2019/12/how-to-start-a-web-...

Open your SOAP UI program. (If you need to download the


program, go here: https://www.soapui.org/ ) In the top tool bar
navigate to File > New SOAP Project

Give your project a name(i.e. Client name_X3 test folder). In the


Initial WSDL field, paste the link copied from X3 and press “OK”.

At this point, the program will attempt to make a connection to


X3

2 sur 6 2021-05-10 20:07


How to Start a Web Service Project in SOAP UI – Rebdev, LLC about:reader?url=http://www.rebdev.com/2019/12/how-to-start-a-web-...

If successful, your project will now be listed on the left hand list
of projects with a connection icon below it(two green arrows). If
your connection was unsuccessful, check your URL from X3
and try connecting again

Click the “+” next to the connection to expand your process


options. Click the “+” next to the process you’d like to run. In this
example I chose “run” . Double click on “Request 1” to start a
new run request

By double clicking a request, a template will pop up for you to


edit

3 sur 6 2021-05-10 20:07


How to Start a Web Service Project in SOAP UI – Rebdev, LLC about:reader?url=http://www.rebdev.com/2019/12/how-to-start-a-web-...

Replace the “?” with the relevant information. codeLang = ENG


; poolAlias is the X3 folder you are working in; poolId can stay
blank(delete the “?”); request config is the string from the image
below(use this if you are using JSON formatting); publicName is
the name of the web service created in X3

The information that populates the inputXML/ CDATA tag will


differ depending on the web service you are running. In this
case, the web service is expecting some input data(in brown
text) and if successful, will return a defined output.

When you have your template filled in sufficiently navigate to the


bottom of your work space window where there is a button that
says “Auth”. SOAP UI needs to validate your X3 credentials

4 sur 6 2021-05-10 20:07


How to Start a Web Service Project in SOAP UI – Rebdev, LLC about:reader?url=http://www.rebdev.com/2019/12/how-to-start-a-web-...

Add a new authorization

Choose “Basic”

Enter your X3 credentials & click “Authenticate Pre-emptively”

Press the green arrow at the top off the pop up window to run
the request

5 sur 6 2021-05-10 20:07


How to Start a Web Service Project in SOAP UI – Rebdev, LLC about:reader?url=http://www.rebdev.com/2019/12/how-to-start-a-web-...

The results will populate on the right side of the window. You
may have to do some troubleshooting if you did not get the
results you expected.

If there was an error, an error message will be at the bottom of


the returned output

For more information or help with web services, please reach


out to us at (412) 226-3086 or admin@rebdev.com

6 sur 6 2021-05-10 20:07

You might also like