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:

  1. Start SOAPUI.
  2. Go to: 'File / New SOAPUI Project'.
  3. Enter the project name.
  4. Enter the URL of the web service in 'Initial WSDL/WADL' (see the table).

  5. Click on: OK.

    The project is added.

    App_Conn SOAPUI gebruiken voor GetConnector - Nieuw project

  6. 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.

  7. Copy this text:

    <![CDATA[token]]>

  8. 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.

  9. In SOAPUI, paste the token between the tags, as in the image.
  10. 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.

    App_Conn SOAPUI gebruiken voor GetConnector - Nieuw project

  11. Click on: 'Submit request to specific endpoint URL'.

    This runs the GetConnector and retrieves these records from the Profit environment.

    App_Conn SOAPUI gebruiken voor GetConnector - Nieuw project

    The XML of the retrieved records is displayed. The retrieved records are next to the <GetDataResult> tag.

    App_Conn SOAPUI gebruiken voor GetConnector - Nieuw project

Directly to

  1. Call Profit Connectors using SOAPUI
  2. Download and install SOAPUI
  3. Call a GetConnector
  4. Call a GetConnector with a filter
  5. Call an UpdateConnector
  6. Interpret error messages in SOAP