| processWSDL {SSOAP} | R Documentation |
This reads and converts a WSDL file for a server into a collection of functions and methods.
processWSDL(fileName = "KEGG.wsdl")
fileName |
the name of the WSDL file or URI. |
An object of class SOAPServerDescription.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
UseDashInSOAPNames is an R option that can be set by the
user that is understood by this package to control
whether to either leave SOAP method names as-is,
or if FALSE, to remove _ in the
names and capitalize the first character in all but
the first word of the name. In other words, if
UseDashInSOAPNames is set to FALSE,
the name abc_def_ghi is mapped to
abcDefGhi. By default,
the value is unset and
treated as TRUE, so dashes are preserved.
tmp = processWSDL(system.file("examples", "KEGG.wsdl", package = "SSOAP"))
# The first set of operations, and the method "color_pathway_by_objects"
o = tmp@operations[[1]][["color_pathway_by_objects"]]
names(o@parameters)
o@parameters[["fg_color_list"]]
o@returnValue
ff = genSOAPClientInterface(tmp@operations[[1]], def = tmp, tmp@name, verbose=FALSE)
# ff$functions$get_all_neighbors_by_gene(kid="eco:b0002", threshold= as.integer(500), orgs = c("ecs","ypk"))
## Not run:
x = ff@functions$get_paralogs_by_gene("eco:b0002", 1, 10)
## End(Not run)
tp = get(".operation", environment(ff@functions$get_paralogs_by_gene))@returnValue
# A different WSDL file.
tmp = processWSDL(system.file("examples", "XMethodsFilesystemService.wsdl.xml", package = "SSOAP"))