#include <WsdlInvoker.h>
Collaboration diagram for WsdlInvoker:
Public Member Functions | |
void | setVerbose (bool f) |
std::string | errors () |
bool | status () const |
Constructors and Destructors | |
WsdlInvoker (const std::string &url) | |
WsdlInvoker () | |
~WsdlInvoker () | |
WSDL Inspection | |
bool | setWSDLUri (const std::string &url) |
int | getOperations (std::vector< std::string > &operations) |
return names of operations (only for the SOAP binding portType) | |
std::string | getOpDocumentaion (const std::string &n) |
bool | setOperation (const std::string &operation) |
set the operation to invoke | |
Simple Invocation usage | |
bool | setValue (const std::string ¶m, void *val) |
sets the param value for an operation by name of the parameter | |
bool | setValue (const std::string ¶m, void **values, unsigned int occur) |
bool | setValue (const std::string ¶m, std::string val) |
bool | setValue (const std::string ¶m, std::vector< std::string > values) |
bool | invoke () |
void * | getValue (const std::string ¶m, Schema::Type &t) |
A more complex but powerful usage | |
int | getNextInput (std::string ¶m, Schema::Type &type, int &min, int &max) |
bool | setInputValue (const int param, void *val) |
bool | setInputValue (const int id, void **values, unsigned int occur) |
bool | setInputValue (const int param, std::string val) |
bool | setInputValue (const int param, std::vector< std::string > values) |
bool | getNextOutput (std::string &name, TypeContainer *&tc) |
TypeContainer * | getOutput (const std::string &name) |
|
The default constructor for WsdlInvoker
|
|
|
|
|
|
|
|
return names of operations (only for the SOAP binding portType) getOperations
|
|
|
|
set the operation to invoke setOperation
|
|
sets the param value for an operation by name of the parameter setValue
|
|
|
|
|
|
|
|
invoke invoke the web service operation
|
|
getValue return the value of the output whose name is 'param'
|
|
getNextInput Calling this method repeatedly informs the caller of the input types the web service operation expects. Each call returns a unique id which must be used while setting the value using setInputValue.This method exposes only atomic types.Even if a web service needs a complex type ,the api exposes only the constituent particles.The only exception is when a complex content model needs multiple occurrences which is still a TODO
|
|
setInputValue sets the param value for an operation only simple types can be set.
|
|
|
|
setInputValue sets the param value for an operation only simple types can be set.
|
|
|
|
getNextOutput return the part/elem name and type container |
|
getOutput return the type container which stores the output for the output part/elem name |
|
|
|
|
|
|