42 #define DEFAULT_SOAP_URL "/soap"
56 PSOAPMessage(Options options = Indent + NewLineAfterElement);
221 #endif // PTLIB_PSOAP_H
Error processing SOAP Header field "mustUnderstand".
Definition: psoap.h:93
PURL url
Definition: psoap.h:209
PINDEX GetFaultCode() const
Definition: psoap.h:202
PString GetFaultText() const
Definition: psoap.h:201
PSOAPMessage(Options options=Indent+NewLineAfterElement)
Construct a SOAP message.
This class defines an arbitrary time interval to millisecond accuracy.
Definition: timeint.h:51
Everything is alright.
Definition: psoap.h:89
void SetTimeout(const PTimeInterval &_timeout)
Definition: psoap.h:195
This resource will bind the methods to an http resource (a url)
Definition: psoap.h:143
PSOAPMessage response
Definition: psoap.h:124
Class specialisation for PNotifierTemplate<P_INT_PTR>
This abstract class describes the authorisation mechanism for a Universal Resource Locator...
Definition: http.h:1452
PSOAPServerRequestResponse(PSOAPMessage &req)
Definition: psoap.h:120
SOAP client classes.
Definition: psoap.h:188
This is a dictionary collection class of PString objects, keyed by another string.
Definition: pstring.h:3151
PINDEX GetFaultCode() const
Definition: psoap.h:100
PBoolean LoadHeaders(PHTTPRequest &request)
Get the headers for block of data (eg HTML) that the resource contains.
virtual PBoolean SetMethod(const PString &methodName, const PNotifier &func)
PINDEX faultCode
Definition: psoap.h:210
This object describes a HyperText Transport Protocol resource.
Definition: http.h:1680
Invalid namespace for SOAP Envelope.
Definition: psoap.h:91
void SetSOAPAction(PString saction)
Use this method to have the server check for SOAPAction field in HTTP header.
Definition: psoap.h:174
SOAP Server classes.
Definition: psoap.h:116
virtual PBoolean OnSOAPRequest(const PString &body, PString &reply)
void setSOAPAction(PString saction)
Set a specific SOAPAction field in the HTTTP header, default = " ".
Definition: psoap.h:205
PSOAPServerMethod(const PString &name)
Definition: psoap.h:133
PBoolean PerformRequest(PSOAPMessage &request, PSOAPMessage &response)
PBoolean Load(const PString &str)
Parse a string for a valid SOAP message.
PNotifier methodFunc
Definition: psoap.h:136
bool PBoolean
Definition: object.h:174
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.
The request could not be processed for reasons not directly attributable to the contents of the messa...
Definition: psoap.h:97
The request was incorrectly formed or did not contain the appropriate information in order to succeed...
Definition: psoap.h:95
PBoolean MakeRequest(const PString &method, const PString &nameSpace)
PSOAPMessage & request
Definition: psoap.h:123
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:50
PBoolean GetParameter(const PString &name, PString &value)
Get parameter "name" with type "string".
PString faultText
Definition: psoap.h:211
PTimeInterval timeout
Definition: psoap.h:212
PDECLARE_MUTEX(methodMutex)
PString GetFaultText() const
Definition: psoap.h:101
PSOAPClient(const PURL &url)
PSOAPServerMethodList methodList
Definition: psoap.h:178
void SetFault(PINDEX code, const PString &text)
#define PSORTED_LIST(cls, T)
Declare a sorted list class.
Definition: lists.h:1116
This object describes a HyperText Transport Protocol request.
Definition: http.h:1417
Ultimate parent class for all objects in the class library.
Definition: object.h:2204
This class describes a Universal Resource Locator.
Definition: url.h:56
Create an association between a method and its "notifier", the handler function.
Definition: psoap.h:129
PBoolean OnPOSTData(PHTTPRequest &request, const PStringToString &data)
Send the data associated with a POST command.
virtual PSOAPMessage FormatFault(PINDEX code, const PString &str)