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