What does wsproxy mean in JavaScript in SFMC?
WSProxy in SFMC is a script object that is native to the platform and allows for communication with most available SOAP objects through platform authentication. It utilizes SSJS and JSON syntax to make these calls via the platform inside of Script Activities or CloudPages.
Why do we need wsproxy in JavaScript?
WSProxy reduces overhead and increases the speed of your API calls, while maintaining the same ‘internal’ security level. The security is maintained as it is being authenticated via the platform (no need to include a user/pass or authentication token in the calls).
Is there a limit to the wsproxy limit?
The Retrieve method is designed to return multiple items (but can be a single item if filtered that way) with a maximum of 2500 records. This maximum is true for all SOAP API retrieves and is not a WSProxy limit. To get around this, you will need to utilize the getNextBatch function.
How to use wsproxy to work with data extensions in?
This article explains how to use WSProxy to work with Data Extensions in server-side Javascript in Salesforce Marketing Cloud. Why use WSProxy? Compared to the server-side JavaScript Core functions, WSProxy is faster and provides a better support for the error handling.
When does WSUS synchronization fail with soapexception?
This issue occurs if the WSUS servers are configured to use the old synchronization endpoint, https://fe2.update.microsoft.com/v6. This endpoint was fully decommissioned and is no longer reachable after July 8, 2019. To fix the issue, change the synchronization endpoint in WSUS configuration to https://sws.update.microsoft.com.
Which is better wsproxy or JavaScript Core Functions?
Compared to the server-side JavaScript Core functions, WSProxy is faster and provides a better support for the error handling. It also uses JSON objects, instead of arrays when it comes to retrieving records from Data Extensions. For more information, please have a look at this amazing article by Eliot Harper.