in reply to Re: Re: soap::lite - specifying a http gateway
in thread soap::lite - specifying a http gateway
from the SOAP::Lite documentation:
proxy()Shortcut for transport->proxy(). This lets you specify an endpoint (service address) and also loads the required module at the same time. It is required for dispatching SOAP calls. The name of the module will be defined depending on the protocol specific for the endpoint. The prefix SOAP::Transport will be prepended, the module will be loaded and object of class (with appended ::Client) will be created.
For example, for http://localhost/, the class for creating objects will look for SOAP::Transport:HTTP::Client;
In addition to endpoint parameter, proxy() can accept any transport specific parameters that could be passed as name => value pairs. For example, to specify proxy settings for HTTP protocol you may do:
...$soap->proxy('http://endpoint.server/', proxy => ['http' => 'http://my.proxy.server/']);
note the extra parameter specifying a proxy server. the documentation can be found here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: soap::lite - specifying a http gateway
by paulclinger (Initiate) on May 14, 2001 at 05:59 UTC | |
|
Re: Re: Re: Re: soap::lite - specifying a http gateway
by zakzebrowski (Curate) on May 12, 2001 at 07:45 UTC |