/home/coin/SVN-release/OS-2.3.5/OS/src/OSAgent/OSWSUtil.h

Go to the documentation of this file.
00001 /* $Id: OSWSUtil.h 3084 2009-11-21 22:42:39Z kmartin $ */
00018 #ifndef WSUTIL_H
00019 #define WSUTIL_H
00020 
00021 #include <iostream>
00022 
00023 
00024  
00025 
00026 #define RCVBUFSIZE 1024   /* Size of receive buffer */
00027 
00028 
00043 class WSUtil{
00044 
00045 public:
00046 
00052         WSUtil();
00053 
00058         ~WSUtil();
00059         
00070         static std::string sendSOAPMessage(std::string theSOAP, std::string serviceIP, unsigned int servicePortNumber);
00071         
00072 
00083         static std::string SOAPify( std::string theXmlString, bool useCDATA);
00084 
00095         static std::string deSOAPify( std::string theXmlString, bool useCDATA);
00096         
00113         static std::string createSOAPMessage(int numInputs, std::string solverAddress, 
00114                 std::string postURI, std::string smethod, std::string* msInputs, 
00115                 std::string* msInputNames, std::string sSoapAction);
00116                 
00133         static std::string createFormDataUpload(std::string solverAddress, std::string postURI, 
00134                 std::string fileName,  std::string theFile, std::string boundaryName);
00135         
00144         static std::string getOSxL(std::string soapstring, std::string serviceMethod);
00145 }; //class WSUtil
00146 #endif
00147 

Generated on Thu Mar 31 03:12:47 2011 by  doxygen 1.4.7