WsdlPull::Soap Class Reference

#include <Soap.h>

Inheritance diagram for WsdlPull::Soap:

Inheritance graph
[legend]
Collaboration diagram for WsdlPull::Soap:

Collaboration graph
[legend]

List of all members.

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)
WsdlParserwsdlParser () 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


Detailed Description

Definition at line 38 of file Soap.h.


Member Enumeration Documentation

Enumerator:
SOAP11 
SOAP12 

Definition at line 51 of file Soap.h.

Enumerator:
LITERAL 
ENCODED 

Definition at line 56 of file Soap.h.

Enumerator:
RPC 
DOC 

Definition at line 62 of file Soap.h.

Enumerator:
NONE 
HTTP 
SMTP 

Definition at line 68 of file Soap.h.


Constructor & Destructor Documentation

WsdlPull::Soap::Soap ( const std::string &  schemaPath = "",
SoapVersion  a_soapVersion = SOAP11 
)

Definition at line 47 of file Soap.cpp.

References SOAP12, soapBindingUri11, and soapBindingUri12.

WsdlPull::Soap::~Soap (  )  [virtual]

Definition at line 69 of file Soap.cpp.


Member Function Documentation

void WsdlPull::Soap::setSchemaPath ( const std::string &  schemaPath  )  [virtual]

Set path to directory containing XML schemas.

Reimplemented from WsdlPull::WsdlExtension.

Definition at line 502 of file Soap.cpp.

Soap::Transport WsdlPull::Soap::getTransportMethod (  )  const [inline]

Definition at line 277 of file Soap.h.

Soap::Style WsdlPull::Soap::getStyle (  )  const [inline]

Definition at line 284 of file Soap.h.

std::string WsdlPull::Soap::getNamespace ( void   )  const [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 213 of file Soap.h.

void WsdlPull::Soap::setNamespacePrefix ( std::string  pre  )  [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 220 of file Soap.h.

std::string WsdlPull::Soap::getNamespacePrefix (  )  const [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 227 of file Soap.h.

bool WsdlPull::Soap::isNamespaceHandler ( const std::string &  ns  )  const [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 234 of file Soap.h.

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

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]

Implements WsdlPull::WsdlExtension.

Definition at line 241 of file Soap.h.

int WsdlPull::Soap::handleElement ( int  parent,
XmlPullParser xParser 
) [virtual]

int WsdlPull::Soap::handleAttribute ( int  parent,
std::string  attName,
XmlPullParser  
) [virtual]

int WsdlPull::Soap::getElementName ( int  id  )  const [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 194 of file Soap.h.

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]

Implements WsdlPull::WsdlExtension.

Definition at line 204 of file Soap.h.

void WsdlPull::Soap::setStartId ( int  id  )  [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 249 of file Soap.h.

int WsdlPull::Soap::getStartId (  )  const [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 256 of file Soap.h.

void WsdlPull::Soap::setWsdlParser ( WsdlParser wp  )  [inline, virtual]

Reimplemented from WsdlPull::WsdlExtension.

Definition at line 263 of file Soap.h.

WsdlParser * WsdlPull::Soap::wsdlParser (  )  const [inline, virtual]

Reimplemented from WsdlPull::WsdlExtension.

Definition at line 291 of file Soap.h.

bool WsdlPull::Soap::wasUsed (  )  const [inline, virtual]

Implements WsdlPull::WsdlExtension.

Definition at line 270 of file Soap.h.

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 
)

Definition at line 449 of file Soap.cpp.

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  ) 

Definition at line 463 of file Soap.cpp.

References Schema::SchemaParser::getElement().

bool WsdlPull::Soap::isSoapHeader ( int  id  ) 

Definition at line 480 of file Soap.cpp.

References Schema::SchemaParser::getElement().


Member Data Documentation

const std::string WsdlPull::Soap::httpTransport = "http://schemas.xmlsoap.org/soap/http" [static]

Definition at line 42 of file Soap.h.

const std::string WsdlPull::Soap::httpBinding = "http://schemas.xmlsoap.org/wsdl/http/" [static]

Definition at line 43 of file Soap.h.

const std::string WsdlPull::Soap::soapEncUri11 = "http://schemas.xmlsoap.org/soap/encoding/" [static]

Definition at line 44 of file Soap.h.

Referenced by getEncodingSchema(), and getEncodingUri().

const std::string WsdlPull::Soap::soapEnvUri11 = "http://schemas.xmlsoap.org/soap/envelope/" [static]

Definition at line 45 of file Soap.h.

Referenced by getEnvelopeUri().

const std::string WsdlPull::Soap::soapEncUri12 = "http://www.w3.org/2003/05/soap-encoding" [static]

Definition at line 46 of file Soap.h.

Referenced by getEncodingSchema(), and getEncodingUri().

const std::string WsdlPull::Soap::soapEnvUri12 = "http://www.w3.org/2003/05/soap-envelope" [static]

Definition at line 47 of file Soap.h.

Referenced by getEnvelopeUri().

const std::string WsdlPull::Soap::soapBindingUri11 = "http://schemas.xmlsoap.org/wsdl/soap/" [static]

Definition at line 48 of file Soap.h.

Referenced by Soap().

const std::string WsdlPull::Soap::soapBindingUri12 = "http://schemas.xmlsoap.org/wsdl/soap12/" [static]

Definition at line 49 of file Soap.h.

Referenced by Soap().


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

Generated on Sat Jan 10 19:07:19 2009 for wsdlpull by  doxygen 1.5.5