Call a GetConnector using SOAPUI
You are using SOAPUI to call a GetConnector. The GetConnector must exist in the Profit environment from which you want to retrieve records.
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 a GetConnector 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> / ConnectorAppGetSoap / GetData').
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.
- filtersXml: Leave blank if you do not want to apply a filter (see the comment under filters)
A GetConnector can retrieve a large number of records, despite of the use of filters. That is why we recommend to retrieve records in packages using the 'skip' and 'take' fields.
- skip: the number of records to be skipped.
- take: the number of records to be retrieved.
- Click on: 'Submit request to specific endpoint URL'.
This runs the GetConnector and retrieves these records from the Profit environment.
The XML of the retrieved records is displayed. The retrieved records are next to the <GetDataResult> tag.
Directly to |