Instances of Configuration represent a set of configuration values to access a Web Service. Use this component to define configuration values dynamically, instead of using an External Resource configuration of your project.
A Configuration object holds information about the web service Endpoint and Security Policy.
To create a brand new configuration, use Configuration's default constructor. To create a configuration object based on the values of an External Resource, pass the ID of the resource to the constructor.
To use a Configuration object, pass it to the constructor of a cataloged web service. When a cataloged web service object is instantiated with an instance of Configuration, the configuration values defined in the associated External Resource are ignored.
// Build WS configuration:
wsConfig = Fuego.WebServices.Configuration()
exampleEndPoint = HttpEndpoint("http://localhost:8080/webservices/ExampleService")
wsConfig.endpoint = exampleEndPoint
// Access web service using configuration:
webService = PapiWebService(wsConfig)
// ... invoke operations on webService ...