wsdlpull svntrunk
List of all members
WsdlPull::WsdlInvoker Class Reference

#include <WsdlInvoker.h>

Public Member Functions

Constructors and Destructors
 WsdlInvoker (const std::string &url, const std::string &schemaPath="")
 
 WsdlInvoker (std::istream &input, const std::string &schemaPath="")
 
 WsdlInvoker ()
 
 ~WsdlInvoker ()
 
WSDL Inspection
bool setWSDLUri (const std::string &url, const std::string &schemaPath="")
 
int getOperations (std::vector< std::string > &operations)
 return names of operations (only for the SOAP binding portType) More...
 
std::string getOpDocumentation (const std::string &n)
 
std::string getDocumentation ()
 
bool setOperation (const std::string &operation, WsdlPull::MessageType mType=WsdlPull::Input)
 set the operation to invoke More...
 
std::string getServiceEndPoint (const std::string &opname)
 
Simple Invocation usage
bool setValue (const std::string &param, void *val)
 sets the param value for an operation by name of the parameter More...
 
bool setValue (const std::string &param, void **values, unsigned int occur)
 sets the param value for an operation by name of the parameter More...
 
bool setValue (const std::string &param, std::string val)
 sets the param value for an operation by name of the parameter More...
 
bool setValue (const std::string &param, std::vector< std::string > values)
 sets the param value for an operation by name of the parameter More...
 
bool setValue (const std::vector< std::string > &parents, void *val)
 sets the param value for an operation by name of the parameter More...
 
bool invoke (long timeout=0, bool processResponse=true)
 
void * getValue (const std::string &param, Schema::Type &t)
 
template<typename T >
getValue (const std::string &xpath, size_t p_index=1)
 
template<typename T >
std::vector< T > getValues (const std::string &xpath)
 sets the param value for an operation by name of the parameter More...
 

A more complex but powerful usage

int getNextInput (std::string &param, Schema::Type &type, int &minimum, int &maximum)
 
int getNextInput (std::string &param, Schema::Type &type, int &minimum, int &maximum, std::vector< std::string > &parents)
 
int getNextHeaderInput (std::string &param, Schema::Type &type, int &minimum, int &maximum)
 
int getNextHeaderInput (std::string &param, Schema::Type &type, int &minimum, int &maximum, std::vector< std::string > &parents)
 
int nInputHeaders () const
 
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)
 
TypeContainergetOutput (const std::string &name)
 
bool getNextHeaderOutput (std::string &name, TypeContainer *&tc)
 
void setLocation (const std::string &url)
 
void setCredentials (const std::string &user, const std::string &pass)
 
void setAuth (const std::string &user, const std::string &pass)
 
std::string getSoapMessage ()
 
std::string getXMLResponse ()
 
void setProxy (const std::string &host, int port=80)
 
void setVerbose (bool f)
 
void printTypeNames (bool f)
 
std::string errors ()
 
bool status () const
 
std::string getFaultCode () const
 
std::string getFaultSubCode () const
 
std::string getFaultString () const
 
std::string getFaultActor () const
 
void setProcessEnvAndBody (bool p_processEnvAndBody)
 
bool getProcessEnvAndBody (void) const
 
void setLazyRelativeMatch (bool p_lazyRelativeMatch)
 
bool getLazyRelativeMatch (void) const
 
void setBuildXmlTree (bool p_buildXmlTree)
 
bool getBuildXmlTree (void) const
 
void buildXmlTree (XmlPullParser &p_xmlPullParser, XmlNode_t &p_xmlNode, bool p_notScannedEventAvail=false)
 

Detailed Description

Definition at line 50 of file WsdlInvoker.h.

Constructor & Destructor Documentation

◆ WsdlInvoker() [1/3]

WsdlPull::WsdlInvoker::WsdlInvoker ( const std::string &  url,
const std::string &  schemaPath = "" 
)

The default constructor for WsdlInvoker

Parameters
wsdlurl
streamfor logging errors

Definition at line 121 of file WsdlInvoker.cpp.

◆ WsdlInvoker() [2/3]

WsdlPull::WsdlInvoker::WsdlInvoker ( std::istream &  input,
const std::string &  schemaPath = "" 
)

◆ WsdlInvoker() [3/3]

WsdlPull::WsdlInvoker::WsdlInvoker ( )

The default constructor for WsdlInvoker

Parameters
wsdlurl
streamfor logging errors

Definition at line 40 of file WsdlInvoker.cpp.

◆ ~WsdlInvoker()

WsdlPull::WsdlInvoker::~WsdlInvoker ( )

The default constructor for WsdlInvoker

Parameters
wsdlurl
streamfor logging errors

Definition at line 1265 of file WsdlInvoker.cpp.

Member Function Documentation

◆ setWSDLUri()

bool WsdlPull::WsdlInvoker::setWSDLUri ( const std::string &  url,
const std::string &  schemaPath = "" 
)
inline

setWSDLUri set the url of the wsdl file to be processed

Parameters
urlfor the wsdl file
optionalpath to schema files required to parse wsdl extensions (soap,http)

Definition at line 384 of file WsdlInvoker.h.

Referenced by main().

◆ getOperations()

int WsdlPull::WsdlInvoker::getOperations ( std::vector< std::string > &  operations)

return names of operations (only for the SOAP binding portType)

getOperations

Parameters
referenceto vector<string>
Returns
int ,number of operations

Definition at line 245 of file WsdlInvoker.cpp.

Referenced by main().

◆ getOpDocumentation()

std::string WsdlPull::WsdlInvoker::getOpDocumentation ( const std::string &  n)

setWSDLUri set the url of the wsdl file to be processed

Parameters
urlfor the wsdl file
optionalpath to schema files required to parse wsdl extensions (soap,http)

Definition at line 268 of file WsdlInvoker.cpp.

Referenced by main().

◆ getDocumentation()

std::string WsdlPull::WsdlInvoker::getDocumentation ( )

setWSDLUri set the url of the wsdl file to be processed

Parameters
urlfor the wsdl file
optionalpath to schema files required to parse wsdl extensions (soap,http)

Definition at line 260 of file WsdlInvoker.cpp.

References WsdlPull::WsdlParser::getDocumentation().

◆ setOperation()

bool WsdlPull::WsdlInvoker::setOperation ( const std::string &  operation,
WsdlPull::MessageType  mType = WsdlPull::Input 
)

set the operation to invoke

setOperation

Parameters
operationname to invoke
Returns
bool ,true if successful

Definition at line 282 of file WsdlInvoker.cpp.

Referenced by main().

◆ getServiceEndPoint()

std::string WsdlPull::WsdlInvoker::getServiceEndPoint ( const std::string &  opname)

getServiceEndPoint returns the url to be invoked for the operation

Definition at line 311 of file WsdlInvoker.cpp.

◆ setValue() [1/5]

bool WsdlPull::WsdlInvoker::setValue ( const std::string &  param,
void *  val 
)

sets the param value for an operation by name of the parameter

setValue

Parameters
nameof the operation's parameter
string/void*representation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed example invoker.setInputValue("symbol","ABC") or int zip = 94018; invoker.setInputValue("zip",(void*)(&zip)); Note that "symbol" or "zip" above can be a message part or a constituent particle in a complex type The API takes care of it.

Definition at line 935 of file WsdlInvoker.cpp.

References setInputValue().

◆ setValue() [2/5]

bool WsdlPull::WsdlInvoker::setValue ( const std::string &  param,
void **  values,
unsigned int  occur 
)

sets the param value for an operation by name of the parameter

setValue

Parameters
nameof the operation's parameter
string/void*representation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed example invoker.setInputValue("symbol","ABC") or int zip = 94018; invoker.setInputValue("zip",(void*)(&zip)); Note that "symbol" or "zip" above can be a message part or a constituent particle in a complex type The API takes care of it.

Definition at line 946 of file WsdlInvoker.cpp.

References setInputValue().

◆ setValue() [3/5]

bool WsdlPull::WsdlInvoker::setValue ( const std::string &  param,
std::string  val 
)

sets the param value for an operation by name of the parameter

setValue

Parameters
nameof the operation's parameter
string/void*representation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed example invoker.setInputValue("symbol","ABC") or int zip = 94018; invoker.setInputValue("zip",(void*)(&zip)); Note that "symbol" or "zip" above can be a message part or a constituent particle in a complex type The API takes care of it.

Definition at line 958 of file WsdlInvoker.cpp.

References setInputValue().

◆ setValue() [4/5]

bool WsdlPull::WsdlInvoker::setValue ( const std::string &  param,
std::vector< std::string >  values 
)

sets the param value for an operation by name of the parameter

setValue

Parameters
nameof the operation's parameter
string/void*representation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed example invoker.setInputValue("symbol","ABC") or int zip = 94018; invoker.setInputValue("zip",(void*)(&zip)); Note that "symbol" or "zip" above can be a message part or a constituent particle in a complex type The API takes care of it.

Definition at line 969 of file WsdlInvoker.cpp.

References setInputValue().

◆ setValue() [5/5]

bool WsdlPull::WsdlInvoker::setValue ( const std::vector< std::string > &  parents,
void *  val 
)

sets the param value for an operation by name of the parameter

setValue

Parameters
nameof the operation's parameter
string/void*representation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed example invoker.setInputValue("symbol","ABC") or int zip = 94018; invoker.setInputValue("zip",(void*)(&zip)); Note that "symbol" or "zip" above can be a message part or a constituent particle in a complex type The API takes care of it.

◆ invoke()

bool WsdlPull::WsdlInvoker::invoke ( long  timeout = 0,
bool  processResponse = true 
)

◆ getValue() [1/2]

void * WsdlPull::WsdlInvoker::getValue ( const std::string &  param,
Schema::Type t 
)

getValue return the value of the output whose name is 'param'

Parameters
typeis set by reference to enable type casting in client code
Returns
pointer to the value or 0 if there is no simple type or part name whose name is 'param' in the web service output. example float * val = (int*) invoker.getOutput("Result",t);//stock quotes t would be Schema::FLOAT

Definition at line 1346 of file WsdlInvoker.cpp.

◆ getValue() [2/2]

template<typename T >
T WsdlPull::WsdlInvoker::getValue ( const std::string &  xpath,
size_t  p_index = 1 
)
inline

getValue return the value based on an xpath like expression

Parameters
xpath- the xpath expression or an element name which leads to a simple type element or attribute if it points to a simple type element,the element's text is returned, if it points to the attribute the attribute is returned

/login/result/header/errorCode -> will do an absolute from the root node result/header/errorCode -> will do a relative match starting with "result" result//errorCode -> will return all "errorCode" under "result" //errorCode will return all "errorCode" from the root node result/@type -> will return attribute value of type for element result

Parameters
p_index- default value "1". Return the conten stored in the "Nth" node when several nodes that would match the xpath expression are found. It starts at "1" to comply with W3C Xpath standards A value of "0" would return the content of ll matching nodes, but this function does only return one "content"
Returns
- The value , an empty string is returned if the xpath expression doesnt lead to some CDATA Exception is thrown if this method is called when the status() returns false or web service response is empty example float getValue<float>('StockQuoteResponse/quote')

Definition at line 449 of file WsdlInvoker.h.

◆ getValues()

template<typename T >
std::vector< T > WsdlPull::WsdlInvoker::getValues ( const std::string &  xpath)
inline

sets the param value for an operation by name of the parameter

setValue

Parameters
nameof the operation's parameter
string/void*representation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed example invoker.setInputValue("symbol","ABC") or int zip = 94018; invoker.setInputValue("zip",(void*)(&zip)); Note that "symbol" or "zip" above can be a message part or a constituent particle in a complex type The API takes care of it.

Definition at line 470 of file WsdlInvoker.h.

Referenced by main().

◆ getNextInput() [1/2]

int WsdlPull::WsdlInvoker::getNextInput ( std::string &  param,
Schema::Type type,
int &  minimum,
int &  maximum 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1133 of file WsdlInvoker.cpp.

References getNextInput().

Referenced by getNextInput(), and main().

◆ getNextInput() [2/2]

int WsdlPull::WsdlInvoker::getNextInput ( std::string &  param,
Schema::Type type,
int &  minimum,
int &  maximum,
std::vector< std::string > &  parents 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1140 of file WsdlInvoker.cpp.

◆ getNextHeaderInput() [1/2]

int WsdlPull::WsdlInvoker::getNextHeaderInput ( std::string &  param,
Schema::Type type,
int &  minimum,
int &  maximum 
)

getNextHeaderInput Similar to the previous method except that it gets the SOAP headers if any Set methods are same as for regular inputs

Definition at line 1158 of file WsdlInvoker.cpp.

References getNextHeaderInput().

Referenced by getNextHeaderInput(), and main().

◆ getNextHeaderInput() [2/2]

int WsdlPull::WsdlInvoker::getNextHeaderInput ( std::string &  param,
Schema::Type type,
int &  minimum,
int &  maximum,
std::vector< std::string > &  parents 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1167 of file WsdlInvoker.cpp.

◆ nInputHeaders()

int WsdlPull::WsdlInvoker::nInputHeaders ( ) const
inline

returns the number of input headers you may need to set

Definition at line 413 of file WsdlInvoker.h.

Referenced by main().

◆ setInputValue() [1/4]

bool WsdlPull::WsdlInvoker::setInputValue ( const int  param,
void *  val 
)

setInputValue sets the param value for an operation only simple types can be set.

Parameters
idreturn by getNextInput()
void** pointer to array of pointers to the the values
Returns
true if successful,false if the values didnt match or occurrence constraint failed

Definition at line 901 of file WsdlInvoker.cpp.

References Schema::XSDType::getContentModel(), Schema::ComplexType::getContentType(), Schema::SchemaParser::getType(), Schema::XSDType::isSimple(), Schema::TypeContainer::isValueValid(), Schema::TypeContainer::print(), Schema::Simple, and Schema::SchemaValidator::validate().

Referenced by main(), and setValue().

◆ setInputValue() [2/4]

bool WsdlPull::WsdlInvoker::setInputValue ( const int  id,
void **  values,
unsigned int  occur 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 808 of file WsdlInvoker.cpp.

References Schema::TypeContainer::isValueValid(), Schema::TypeContainer::print(), and Schema::SchemaValidator::validate().

◆ setInputValue() [3/4]

bool WsdlPull::WsdlInvoker::setInputValue ( const int  param,
std::string  val 
)

setInputValue sets the param value for an operation only simple types can be set.

Parameters
idreturn by getNextInput()
stringrepresentation of the parameter
Returns
true if successful,false if the values didnt match or occurrence constraint failed

Definition at line 864 of file WsdlInvoker.cpp.

References Schema::XSDType::getContentModel(), Schema::ComplexType::getContentType(), Schema::SchemaParser::getType(), Schema::XSDType::isSimple(), Schema::TypeContainer::isValueValid(), Schema::Simple, and Schema::SchemaValidator::validate().

◆ setInputValue() [4/4]

bool WsdlPull::WsdlInvoker::setInputValue ( const int  param,
std::vector< std::string >  values 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 836 of file WsdlInvoker.cpp.

References Schema::TypeContainer::isValueValid(), and Schema::SchemaValidator::validate().

◆ getNextOutput()

bool WsdlPull::WsdlInvoker::getNextOutput ( std::string &  name,
TypeContainer *&  tc 
)

getNextOutput get the part/elem name and type container

Returns
false when we finished iterating through all outputs after which it rewinds and you can start again

Definition at line 1304 of file WsdlInvoker.cpp.

Referenced by main().

◆ getOutput()

TypeContainer * WsdlPull::WsdlInvoker::getOutput ( const std::string &  name)

getOutput return the type container which stores the output for the output part/elem name

Definition at line 1319 of file WsdlInvoker.cpp.

◆ getNextHeaderOutput()

bool WsdlPull::WsdlInvoker::getNextHeaderOutput ( std::string &  name,
TypeContainer *&  tc 
)

getNextHeaderOutput get the type container which stores the SOAP header

Returns
false when we finished iterating through all outputs after which it rewinds and you can start again

Definition at line 1330 of file WsdlInvoker.cpp.

Referenced by main().

◆ setLocation()

void WsdlPull::WsdlInvoker::setLocation ( const std::string &  url)
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 399 of file WsdlInvoker.h.

◆ setCredentials()

void WsdlPull::WsdlInvoker::setCredentials ( const std::string &  user,
const std::string &  pass 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1984 of file WsdlInvoker.cpp.

References XmlUtils::setProxy(), XmlUtils::setProxyPass(), and XmlUtils::setProxyUser().

◆ setAuth()

void WsdlPull::WsdlInvoker::setAuth ( const std::string &  user,
const std::string &  pass 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2031 of file WsdlInvoker.cpp.

◆ getSoapMessage()

std::string WsdlPull::WsdlInvoker::getSoapMessage ( )

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 981 of file WsdlInvoker.cpp.

References invoke().

Referenced by main().

◆ getXMLResponse()

std::string WsdlPull::WsdlInvoker::getXMLResponse ( )

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 990 of file WsdlInvoker.cpp.

◆ setProxy()

void WsdlPull::WsdlInvoker::setProxy ( const std::string &  host,
int  port = 80 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2039 of file WsdlInvoker.cpp.

References XmlUtils::setProxy(), and XmlUtils::setProxyHost().

◆ setVerbose()

void WsdlPull::WsdlInvoker::setVerbose ( bool  f)
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 406 of file WsdlInvoker.h.

Referenced by main().

◆ printTypeNames()

void WsdlPull::WsdlInvoker::printTypeNames ( bool  f)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1690 of file WsdlInvoker.cpp.

Referenced by main().

◆ errors()

std::string WsdlPull::WsdlInvoker::errors ( )
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 377 of file WsdlInvoker.h.

Referenced by main().

◆ status()

bool WsdlPull::WsdlInvoker::status ( ) const
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 392 of file WsdlInvoker.h.

Referenced by main().

◆ getFaultCode()

std::string WsdlPull::WsdlInvoker::getFaultCode ( ) const
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 420 of file WsdlInvoker.h.

◆ getFaultSubCode()

std::string WsdlPull::WsdlInvoker::getFaultSubCode ( ) const
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 427 of file WsdlInvoker.h.

◆ getFaultString()

std::string WsdlPull::WsdlInvoker::getFaultString ( ) const
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 434 of file WsdlInvoker.h.

◆ getFaultActor()

std::string WsdlPull::WsdlInvoker::getFaultActor ( ) const
inline

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 441 of file WsdlInvoker.h.

◆ setProcessEnvAndBody()

void WsdlPull::WsdlInvoker::setProcessEnvAndBody ( bool  p_processEnvAndBody)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2006 of file WsdlInvoker.cpp.

References XmlDoc_t::setProcessEnvAndBody().

◆ getProcessEnvAndBody()

bool WsdlPull::WsdlInvoker::getProcessEnvAndBody ( void  ) const

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2012 of file WsdlInvoker.cpp.

References XmlDoc_t::getProcessEnvAndBody().

◆ setLazyRelativeMatch()

void WsdlPull::WsdlInvoker::setLazyRelativeMatch ( bool  p_lazyRelativeMatch)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2018 of file WsdlInvoker.cpp.

References XmlDoc_t::setLazyRelativeMatch().

◆ getLazyRelativeMatch()

bool WsdlPull::WsdlInvoker::getLazyRelativeMatch ( void  ) const

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2024 of file WsdlInvoker.cpp.

References XmlDoc_t::getLazyRelativeMatch().

◆ setBuildXmlTree()

void WsdlPull::WsdlInvoker::setBuildXmlTree ( bool  p_buildXmlTree)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1994 of file WsdlInvoker.cpp.

◆ getBuildXmlTree()

bool WsdlPull::WsdlInvoker::getBuildXmlTree ( void  ) const

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 2000 of file WsdlInvoker.cpp.

◆ buildXmlTree()

void WsdlPull::WsdlInvoker::buildXmlTree ( XmlPullParser p_xmlPullParser,
XmlNode_t p_xmlNode,
bool  p_notScannedEventAvail = false 
)

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

Parameters
ref:paramname Name of the param
ref:Schema::Type,theschema type
refminimum and maximum (occurrences)
ref:parents,parentlist of type hierarchy for this parameter.
Returns
unique id of this parameter

Definition at line 1697 of file WsdlInvoker.cpp.

References XmlNode_t::addAttribute(), XmlNode_t::addNode(), buildXmlTree(), XmlNode_t::empty(), XmlNode_t::EMPTY_NODE, XmlPullParser::END_DOCUMENT, XmlPullParser::END_TAG, XmlPullParser::ENTITY_REF, XmlPullParser::getAttributeCount(), XmlPullParser::getAttributeName(), XmlPullParser::getAttributeValue(), XmlPullParser::getEventType(), XmlPullParser::getName(), XmlPullParser::getText(), XmlPullParser::nextToken(), XmlNode_t::NON_EMPTY_NODE, XmlNode_t::setName(), XmlNode_t::setText(), XmlPullParser::START_TAG, and XmlPullParser::TEXT.

Referenced by buildXmlTree(), and invoke().


The documentation for this class was generated from the following files: