KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Keeping a Web Service connection open
PRODUCT: 4D | VERSION: 11 | PLATFORM: Mac & Win
Published On: September 4, 2008

When making multiple web services calls to the same web services server, you can improve the processing by keeping the connection open.

The CALL WEB SERVICE command has a new * parameter, when added to the end of the parameter list, the connection between the Client and the Server is not closed at the end of a call.

CALL WEB SERVICE (accessURL; soapAction; methodName; namespace{; complexType{; *}})

In order to take advantage of this option, the webservices server needs to support keep-alive-connections.

For more information about the CALL WEB SERVICE command:

https://www.4d.com/docs/CMU/CMU00778.HTM