AdobeStock_455007340

Improving Web Service Invocation Performance

If you make multiple requests to a Web Service you can improve performance by not making ColdFusion set up and prepare the connection repeatedly. How? Instead of using use CreateObject(), this way ColdFusion maintains Web Service information in a variable that can be used repeatedly. And you can even use persistent scopes if needed. (Applies to: ColdFusion MX)

Leave a Reply

Discover more from Ben Forta

Subscribe now to keep reading and get access to the full archive.

Continue reading