#include <Soap.h>
Public Types | |
enum | SoapVersion { SOAP11, SOAP12 } |
enum | Encoding { LITERAL, ENCODED } |
enum | Style { RPC, DOC } |
enum | Transport { NONE, HTTP, SMTP } |
Public Member Functions | |
Soap (const std::string &schemaPath="", SoapVersion a_soapVersion=SOAP11) | |
virtual | ~Soap () |
void | setSchemaPath (const std::string &schemaPath) |
Transport | getTransportMethod () const |
Style | getStyle () const |
std::string | getNamespace () const |
void | setNamespacePrefix (std::string pre) |
std::string | getNamespacePrefix () const |
bool | isNamespaceHandler (const std::string &ns) const |
std::string | getExtensibilitySchema (void) const |
std::string | getEncodingSchema (void) const |
std::string | getEncodingUri (void) const |
std::string | getEnvelopeUri (void) const |
void | setSchemaParser (SchemaParser *spe) |
int | handleElement (int parent, XmlPullParser *) |
int | handleAttribute (int parent, std::string attName, XmlPullParser *) |
int | getElementName (int id) const |
int | getElemAttribute (int id, int att_num) |
int | getElemAttributeValue (int id, int att_num) |
int | getAttributeName (int id) const |
void | setStartId (int id) |
int | getStartId () const |
void | setWsdlParser (WsdlParser *wp) |
WsdlParser * | wsdlParser () const |
bool | wasUsed () const |
void | serialize (std::ostream &out) |
void | getSoapOperationInfo (int elemId, std::string &soapAction, Soap::Style &style) |
void | getSoapBodyInfo (int elemId, std::string &ns, Soap::Encoding &use, std::string &encodingStyle) |
void | getSoapHeaderInfo (int elemId, std::string &ns, int &partId, const Message *&m) |
bool | getServiceLocation (int elemId, std::string &location) |
SoapVersion | getSoapVersion () const |
bool | isSoapBody (int id) |
bool | isSoapHeader (int id) |
Static Public Attributes | |
static const std::string | httpTransport = "http://schemas.xmlsoap.org/soap/http" |
static const std::string | httpBinding = "http://schemas.xmlsoap.org/wsdl/http/" |
static const std::string | soapEncUri11 = "http://schemas.xmlsoap.org/soap/encoding/" |
static const std::string | soapEnvUri11 = "http://schemas.xmlsoap.org/soap/envelope/" |
static const std::string | soapEncUri12 = "http://www.w3.org/2003/05/soap-encoding" |
static const std::string | soapEnvUri12 = "http://www.w3.org/2003/05/soap-envelope" |
static const std::string | soapBindingUri11 = "http://schemas.xmlsoap.org/wsdl/soap/" |
static const std::string | soapBindingUri12 = "http://schemas.xmlsoap.org/wsdl/soap12/" |
Classes | |
struct | IDTableIndex |
struct | SoapHeaderBinding |
struct | SoapMessageBinding |
struct | SoapOperationBinding |
Definition at line 38 of file Soap.h.
WsdlPull::Soap::Soap | ( | const std::string & | schemaPath = "" , |
|
SoapVersion | a_soapVersion = SOAP11 | |||
) |
void WsdlPull::Soap::setSchemaPath | ( | const std::string & | schemaPath | ) | [virtual] |
Set path to directory containing XML schemas.
Reimplemented from WsdlPull::WsdlExtension.
Soap::Transport WsdlPull::Soap::getTransportMethod | ( | ) | const [inline] |
Soap::Style WsdlPull::Soap::getStyle | ( | ) | const [inline] |
std::string WsdlPull::Soap::getNamespace | ( | void | ) | const [inline, virtual] |
void WsdlPull::Soap::setNamespacePrefix | ( | std::string | pre | ) | [inline, virtual] |
std::string WsdlPull::Soap::getNamespacePrefix | ( | ) | const [inline, virtual] |
bool WsdlPull::Soap::isNamespaceHandler | ( | const std::string & | ns | ) | const [inline, virtual] |
std::string WsdlPull::Soap::getExtensibilitySchema | ( | void | ) | const [virtual] |
Implements WsdlPull::WsdlExtension.
Definition at line 78 of file Soap.cpp.
References WsdlPull::WsdlParser::useLocalSchema_.
std::string WsdlPull::Soap::getEncodingSchema | ( | void | ) | const |
Definition at line 92 of file Soap.cpp.
References getSoapVersion(), SOAP11, SOAP12, soapEncUri11, soapEncUri12, and WsdlPull::WsdlParser::useLocalSchema_.
std::string WsdlPull::Soap::getEncodingUri | ( | void | ) | const |
Definition at line 116 of file Soap.cpp.
References getSoapVersion(), SOAP11, SOAP12, soapEncUri11, and soapEncUri12.
Referenced by WsdlPull::WsdlInvoker::invoke().
std::string WsdlPull::Soap::getEnvelopeUri | ( | void | ) | const |
Definition at line 131 of file Soap.cpp.
References getSoapVersion(), SOAP11, SOAP12, soapEnvUri11, and soapEnvUri12.
Referenced by WsdlPull::WsdlInvoker::invoke().
void WsdlPull::Soap::setSchemaParser | ( | SchemaParser * | spe | ) | [inline, virtual] |
int WsdlPull::Soap::handleElement | ( | int | parent, | |
XmlPullParser * | xParser | |||
) | [virtual] |
Implements WsdlPull::WsdlExtension.
Definition at line 146 of file Soap.cpp.
References Schema::SchemaParserException::description, Schema::SchemaParser::getElement(), XmlPullParser::getName(), Schema::Element::getType(), and Schema::SchemaValidator::validate().
int WsdlPull::Soap::handleAttribute | ( | int | parent, | |
std::string | attName, | |||
XmlPullParser * | ||||
) | [virtual] |
Implements WsdlPull::WsdlExtension.
int WsdlPull::Soap::getElementName | ( | int | id | ) | const [inline, virtual] |
int WsdlPull::Soap::getElemAttribute | ( | int | id, | |
int | att_num | |||
) |
int WsdlPull::Soap::getElemAttributeValue | ( | int | id, | |
int | att_num | |||
) |
int WsdlPull::Soap::getAttributeName | ( | int | id | ) | const [inline, virtual] |
void WsdlPull::Soap::setStartId | ( | int | id | ) | [inline, virtual] |
int WsdlPull::Soap::getStartId | ( | ) | const [inline, virtual] |
void WsdlPull::Soap::setWsdlParser | ( | WsdlParser * | wp | ) | [inline, virtual] |
WsdlParser * WsdlPull::Soap::wsdlParser | ( | ) | const [inline, virtual] |
bool WsdlPull::Soap::wasUsed | ( | ) | const [inline, virtual] |
void WsdlPull::Soap::serialize | ( | std::ostream & | out | ) |
void WsdlPull::Soap::getSoapOperationInfo | ( | int | elemId, | |
std::string & | soapAction, | |||
Soap::Style & | style | |||
) |
void WsdlPull::Soap::getSoapBodyInfo | ( | int | elemId, | |
std::string & | ns, | |||
Soap::Encoding & | use, | |||
std::string & | encodingStyle | |||
) |
void WsdlPull::Soap::getSoapHeaderInfo | ( | int | elemId, | |
std::string & | ns, | |||
int & | partId, | |||
const Message *& | m | |||
) |
bool WsdlPull::Soap::getServiceLocation | ( | int | elemId, | |
std::string & | location | |||
) |
SoapVersion WsdlPull::Soap::getSoapVersion | ( | ) | const [inline] |
Definition at line 124 of file Soap.h.
Referenced by getEncodingSchema(), getEncodingUri(), and getEnvelopeUri().
bool WsdlPull::Soap::isSoapBody | ( | int | id | ) |
bool WsdlPull::Soap::isSoapHeader | ( | int | id | ) |
const std::string WsdlPull::Soap::httpTransport = "http://schemas.xmlsoap.org/soap/http" [static] |
const std::string WsdlPull::Soap::httpBinding = "http://schemas.xmlsoap.org/wsdl/http/" [static] |
const std::string WsdlPull::Soap::soapEncUri11 = "http://schemas.xmlsoap.org/soap/encoding/" [static] |
const std::string WsdlPull::Soap::soapEnvUri11 = "http://schemas.xmlsoap.org/soap/envelope/" [static] |
const std::string WsdlPull::Soap::soapEncUri12 = "http://www.w3.org/2003/05/soap-encoding" [static] |
const std::string WsdlPull::Soap::soapEnvUri12 = "http://www.w3.org/2003/05/soap-envelope" [static] |
const std::string WsdlPull::Soap::soapBindingUri11 = "http://schemas.xmlsoap.org/wsdl/soap/" [static] |
const std::string WsdlPull::Soap::soapBindingUri12 = "http://schemas.xmlsoap.org/wsdl/soap12/" [static] |