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

Go to the documentation of this file.
00001 
00017 #ifndef WSUTIL_H
00018 #define WSUTIL_H
00019 
00020 #include <iostream>
00021 
00022 
00023  
00024 
00025 #define RCVBUFSIZE 1024   /* Size of receive buffer */
00026 
00027 
00042 class WSUtil{
00043 
00044 public:
00045 
00051         WSUtil();
00052 
00057         ~WSUtil();
00058         
00069         static std::string sendSOAPMessage(std::string theSOAP, std::string serviceIP, unsigned int servicePortNumber);
00070         
00071 
00081         static std::string SOAPify( std::string theXmlString);
00082 
00092         static std::string deSOAPify( std::string theXmlString);
00093         
00110         static std::string createSOAPMessage(int numInputs, std::string solverAddress, 
00111                 std::string postURI, std::string smethod, std::string* msInputs, 
00112                 std::string* msInputNames, std::string sSoapAction);
00113                 
00130         static std::string createFormDataUpload(std::string solverAddress, std::string postURI, 
00131                 std::string fileName,  std::string theFile, std::string boundaryName);
00132         
00141         static std::string getOSxL(std::string soapstring, std::string serviceMethod);
00142 }; //class WSUtil
00143 #endif
00144 

Generated on Sun Nov 14 14:06:36 2010 for Coin-All by  doxygen 1.4.7