25 #define RCVBUFSIZE 1024
70 static std::string
sendSOAPMessage(std::string theSOAP, std::string serviceIP,
unsigned int servicePortNumber);
83 static std::string
SOAPify( std::string theXmlString,
bool useCDATA);
95 static std::string
deSOAPify( std::string theXmlString,
bool useCDATA);
114 std::string postURI, std::string smethod, std::string* msInputs,
115 std::string* msInputNames, std::string sSoapAction);
134 std::string fileName, std::string theFile, std::string boundaryName);
144 static std::string
getOSxL(std::string soapstring, std::string serviceMethod);
static std::string createSOAPMessage(int numInputs, std::string solverAddress, std::string postURI, std::string smethod, std::string *msInputs, std::string *msInputNames, std::string sSoapAction)
create the SOAP message that is send to the solver Web Service
static std::string getOSxL(std::string soapstring, std::string serviceMethod)
extract the appropriate OSxL protocol from the SOAP envelop
Used by OSSolverAgent client for help in invoking a remote solver..
WSUtil()
Default constructor.
static std::string createFormDataUpload(std::string solverAddress, std::string postURI, std::string fileName, std::string theFile, std::string boundaryName)
create the SOAP message that is sent to the solver Web Service
static std::string deSOAPify(std::string theXmlString, bool useCDATA)
take the XML from a SOAP envelop and replace < with < replace > with > replace &quot with "; ...
~WSUtil()
Class destructor.
static std::string SOAPify(std::string theXmlString, bool useCDATA)
prepare XML to be put into a SOAP envelop, replace < with < replace > with > replace " and ' with ...
static std::string sendSOAPMessage(std::string theSOAP, std::string serviceIP, unsigned int servicePortNumber)
open a socket and send a SOAP message to the solver Web Service