46 #define DEFAULT_SOAP_URL "/soap" 225 #endif // PTLIB_PSOAP_H PURL url
Definition: psoap.h:213
PINDEX GetFaultCode() const
Definition: psoap.h:206
PString GetFaultText() const
Definition: psoap.h:205
This class defines an arbitrary time interval to millisecond accuracy.
Definition: timeint.h:55
void SetTimeout(const PTimeInterval &_timeout)
Definition: psoap.h:199
This resource will bind the methods to an http resource (a url)
Definition: psoap.h:147
PSOAPMessage response
Definition: psoap.h:128
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:1049
Class specialisation for PNotifierTemplate<INT>
This abstract class describes the authorisation mechanism for a Universal Resource Locator...
Definition: http.h:1002
PSOAPServerRequestResponse(PSOAPMessage &req)
Definition: psoap.h:124
Error processing SOAP Header field "mustUnderstand".
Definition: psoap.h:97
SOAP client classes.
Definition: psoap.h:192
Invalid namespace for SOAP Envelope.
Definition: psoap.h:95
This is a dictionary collection class of PString objects, keyed by another string.
Definition: pstring.h:2784
PINDEX GetFaultCode() const
Definition: psoap.h:104
PSOAPMessage(int options=PXMLParser::Indent+PXMLParser::NewLineAfterElement)
Construct a SOAP message.
Everything is alright.
Definition: psoap.h:93
PINDEX faultCode
Definition: psoap.h:214
This object describes a HyperText Transport Protocol resource.
Definition: http.h:1222
void SetSOAPAction(PString saction)
Use this method to have the server check for SOAPAction field in HTTP header.
Definition: psoap.h:178
BOOL PBoolean
Definition: object.h:102
SOAP Server classes.
Definition: psoap.h:120
void setSOAPAction(PString saction)
Set a specific SOAPAction field in the HTTTP header, default = " ".
Definition: psoap.h:209
PSOAPServerMethod(const PString &name)
Definition: psoap.h:137
PBoolean Load(const PString &str)
Parse a string for a valid SOAP message.
PNotifier methodFunc
Definition: psoap.h:140
The request was incorrectly formed or did not contain the appropriate information in order to succeed...
Definition: psoap.h:99
The character string class.
Definition: pstring.h:108
void AddParameter(PString name, PString type, PString value)
Add a simple parameter called name, with type type and value value.
PSORTED_LIST(PSOAPServerMethodList, PSOAPServerMethod)
PSOAPMessage & request
Definition: psoap.h:127
PMutex methodMutex
Definition: psoap.h:181
The request could not be processed for reasons not directly attributable to the contents of the messa...
Definition: psoap.h:101
void GetMethod(PString &name, PString &nameSpace)
Get the method name and namespace.
void SetMethod(const PString &name, const PString &nameSpace, const PString &methodPrefix="m:")
Set the method name and namespace.
SOAP Message classes.
Definition: psoap.h:54
PBoolean GetParameter(const PString &name, PString &value)
Get parameter "name" with type "string".
PString faultText
Definition: psoap.h:215
PTimeInterval timeout
Definition: psoap.h:216
PString GetFaultText() const
Definition: psoap.h:105
PSOAPServerMethodList methodList
Definition: psoap.h:182
void SetFault(PINDEX code, const PString &text)
This object describes a HyperText Transport Protocol request.
Definition: http.h:968
Ultimate parent class for all objects in the class library.
Definition: object.h:1118
This class describes a Universal Resource Locator.
Definition: url.h:54
Create an association between a method and its "notifier", the handler function.
Definition: psoap.h:133