Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

SOAP.DemoProxy

class SOAP.DemoProxy extends %SOAP.WebClient

Method Inventory

Parameters

parameter LOCATION = http://localhost/csp/samples/SOAP.Demo.cls;
This is the URL used to access the web service. Change localhost to the web service machine's IP address to access this service.
parameter NAMESPACE = http://tempuri.org;
Namespace. Change this to the namespace used by the web service.
parameter SERVICENAME = SOAPDemo;
This is the name of the web service.
parameter SOAPHEADERS = ResponseInfo:SOAP.ResponseInfo,SubscriptionInfo:SOAP.SubscriptionInfo;
The list of reesponse SOAP headers that are supported by this web service client. Each entry in the comma separated list is of the form "headerElement:headerClassname".

Methods

method AddInteger(Arg1 As %Integer = 0, Arg2 As %Integer = 0) as %Integer [ WebMethod ]
Use web service to add two integers and returns the result.
classmethod DemoClient(zip As %String, id As %String) as %Boolean
A method to demonstrate using this proxy to act as a SOAP client to access our SOAP.Demo service.
method FindPerson(id As %String) as Sample.Person [ WebMethod ]
Use web service to returns data about the person in the database with object ID of id.
method GetByName(name As %String) as %XML.DataSet [ WebMethod ]
A sample web method to invoke dynamic SQL to query the Sample.Person class and return the results as a .NET untyped DataSet
method GetDataSetByName(name As %String) as SOAP.ByNameDataSet [ WebMethod ]
A sample web method to invoke the ByName query of the Sample.Person class and return the results as a .NET typed DataSet
method GetListByName(name As %String) as Sample.ListOfPersonIdentification [ WebMethod ]
A sample web method to invoke dynamic SQL to query the Sample.Person class and return the results as a list of objects.
method LookupCity(zip As %String) as Sample.Address [ WebMethod ]
Returns the city and state for the given U.S. ZIP Code packaged within a Sample.Address object.
method Mission() as %String [ WebMethod ]
Use web service to returns a corporate mission statement.
method RegisteredLookupCity(zip As %String, user As %String, password As %String, ByRef remainingHits As %Integer)
Returns the city and state for the given U.S. ZIP Code packaged within a Sample.Address object. The request is sent from a registered user.
method UnregisteredLookupCity(zip As %String, email As %String)
Returns the city and state for the given U.S. ZIP Code packaged within a Sample.Address object. The request is sent from an unregistered user.
classmethod compareAddress(a1 As Sample.Address, a2 As Sample.Address) as %Boolean
classmethod comparePerson(p1 As Sample.Person, p2 As Sample.Person) as %Boolean
classmethod comparePersonIdentification(p1 As Sample.PersonIdentification, p2 As Sample.PersonIdentification) as %Boolean
classmethod printAddress(a As Sample.Address, indent As %String)
classmethod printPerson(p As Sample.Person, indent As %String)
classmethod printPersonIdentification(p As Sample.PersonIdentification, indent As %String = " ")

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab