SoapObject

SoapObject -- The Soap Client Object

Description

new SoapObject (string location [, string urn])

Warning

This function is EXPERIMENTAL. That means, that the behaviour of this function, the function name, in concreto ANYTHING documented here can change in a future release of this package WITHOUT NOTICE. Be warned, and use this function at your own risk.

This is the constructor of the SoapObject the 'Soap Client'.

This constructor takes two parameters. If only one parameter is supplied then it willassume the parameter is a WSDL of the soap service you wish to reach. If two parameters are passed then it will assume the first parameter is the 'proxy' or endpoint of the soap service and the second parameter will be the uri of the soap service you wish to reach.

Parameters:

Once you have connected to the remote server, by creating the object, you can call any of the exposed Methods as in the example below which calls the remote method, getQuote();