All pastes #26574 Raw Edit

Untitled

public text v1 · immutable
#26574 ·published 2005-10-25 05:42 UTC
rendered paste body
[root@localhost soap]#   more m.h
int ns__add(int a, int b, int *results);
int ns__setvar(char *name, char *varname, char *varval, char **results);
int ns__handle_showuptime(char **results);

/*
int ns__opbx_cli_command(char *command, char **results);
int ns__action_getvar(char *channel, char *varname, char **results);
*/

[root@localhost soap]# soapcpp2 -c m.h

**  The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.6c
**  Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any warranty.
**  The gSOAP compiler is released under one of the following three licenses:
**  GPL, the gSOAP public license, or the commercial license by Genivia Inc.

Saving soapStub.h
Saving soapH.h
Saving soapC.c
Saving soapClient.c
Saving soapClientLib.c
Saving soapServer.c
Saving soapServerLib.c
Using ns service name: Service
Using ns service style: document
Using ns service encoding: literal
Using ns service location: http://localhost:80
Using ns schema namespace: http://tempuri.org
Saving ns.wsdl Web Service description
Saving ns.add.req.xml sample SOAP/XML request
Saving ns.add.res.xml sample SOAP/XML response
Saving ns.setvar.req.xml sample SOAP/XML request
Saving ns.setvar.res.xml sample SOAP/XML response
Saving ns.handle-showuptime.req.xml sample SOAP/XML request
Saving ns.handle-showuptime.res.xml sample SOAP/XML response
Saving ns.nsmap namespace mapping table
Saving ns.xsd XML schema

Compilation successful 

[root@localhost soap]#