Call an UpdateConnector using SOAPUI (local installation)
You use SOAPUI to call an UpdateConnector.
You can find all endpoints on this page.
SOAPUI must retrieve the 'wsdl' of the Web services. That is why you see '?wsdl' indication after the URL.
To call an UpdateConnector using SOAPUI:
- Start SOAPUI.
- Go to: 'File / New SOAPUI Project'.
- Enter the project name.
- Enter the URL of the web service in 'Initial WSDL/WADL' (see the table).
- Click on: OK.
The project is added.
- Double-click on 'Request 1' (under 'Projects / <Naam project> / UpdateConnectorSoap / Execute').
You see the fields you have to complete for the SOAP call. Where question marks are displayed, enter the data for the call.
- Copy this text:
<![CDATA[token]]>
- Paste this text between the tags <urn:token> ... </urn:token>.
You use a CDATA statement to indicate that you are going to insert some text in the SOAP code, which should be regarded as text.
- In SOAPUI, paste the token between the tags, as in the image.
- Complete the remaining fields.
- connectorType: External name of the UpdateConnector (see the descriptions of the UpdateConnectors for the correct name).
- connectorVersion: 1
- DataXml: XML to run the UpdateConnector (you can generate it using the XSD Schema tool)
- You use a CDATA statement to indicate that you are going to insert some text in the SOAP code, which should be regarded as text.
<![CDATA[
XML code of the connector
]]>
- Paste the XML code in SOAPUI, as in the image.
- Click on: 'Submit request to specific endpoint URL'.
This runs the UpdateConnector in Profit.
The request is run.
If the request is completed successfully, the following message appears on the 'Raw' tab:
HTTP /1.1 200 OK
Specific Profit data is not returned.
If the request could not be completed, an error message appears.
Directly to |