WorldServer API - too much traffic

hi,

we are trying to communicate with WorldServer using wswebservices.dll, but we have found that it returns much much more data than required.

E.g. to query the list of active projects using WSWorkflowManager.getProjects(...), it takes about 5-10 minutes, and generates about 100MB traffic or more. Then it returns only 34 projects.

The problem is that together with the each project, it also returns the related client object, and with the related client object, it also returns all the users (hundreds) of this client, it also returns the creator user, its vendor etc, so much more things than required. Is there any way to get only the core data?

Thanks in advance, 

Tamas

Parents
  • The core web-service API is indeed very "chatty". The upcoming WS 11 release will provide a new REST best API which will be more efficient -- this will not initially cover all use-cases covered in the existing SOAP API. An alternative is to implement a custom SOAP service which returns data in a more efficient manner; this can be built on top of the WorldServer SDK.

    Can you describe the data an interactivity that that you require?
  • Hi,

    thank you for the quick answer. We would need only basic user/client/vendor information, and project data (only reading). More specificly:

    - get specific users (all, by id, by name, by vendor, by client, maybe by workflow role and type)
    -- get users core properties + vendor, client, type, workflow roles (id is enough)
    - get vendors and clients (core properties)
    - get specific project groups (by id, by user, by status, maybe by creation time and name), including projects, tasks (with claimants)
    - get languages

    Is it possible to implement such a SOAP service in the current version? Can this be deployed on the SDL-hosted WS installation? (SaaS).
    Can you please advise where to start with?

    Many thanks!
    Tamas
Reply
  • Hi,

    thank you for the quick answer. We would need only basic user/client/vendor information, and project data (only reading). More specificly:

    - get specific users (all, by id, by name, by vendor, by client, maybe by workflow role and type)
    -- get users core properties + vendor, client, type, workflow roles (id is enough)
    - get vendors and clients (core properties)
    - get specific project groups (by id, by user, by status, maybe by creation time and name), including projects, tasks (with claimants)
    - get languages

    Is it possible to implement such a SOAP service in the current version? Can this be deployed on the SDL-hosted WS installation? (SaaS).
    Can you please advise where to start with?

    Many thanks!
    Tamas
Children