webservice.h
Go to the documentation of this file.
00001 /*************************************************************************** 00002 file : $URL: http://svn.code.sf.net/p/frepple/code/trunk/modules/webservice/webservice.h $ 00003 version : $LastChangedRevision: 1715 $ $LastChangedBy: jdetaeye $ 00004 date : $LastChangedDate: 2012-07-19 21:37:46 +0200 (Thu, 19 Jul 2012) $ 00005 ***************************************************************************/ 00006 00007 /*************************************************************************** 00008 * * 00009 * Copyright (C) 2007-2012 by Johan De Taeye, frePPLe bvba * 00010 * * 00011 * This library is free software; you can redistribute it and/or modify it * 00012 * under the terms of the GNU Affero General Public License as published * 00013 * by the Free Software Foundation; either version 3 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 * This library is distributed in the hope that it will be useful, * 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00019 * GNU Affero General Public License for more details. * 00020 * * 00021 * You should have received a copy of the GNU Affero General Public * 00022 * License along with this program. * 00023 * If not, see <http://www.gnu.org/licenses/>. * 00024 * * 00025 ***************************************************************************/ 00026 00027 /* The contents of this file is automatically processed into a WSDL 00028 * service definition file. 00029 * See the gsoap documentation for the right format and supported constructs. 00030 */ 00031 00032 #ifndef DOXYGEN 00033 00034 /* Typedefs to help gsoap map the types to XML data types. */ 00035 typedef double xsd__double; 00036 typedef long int xsd__int; 00037 typedef bool xsd__boolean; 00038 typedef char* xsd__string; 00039 typedef time_t xsd__dateTime; 00040 00041 //gsoap frepple service name: frepple 00042 //gsoap frepple service namespace: urn:frepple 00043 //gsoap frepple service style: rpc 00044 //gsoap frepple service encoding: encoded 00045 //gsoap frepple service namespace: http://192.168.0.137/static/frepple.wsdl 00046 //gsoap frepple service location: http://192.168.0.137:6262 00047 //gsoap frepple service documentation: frePPLe - a free Production Planning Library 00048 00049 class frepple__DemandInfo 00050 { 00051 public: 00052 xsd__string name; 00053 xsd__string item; 00054 xsd__int priority; 00055 xsd__double quantity; 00056 xsd__dateTime due; 00057 }; 00058 struct frepple__DemandInfoResponse {frepple__DemandInfo _return;}; 00059 00060 //gsoap frepple service method-action: demand "" 00061 int frepple__demand(xsd__string name, struct frepple__DemandInfoResponse &result); 00062 00063 struct frepple__PostResponse {xsd__int _return;}; 00064 00065 //gsoap frepple service method-action: post "" 00066 int frepple__post(xsd__string data, struct frepple__PostResponse &result); 00067 00068 #endif