 |
Qore SoapDataProvider Module Reference
1.0
|
44 const ProviderInfo = <DataProviderInfo>{
45 "type":
"SoapDataProvider",
46 "supports_read": False,
47 "supports_create": False,
48 "supports_update": False,
49 "supports_upsert": False,
50 "supports_delete": False,
51 "supports_native_search": False,
52 "supports_bulk_create": False,
53 "supports_bulk_upsert": False,
54 "supports_children": True,
55 "constructor_options": ConstructorOptions,
56 "search_options": NOTHING,
57 "create_options": NOTHING,
58 "upsert_options": NOTHING,
59 "transaction_management": False,
63 const ConstructorOptions = {
64 "schema": <DataProviderOptionInfo>{
66 AbstractDataProviderType::get(StringType),
67 AbstractDataProviderType::get(
new Type(
"WebService")),
69 "desc":
"the SOAP schema object (WebService) or source URL for the WSDL",
72 "soapclient": <DataProviderOptionInfo>{
73 "type": AbstractDataProviderType::get(
new Type(
"SoapClient")),
74 "desc":
"the SoapClient object",
76 "url": <DataProviderOptionInfo>{
77 "type": AbstractDataProviderType::get(StringType),
78 "desc":
"the URL to the SOAP server; overrides any URL in the schema or in any SoapClient object "
79 "passed as an option",
81 "soapclient_options": <DataProviderOptionInfo>{
82 "type": AbstractDataProviderType::get(AutoHashType),
83 "desc":
"options to the SoapClient constructor; only used if a SoapClient object is created for a "
hash< auto > path_tree
hash of valid paths
Definition: SoapDataProvider.qc.dox.h:90
Qore SoapDataProvider module definition.
Definition: SoapDataProvider.qc.dox.h:32
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
checkSoapClient(SoapClient soap)
Checks the SOAP client.
WebService webservice
The SOAP schema.
Definition: SoapDataProvider.qc.dox.h:38
*SoapClient soapclient
The client object for API calls.
Definition: SoapDataProvider.qc.dox.h:41
constructor(*hash< auto > options)
Creates the object from constructor options.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
constructor(WebService webservice, *SoapClient soapclient)
Creates the object from the arguments.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string getName()
Returns the data provider name.