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

Go to the documentation of this file.
00001 /* $Id: OSWSUtil.h 2698 2009-06-09 04:14:07Z 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 
00082         static std::string SOAPify( std::string theXmlString);
00083 
00093         static std::string deSOAPify( std::string theXmlString);
00094         
00111         static std::string createSOAPMessage(int numInputs, std::string solverAddress, 
00112                 std::string postURI, std::string smethod, std::string* msInputs, 
00113                 std::string* msInputNames, std::string sSoapAction);
00114                 
00131         static std::string createFormDataUpload(std::string solverAddress, std::string postURI, 
00132                 std::string fileName,  std::string theFile, std::string boundaryName);
00133         
00142         static std::string getOSxL(std::string soapstring, std::string serviceMethod);
00143 }; //class WSUtil
00144 #endif
00145 

Generated on Thu Oct 8 03:02:58 2009 by  doxygen 1.4.7