SOAPServerDescription: Constructor for describing methods and data structures of a...

Description Usage Arguments Value Author(s) References See Also

Description

This function creates an instance of the class SOAPServerDescription (or the value of obj) and populates it with the specified collections of SOAP operations and data structure types, and information about the location of the SOAP server. This description can then be used to generate code to interface to the server's methods (see genSOAPClientInterface). The information is typically generated by reading the WSDL file, e.g. via processWSDL.

Usage

1
2
SOAPServerDescription(name, server, operations, types,
                       nameSpaces = NA, verb = NA, obj = new("SOAPServerDescription"))

Arguments

name

a string (character vector) giving the name of the SOAP server. This typically comes from

server

an object of class SOAPServer that describes the location of the Web service, giving the URL, port, path to the services

operations

a list describing the operations or methods provided by the Web service

types

a list describing the data types used by the Web service

obj

an instance of the desired result whose slots are filled in during the call. This should be “compatible” with (i.e. extend) SOAPServerDescription.

nameSpaces

a character vector that identifies the namespace-URI mappings used for calls to this server. This maps the namespace abbreviations to the actual URIs. This can be a named character vector of these mappings, or alternatively a simple character string that identifies the name of the element in the .SOAPDefaultNameSpaces list. And if we don't know the collection of namespaces, we use NA to indicate that we shall determine this later.

verb

a string identifying the type of the binding/transport to use, i.e. "POST", "GET" or NA for regular SOAP.

Value

The object obj returned with the relevant fields filled in with values

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.w3.org/TR/SOAP/ http://www.omegahat.org/SSOAP

See Also

processWSDL


sckott/SSOAP documentation built on Sept. 16, 2020, 5:49 p.m.