Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function WEBSERVICENEW

create a Webservice Proxy object, a reference to a remote webservice

Example

webservicenew(string url,[struct args]):any

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
url string  Yes URL of the remote webservice, for example:
  • http://www.whatever.com/Weather.html?wsdl
  • http://www.whatever.com/Weather.cfc  
  • args struct  No a struct containing the following optional keys (username,password,proxyServer,proxyPort,proxyUser,proxyPassword)