~vcs-imports/simias/trunk

« back to all changes in this revision

Viewing changes to simias/tools/gsoap/gsoap-linux-2.7/gsoap-symbian/soapinterop2CProxy.h

  • Committer: kalidasbala
  • Date: 2007-08-25 12:48:51 UTC
  • Revision ID: vcs-imports@canonical.com-20070825124851-vlfvzun3732ld196
Latest gsoap code update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* soapinterop2CProxy.h
 
2
   Generated by gSOAP 2.7.9 from interop_all.h
 
3
   Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
 
4
   This part of the software is released under one of the following licenses:
 
5
   GPL, the gSOAP public license, or Genivia's license for commercial use.
 
6
*/
 
7
 
 
8
#ifndef soapinterop2C_H
 
9
#define soapinterop2C_H
 
10
#include "soapH.h"
 
11
class interop2C
 
12
{   public:
 
13
        struct soap *soap;
 
14
        const char *endpoint;
 
15
        interop2C()
 
16
        { soap = soap_new(); endpoint = "http://www.cs.fsu.edu/~engelen/interop2C.cgi"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] = 
 
17
{
 
18
        {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
 
19
        {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
 
20
        {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
 
21
        {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
 
22
        {"s", "http://soapinterop.org/xsd", NULL, NULL},
 
23
        {"ns", "http://soapinterop.org/", NULL, NULL},
 
24
        {"h", "http://soapinterop.org/echoheader/", NULL, NULL},
 
25
        {"m", "http://soapinterop.org/", NULL, NULL},
 
26
        {NULL, NULL, NULL, NULL}
 
27
};
 
28
        soap->namespaces = namespaces; } };
 
29
        virtual ~interop2C() { if (soap) { soap_destroy(soap); soap_end(soap); soap_free(soap); } };
 
30
        virtual int m__echoVoid(struct m__echoVoidResponse &result) { return soap ? soap_call_m__echoVoid(soap, endpoint, NULL, result) : SOAP_EOM; };
 
31
};
 
32
#endif