Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
4469e089
Commit
4469e089
authored
May 11, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New Status Server
parent
689c8d9e
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
8130 additions
and
0 deletions
+8130
-0
src/exe/rt_statussrv/src/Service.nsmap
src/exe/rt_statussrv/src/Service.nsmap
+11
-0
src/exe/rt_statussrv/src/os_linux/hw_x86/makefile
src/exe/rt_statussrv/src/os_linux/hw_x86/makefile
+15
-0
src/exe/rt_statussrv/src/os_linux/link_rule.mk
src/exe/rt_statussrv/src/os_linux/link_rule.mk
+8
-0
src/exe/rt_statussrv/src/rt_statussrv.cpp
src/exe/rt_statussrv/src/rt_statussrv.cpp
+514
-0
src/lib/statussrv/src/Service.nsmap
src/lib/statussrv/src/Service.nsmap
+11
-0
src/lib/statussrv/src/os_linux/hw_x86/makefile
src/lib/statussrv/src/os_linux/hw_x86/makefile
+15
-0
src/lib/statussrv/src/readme.txt
src/lib/statussrv/src/readme.txt
+11
-0
src/lib/statussrv/src/statussrv_C.cpp
src/lib/statussrv/src/statussrv_C.cpp
+4951
-0
src/lib/statussrv/src/statussrv_Client.cpp
src/lib/statussrv/src/statussrv_Client.cpp
+168
-0
src/lib/statussrv/src/statussrv_H.h
src/lib/statussrv/src/statussrv_H.h
+549
-0
src/lib/statussrv/src/statussrv_Server.cpp
src/lib/statussrv/src/statussrv_Server.cpp
+207
-0
src/lib/statussrv/src/statussrv_ServiceObject.h
src/lib/statussrv/src/statussrv_ServiceObject.h
+50
-0
src/lib/statussrv/src/statussrv_ServiceProxy.h
src/lib/statussrv/src/statussrv_ServiceProxy.h
+31
-0
src/lib/statussrv/src/statussrv_Stub.h
src/lib/statussrv/src/statussrv_Stub.h
+531
-0
src/lib/statussrv/src/statussrv_msg.h
src/lib/statussrv/src/statussrv_msg.h
+651
-0
src/lib/statussrv/src/statussrv_utl.cpp
src/lib/statussrv/src/statussrv_utl.cpp
+345
-0
src/lib/statussrv/src/statussrv_utl.h
src/lib/statussrv/src/statussrv_utl.h
+61
-0
src/lib/statussrv/src/typemap.dat
src/lib/statussrv/src/typemap.dat
+1
-0
No files found.
src/exe/rt_statussrv/src/Service.nsmap
0 → 100644
View file @
4469e089
#include "statussrv_H.h"
SOAP_NMAC struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"s0", "http://www.proview.se/webservices/statussrv/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
src/exe/rt_statussrv/src/os_linux/hw_x86/makefile
0 → 100644
View file @
4469e089
include
$(pwre_dir_symbols)
-include
$(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq
($($(type_name)_generic_mk),)
-include
$(pwre_sroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq
($($(type_name)_generic_mk),)
include
$(pwre_sroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include
../../special.mk
-include
../special.mk
-include
special.mk
src/exe/rt_statussrv/src/os_linux/link_rule.mk
0 → 100644
View file @
4469e089
ifndef
link_rule_mk
link_rule_mk
:=
1
link
=
$(ldxx)
$(linkflags)
$(domap)
-o
$(export_exe)
\
$(export_obj)
$(objects)
$(rt_msg_objs)
$(pwr_obj)
/stdsoap2.o
\
-lpwr_statussrv
-lpwr_rt
-lpwr_co
-lpwr_msg_dummy
-lrpcsvc
-lpthread
-lm
-lrt
endif
src/exe/rt_statussrv/src/rt_statussrv.cpp
0 → 100644
View file @
4469e089
/*
* Proview $Id: rt_statussrv.cpp,v 1.1 2007-05-11 15:01:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <map.h>
#include <iostream.h>
#include <fstream.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <pthread.h>
#include "pwr.h"
#include "pwr_version.h"
#include "pwr_baseclasses.h"
#include "co_cdh.h"
#include "co_time.h"
#include "co_msg.h"
#include "co_dcli.h"
#include "rt_gdh.h"
#include "rt_errh.h"
#include "rt_qcom.h"
#include "rt_ini_event.h"
#include "rt_aproc.h"
#include "rt_pwr_msg.h"
#include "rt_qcom_msg.h"
#include "statussrv_Stub.h"
#include "Service.nsmap"
// Application offset and size in nodeobject
#define APPL_OFFSET 20
#define APPL_SIZE 20
class
status_server
{
public:
status_server
()
:
m_grant_all
(
true
),
m_config
(
0
),
m_node
(
0
),
qid
(
qcom_cNQid
)
{}
bool
m_grant_all
;
pwr_sNode
*
m_config
;
pwr_sNode
*
m_node
;
qcom_sQid
qid
;
char
version
[
20
];
pwr_tObjName
m_appl
[
APPL_SIZE
];
};
static
status_server
*
statussrv
;
static
void
*
statussrv_cyclic
(
void
*
arg
);
int
main
()
{
struct
soap
soap
;
int
m
,
s
;
// Master and slave sockets
pwr_tStatus
sts
;
pwr_tOid
node_oid
;
qcom_sQid
qini
;
qcom_sQattr
qAttr
;
qcom_sQid
qid
=
qcom_cNQid
;
int
restarts
;
sts
=
gdh_Init
(
"status_server"
);
if
(
EVEN
(
sts
))
{
exit
(
sts
);
}
errh_Init
(
"status_server"
,
errh_eNAnix
/* errh_eAnix_status_server */
);
errh_SetStatus
(
PWR__SRVSTARTUP
);
if
(
!
qcom_Init
(
&
sts
,
0
,
"status_server"
))
{
errh_Fatal
(
"qcom_Init, %m"
,
sts
);
errh_SetStatus
(
PWR__SRVTERM
);
exit
(
sts
);
}
qAttr
.
type
=
qcom_eQtype_private
;
qAttr
.
quota
=
100
;
if
(
!
qcom_CreateQ
(
&
sts
,
&
qid
,
&
qAttr
,
"events"
))
{
errh_Fatal
(
"qcom_CreateQ, %m"
,
sts
);
errh_SetStatus
(
PWR__SRVTERM
);
exit
(
sts
);
}
qini
=
qcom_cQini
;
if
(
!
qcom_Bind
(
&
sts
,
&
qid
,
&
qini
))
{
errh_Fatal
(
"qcom_Bind(Qini), %m"
,
sts
);
errh_SetStatus
(
PWR__SRVTERM
);
exit
(
-
1
);
}
statussrv
=
new
status_server
();
statussrv
->
qid
=
qid
;
// Link to $Node object
sts
=
gdh_GetNodeObject
(
0
,
&
node_oid
);
if
(
EVEN
(
sts
))
{
errh_SetStatus
(
sts
);
exit
(
-
1
);
}
sts
=
gdh_ObjidToPointer
(
node_oid
,
(
void
**
)
&
statussrv
->
m_node
);
if
(
EVEN
(
sts
))
{
errh_SetStatus
(
sts
);
exit
(
-
1
);
}
// Get application names
for
(
int
i
=
0
;
i
<
APPL_SIZE
;
i
++
)
{
if
(
cdh_ObjidIsNotNull
(
statussrv
->
m_node
->
ProcObject
[
i
+
APPL_OFFSET
]))
{
sts
=
gdh_ObjidToName
(
statussrv
->
m_node
->
ProcObject
[
i
+
APPL_OFFSET
],
statussrv
->
m_appl
[
i
],
sizeof
(
statussrv
->
m_appl
[
0
]),
cdh_mName_object
);
if
(
EVEN
(
sts
))
strcpy
(
statussrv
->
m_appl
[
i
],
""
);
}
else
strcpy
(
statussrv
->
m_appl
[
i
],
""
);
}
#if 0
// Get StatusServerConfig object
pwr_tOid config_oid;
sts = gdh_GetClassList( pwr_cClass_StatusServerConfig, &config_oid);
if ( EVEN(sts)) {
// Not configured
errh_SetStatus( 0);
exit(sts);
}
sts = gdh_ObjidToPointer( config_oid, (void **)&statussrv->m_config);
if ( EVEN(sts)) {
errh_SetStatus( sts);
exit(sts);
}
aproc_RegisterObject( config_oid);
#endif
// Read version file
char
buff
[
100
];
pwr_tFileName
fname
;
dcli_translate_filename
(
fname
,
"$pwr_exe/rt_version.dat"
);
ifstream
fp
(
fname
);
if
(
fp
)
{
fp
.
getline
(
buff
,
sizeof
(
buff
));
strcpy
(
statussrv
->
version
,
"V"
);
strcat
(
statussrv
->
version
,
&
buff
[
9
]);
fp
.
close
();
}
else
strcpy
(
statussrv
->
version
,
""
);
// Create a cyclic tread to receive swap and terminate events
pthread_t
thread
;
sts
=
pthread_create
(
&
thread
,
NULL
,
statussrv_cyclic
,
NULL
);
errh_SetStatus
(
PWR__SRUN
);
soap_init
(
&
soap
);
for
(
int
i
=
0
;
i
<
restarts
+
1
;
i
++
)
{
m
=
soap_bind
(
&
soap
,
NULL
,
18084
,
100
);
if
(
m
<
0
)
{
if
(
i
==
restarts
)
{
soap_print_fault
(
&
soap
,
stderr
);
break
;
}
printf
(
"Soap bind failed, retrying...
\n
"
);
sleep
(
10
);
}
else
{
// fprintf( stderr, "Socket connection successfull: master socket = %d\n", m);
for
(
int
i
=
1
;;
i
++
)
{
s
=
soap_accept
(
&
soap
);
if
(
s
<
0
)
{
soap_print_fault
(
&
soap
,
stderr
);
break
;
}
// fprintf( stderr, "%d: request from IP=%lu.%lu.%lu.%lu socket=%d\n", i,
// (soap.ip>>24)&0xFF,(soap.ip>>16)&0xFF,(soap.ip>>8)&0xFF,soap.ip&0xFF, s);
if
(
soap_serve
(
&
soap
)
!=
SOAP_OK
)
// Process RPC request
soap_print_fault
(
&
soap
,
stderr
);
soap_destroy
(
&
soap
);
// Clean up class instances
soap_end
(
&
soap
);
// Clean up everything and close socket
}
}
}
soap_done
(
&
soap
);
// Close master socket and detach environment
return
SOAP_OK
;
}
static
void
*
statussrv_cyclic
(
void
*
arg
)
{
pwr_tTime
current_time
;
int
tmo
=
2000
;
char
mp
[
2000
];
qcom_sGet
get
;
pwr_tStatus
sts
;
for
(;;)
{
clock_gettime
(
CLOCK_REALTIME
,
&
current_time
);
aproc_TimeStamp
();
get
.
maxSize
=
sizeof
(
mp
);
get
.
data
=
mp
;
qcom_Get
(
&
sts
,
&
statussrv
->
qid
,
&
get
,
tmo
);
if
(
sts
==
QCOM__TMO
||
sts
==
QCOM__QEMPTY
)
{
// Do nothing...
}
else
{
ini_mEvent
new_event
;
qcom_sEvent
*
ep
=
(
qcom_sEvent
*
)
get
.
data
;
new_event
.
m
=
ep
->
mask
;
if
(
new_event
.
b
.
oldPlcStop
)
{
errh_SetStatus
(
PWR__SRVRESTART
);
}
else
if
(
new_event
.
b
.
swapDone
)
{
errh_SetStatus
(
PWR__SRUN
);
}
else
if
(
new_event
.
b
.
terminate
)
{
exit
(
0
);
}
}
}
}
void
statussrv_GetText
(
pwr_tStatus
sts
,
char
*
buf
,
int
size
)
{
if
(
sts
==
0
)
strcpy
(
buf
,
"-"
);
else
msg_GetText
(
sts
,
buf
,
size
);
}
SOAP_FMAC5
int
SOAP_FMAC6
__s0__GetStatus
(
struct
soap
*
soap
,
_s0__GetStatus
*
s0__GetStatus
,
_s0__GetStatusResponse
*
s0__GetStatusResponse
)
{
pwr_tTime
current_time
;
char
msg
[
200
];
char
timstr
[
40
];
clock_gettime
(
CLOCK_REALTIME
,
&
current_time
);
if
(
s0__GetStatus
->
ClientRequestHandle
)
s0__GetStatusResponse
->
ClientRequestHandle
=
new
std
::
string
(
*
s0__GetStatus
->
ClientRequestHandle
);
if
(
strcmp
(
statussrv
->
version
,
""
)
!=
0
)
s0__GetStatusResponse
->
Version
=
std
::
string
(
statussrv
->
version
);
else
s0__GetStatusResponse
->
Version
=
std
::
string
(
pwrv_cPwrVersionStr
);
s0__GetStatusResponse
->
SystemStatus
=
statussrv
->
m_node
->
SystemStatus
;
statussrv_GetText
(
statussrv
->
m_node
->
SystemStatus
,
msg
,
sizeof
(
msg
));
s0__GetStatusResponse
->
SystemStatusStr
=
std
::
string
(
msg
);
s0__GetStatusResponse
->
Description
=
new
std
::
string
(
statussrv
->
m_node
->
Description
);
time_AtoAscii
(
&
statussrv
->
m_node
->
SystemTime
,
time_eFormat_DateAndTime
,
timstr
,
sizeof
(
timstr
));
s0__GetStatusResponse
->
SystemTime
=
new
std
::
string
(
timstr
);
time_AtoAscii
(
&
statussrv
->
m_node
->
BootTime
,
time_eFormat_DateAndTime
,
timstr
,
sizeof
(
timstr
));
s0__GetStatusResponse
->
BootTime
=
new
std
::
string
(
timstr
);
time_AtoAscii
(
&
statussrv
->
m_node
->
RestartTime
,
time_eFormat_DateAndTime
,
timstr
,
sizeof
(
timstr
));
s0__GetStatusResponse
->
RestartTime
=
new
std
::
string
(
timstr
);
s0__GetStatusResponse
->
Restarts
=
(
int
*
)
malloc
(
sizeof
(
s0__GetStatusResponse
->
Restarts
));
*
s0__GetStatusResponse
->
Restarts
=
statussrv
->
m_node
->
Restarts
;
return
SOAP_OK
;
}
SOAP_FMAC5
int
SOAP_FMAC6
__s0__GetExtStatus
(
struct
soap
*
soap
,
_s0__GetExtStatus
*
s0__GetExtStatus
,
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
)
{
char
msg
[
200
];
if
(
s0__GetExtStatus
->
ClientRequestHandle
)
s0__GetExtStatusResponse
->
ClientRequestHandle
=
new
std
::
string
(
*
s0__GetExtStatus
->
ClientRequestHandle
);
s0__GetExtStatusResponse
->
ServerSts1
=
statussrv
->
m_node
->
ProcStatus
[
0
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
0
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts1Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts1Name
=
std
::
string
(
"rt_ini"
);
s0__GetExtStatusResponse
->
ServerSts2
=
statussrv
->
m_node
->
ProcStatus
[
1
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
1
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts2Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts2Name
=
std
::
string
(
"rt_qmon"
);
s0__GetExtStatusResponse
->
ServerSts3
=
statussrv
->
m_node
->
ProcStatus
[
2
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
2
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts3Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts3Name
=
std
::
string
(
"rt_neth"
);
s0__GetExtStatusResponse
->
ServerSts4
=
statussrv
->
m_node
->
ProcStatus
[
3
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
3
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts4Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts4Name
=
std
::
string
(
"rt_neth_acp"
);
s0__GetExtStatusResponse
->
ServerSts5
=
statussrv
->
m_node
->
ProcStatus
[
4
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
4
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts5Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts5Name
=
std
::
string
(
"rt_io"
);
s0__GetExtStatusResponse
->
ServerSts6
=
statussrv
->
m_node
->
ProcStatus
[
5
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
5
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts6Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts6Name
=
std
::
string
(
"rt_tmon"
);
s0__GetExtStatusResponse
->
ServerSts7
=
statussrv
->
m_node
->
ProcStatus
[
6
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
6
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts7Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts7Name
=
std
::
string
(
"rt_emon"
);
s0__GetExtStatusResponse
->
ServerSts8
=
statussrv
->
m_node
->
ProcStatus
[
7
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
7
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts8Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts8Name
=
std
::
string
(
"rt_alim"
);
s0__GetExtStatusResponse
->
ServerSts9
=
statussrv
->
m_node
->
ProcStatus
[
8
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
8
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts9Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts9Name
=
std
::
string
(
"rt_bck"
);
s0__GetExtStatusResponse
->
ServerSts10
=
statussrv
->
m_node
->
ProcStatus
[
9
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
9
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts10Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts10Name
=
std
::
string
(
"rt_linksup"
);
s0__GetExtStatusResponse
->
ServerSts11
=
statussrv
->
m_node
->
ProcStatus
[
10
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
10
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts11Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts11Name
=
std
::
string
(
"rt_trend"
);
s0__GetExtStatusResponse
->
ServerSts12
=
statussrv
->
m_node
->
ProcStatus
[
11
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
11
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts12Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts12Name
=
std
::
string
(
"rt_fast"
);
s0__GetExtStatusResponse
->
ServerSts13
=
statussrv
->
m_node
->
ProcStatus
[
12
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
12
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts13Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts13Name
=
std
::
string
(
"rt_elog"
);
s0__GetExtStatusResponse
->
ServerSts14
=
statussrv
->
m_node
->
ProcStatus
[
13
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
13
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts14Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts14Name
=
std
::
string
(
"rt_webmon"
);
s0__GetExtStatusResponse
->
ServerSts15
=
statussrv
->
m_node
->
ProcStatus
[
14
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
14
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts15Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts15Name
=
std
::
string
(
"rt_webmonmh"
);
s0__GetExtStatusResponse
->
ServerSts16
=
statussrv
->
m_node
->
ProcStatus
[
15
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
15
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts16Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts16Name
=
std
::
string
(
"sysmon"
);
s0__GetExtStatusResponse
->
ServerSts17
=
statussrv
->
m_node
->
ProcStatus
[
16
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
16
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts17Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts17Name
=
std
::
string
(
"plc"
);
s0__GetExtStatusResponse
->
ServerSts18
=
statussrv
->
m_node
->
ProcStatus
[
17
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
17
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts18Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts18Name
=
std
::
string
(
"rs_remote"
);
s0__GetExtStatusResponse
->
ServerSts19
=
statussrv
->
m_node
->
ProcStatus
[
18
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
18
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts19Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts19Name
=
std
::
string
(
"opc_server"
);
s0__GetExtStatusResponse
->
ServerSts20
=
statussrv
->
m_node
->
ProcStatus
[
19
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
19
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ServerSts20Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ServerSts20Name
=
std
::
string
(
"rt_statussrv"
);
s0__GetExtStatusResponse
->
ApplSts1
=
statussrv
->
m_node
->
ProcStatus
[
20
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
20
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts1Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts1Name
=
std
::
string
(
statussrv
->
m_appl
[
0
]);
s0__GetExtStatusResponse
->
ApplSts2
=
statussrv
->
m_node
->
ProcStatus
[
21
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
21
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts2Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts2Name
=
std
::
string
(
statussrv
->
m_appl
[
1
]);
s0__GetExtStatusResponse
->
ApplSts3
=
statussrv
->
m_node
->
ProcStatus
[
22
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
22
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts3Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts3Name
=
std
::
string
(
statussrv
->
m_appl
[
2
]);
s0__GetExtStatusResponse
->
ApplSts4
=
statussrv
->
m_node
->
ProcStatus
[
23
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
23
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts4Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts4Name
=
std
::
string
(
statussrv
->
m_appl
[
3
]);
s0__GetExtStatusResponse
->
ApplSts5
=
statussrv
->
m_node
->
ProcStatus
[
24
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
24
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts5Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts5Name
=
std
::
string
(
statussrv
->
m_appl
[
4
]);
s0__GetExtStatusResponse
->
ApplSts6
=
statussrv
->
m_node
->
ProcStatus
[
25
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
25
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts6Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts6Name
=
std
::
string
(
statussrv
->
m_appl
[
5
]);
s0__GetExtStatusResponse
->
ApplSts7
=
statussrv
->
m_node
->
ProcStatus
[
26
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
26
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts7Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts7Name
=
std
::
string
(
statussrv
->
m_appl
[
6
]);
s0__GetExtStatusResponse
->
ApplSts8
=
statussrv
->
m_node
->
ProcStatus
[
27
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
27
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts8Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts8Name
=
std
::
string
(
statussrv
->
m_appl
[
7
]);
s0__GetExtStatusResponse
->
ApplSts9
=
statussrv
->
m_node
->
ProcStatus
[
28
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
28
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts9Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts9Name
=
std
::
string
(
statussrv
->
m_appl
[
8
]);
s0__GetExtStatusResponse
->
ApplSts10
=
statussrv
->
m_node
->
ProcStatus
[
29
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
29
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts10Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts10Name
=
std
::
string
(
statussrv
->
m_appl
[
9
]);
s0__GetExtStatusResponse
->
ApplSts11
=
statussrv
->
m_node
->
ProcStatus
[
30
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
30
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts11Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts11Name
=
std
::
string
(
statussrv
->
m_appl
[
10
]);
s0__GetExtStatusResponse
->
ApplSts12
=
statussrv
->
m_node
->
ProcStatus
[
31
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
31
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts12Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts12Name
=
std
::
string
(
statussrv
->
m_appl
[
11
]);
s0__GetExtStatusResponse
->
ApplSts13
=
statussrv
->
m_node
->
ProcStatus
[
32
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
32
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts13Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts13Name
=
std
::
string
(
statussrv
->
m_appl
[
12
]);
s0__GetExtStatusResponse
->
ApplSts14
=
statussrv
->
m_node
->
ProcStatus
[
33
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
33
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts14Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts14Name
=
std
::
string
(
statussrv
->
m_appl
[
13
]);
s0__GetExtStatusResponse
->
ApplSts15
=
statussrv
->
m_node
->
ProcStatus
[
34
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
34
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts15Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts15Name
=
std
::
string
(
statussrv
->
m_appl
[
14
]);
s0__GetExtStatusResponse
->
ApplSts16
=
statussrv
->
m_node
->
ProcStatus
[
35
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
35
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts16Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts16Name
=
std
::
string
(
statussrv
->
m_appl
[
15
]);
s0__GetExtStatusResponse
->
ApplSts17
=
statussrv
->
m_node
->
ProcStatus
[
36
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
36
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts17Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts17Name
=
std
::
string
(
statussrv
->
m_appl
[
16
]);
s0__GetExtStatusResponse
->
ApplSts18
=
statussrv
->
m_node
->
ProcStatus
[
37
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
37
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts18Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts18Name
=
std
::
string
(
statussrv
->
m_appl
[
17
]);
s0__GetExtStatusResponse
->
ApplSts19
=
statussrv
->
m_node
->
ProcStatus
[
38
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
38
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts19Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts19Name
=
std
::
string
(
statussrv
->
m_appl
[
18
]);
s0__GetExtStatusResponse
->
ApplSts20
=
statussrv
->
m_node
->
ProcStatus
[
39
];
statussrv_GetText
(
statussrv
->
m_node
->
ProcStatus
[
39
],
msg
,
sizeof
(
msg
));
s0__GetExtStatusResponse
->
ApplSts20Str
=
std
::
string
(
msg
);
s0__GetExtStatusResponse
->
ApplSts20Name
=
std
::
string
(
statussrv
->
m_appl
[
19
]);
return
SOAP_OK
;
}
SOAP_FMAC5
int
SOAP_FMAC6
__s0__Restart
(
struct
soap
*
soap
,
_s0__Restart
*
s0__Restart
,
_s0__RestartResponse
*
s0__RestartResponse
)
{
if
(
s0__Restart
->
ClientRequestHandle
)
s0__RestartResponse
->
ClientRequestHandle
=
new
std
::
string
(
*
s0__Restart
->
ClientRequestHandle
);
return
SOAP_OK
;
}
src/lib/statussrv/src/Service.nsmap
0 → 100644
View file @
4469e089
#include "statussrv_H.h"
SOAP_NMAC struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"s0", "http://www.proview.se/webservices/statussrv/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
src/lib/statussrv/src/os_linux/hw_x86/makefile
0 → 100644
View file @
4469e089
include
$(pwre_dir_symbols)
-include
$(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq
($($(type_name)_generic_mk),)
-include
$(pwre_sroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq
($($(type_name)_generic_mk),)
include
$(pwre_sroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include
../../special.mk
-include
../special.mk
-include
special.mk
src/lib/statussrv/src/readme.txt
0 → 100644
View file @
4469e089
Soap interface and XML parser generated by gsoap with the commands
typemap.dat :
s0 = "http://www.proview.se/webservices/statussrv/1.0/"
../gsoap-linux-2.7/bin/wsdl2h -o statussrv_msg.h statussrv.wsdl -p
../gsoap-linux-2.7/bin/soapcpp2 statussrv_msg.h -I ../gsoap-linux-2.7/import -p statussrv_
Copy Sevice.nsmap to exe/rt_statussrv/src/
src/lib/statussrv/src/statussrv_C.cpp
0 → 100644
View file @
4469e089
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/lib/statussrv/src/statussrv_Client.cpp
0 → 100644
View file @
4469e089
/* statussrv_Client.cpp
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#include "statussrv_H.h"
SOAP_SOURCE_STAMP
(
"@(#) statussrv_Client.cpp ver 2.7.9d 2007-05-10 13:32:13 GMT"
)
SOAP_FMAC5
int
SOAP_FMAC6
soap_call___s0__GetStatus
(
struct
soap
*
soap
,
const
char
*
soap_endpoint
,
const
char
*
soap_action
,
_s0__GetStatus
*
s0__GetStatus
,
_s0__GetStatusResponse
*
s0__GetStatusResponse
)
{
struct
__s0__GetStatus
soap_tmp___s0__GetStatus
;
if
(
!
soap_action
)
soap_action
=
"s0:GetStatus"
;
soap
->
encodingStyle
=
NULL
;
soap_tmp___s0__GetStatus
.
s0__GetStatus
=
s0__GetStatus
;
soap_begin
(
soap
);
soap_serializeheader
(
soap
);
soap_serialize___s0__GetStatus
(
soap
,
&
soap_tmp___s0__GetStatus
);
if
(
soap_begin_count
(
soap
))
return
soap
->
error
;
if
(
soap
->
mode
&
SOAP_IO_LENGTH
)
{
if
(
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
soap_put___s0__GetStatus
(
soap
,
&
soap_tmp___s0__GetStatus
,
"-s0:GetStatus"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
))
return
soap
->
error
;
}
if
(
soap_end_count
(
soap
))
return
soap
->
error
;
if
(
soap_connect
(
soap
,
soap_endpoint
,
soap_action
)
||
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
soap_put___s0__GetStatus
(
soap
,
&
soap_tmp___s0__GetStatus
,
"-s0:GetStatus"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
)
||
soap_end_send
(
soap
))
return
soap_closesock
(
soap
);
if
(
!
s0__GetStatusResponse
)
return
soap_closesock
(
soap
);
s0__GetStatusResponse
->
soap_default
(
soap
);
if
(
soap_begin_recv
(
soap
)
||
soap_envelope_begin_in
(
soap
)
||
soap_recv_header
(
soap
)
||
soap_body_begin_in
(
soap
))
return
soap_closesock
(
soap
);
s0__GetStatusResponse
->
soap_get
(
soap
,
"s0:GetStatusResponse"
,
""
);
if
(
soap
->
error
)
{
if
(
soap
->
error
==
SOAP_TAG_MISMATCH
&&
soap
->
level
==
2
)
return
soap_recv_fault
(
soap
);
return
soap_closesock
(
soap
);
}
if
(
soap_body_end_in
(
soap
)
||
soap_envelope_end_in
(
soap
)
||
soap_end_recv
(
soap
))
return
soap_closesock
(
soap
);
return
soap_closesock
(
soap
);
}
SOAP_FMAC5
int
SOAP_FMAC6
soap_call___s0__GetExtStatus
(
struct
soap
*
soap
,
const
char
*
soap_endpoint
,
const
char
*
soap_action
,
_s0__GetExtStatus
*
s0__GetExtStatus
,
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
)
{
struct
__s0__GetExtStatus
soap_tmp___s0__GetExtStatus
;
if
(
!
soap_action
)
soap_action
=
"s0:GetExtStatus"
;
soap
->
encodingStyle
=
NULL
;
soap_tmp___s0__GetExtStatus
.
s0__GetExtStatus
=
s0__GetExtStatus
;
soap_begin
(
soap
);
soap_serializeheader
(
soap
);
soap_serialize___s0__GetExtStatus
(
soap
,
&
soap_tmp___s0__GetExtStatus
);
if
(
soap_begin_count
(
soap
))
return
soap
->
error
;
if
(
soap
->
mode
&
SOAP_IO_LENGTH
)
{
if
(
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
soap_put___s0__GetExtStatus
(
soap
,
&
soap_tmp___s0__GetExtStatus
,
"-s0:GetExtStatus"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
))
return
soap
->
error
;
}
if
(
soap_end_count
(
soap
))
return
soap
->
error
;
if
(
soap_connect
(
soap
,
soap_endpoint
,
soap_action
)
||
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
soap_put___s0__GetExtStatus
(
soap
,
&
soap_tmp___s0__GetExtStatus
,
"-s0:GetExtStatus"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
)
||
soap_end_send
(
soap
))
return
soap_closesock
(
soap
);
if
(
!
s0__GetExtStatusResponse
)
return
soap_closesock
(
soap
);
s0__GetExtStatusResponse
->
soap_default
(
soap
);
if
(
soap_begin_recv
(
soap
)
||
soap_envelope_begin_in
(
soap
)
||
soap_recv_header
(
soap
)
||
soap_body_begin_in
(
soap
))
return
soap_closesock
(
soap
);
s0__GetExtStatusResponse
->
soap_get
(
soap
,
"s0:GetExtStatusResponse"
,
""
);
if
(
soap
->
error
)
{
if
(
soap
->
error
==
SOAP_TAG_MISMATCH
&&
soap
->
level
==
2
)
return
soap_recv_fault
(
soap
);
return
soap_closesock
(
soap
);
}
if
(
soap_body_end_in
(
soap
)
||
soap_envelope_end_in
(
soap
)
||
soap_end_recv
(
soap
))
return
soap_closesock
(
soap
);
return
soap_closesock
(
soap
);
}
SOAP_FMAC5
int
SOAP_FMAC6
soap_call___s0__Restart
(
struct
soap
*
soap
,
const
char
*
soap_endpoint
,
const
char
*
soap_action
,
_s0__Restart
*
s0__Restart
,
_s0__RestartResponse
*
s0__RestartResponse
)
{
struct
__s0__Restart
soap_tmp___s0__Restart
;
if
(
!
soap_action
)
soap_action
=
"s0:Restart"
;
soap
->
encodingStyle
=
NULL
;
soap_tmp___s0__Restart
.
s0__Restart
=
s0__Restart
;
soap_begin
(
soap
);
soap_serializeheader
(
soap
);
soap_serialize___s0__Restart
(
soap
,
&
soap_tmp___s0__Restart
);
if
(
soap_begin_count
(
soap
))
return
soap
->
error
;
if
(
soap
->
mode
&
SOAP_IO_LENGTH
)
{
if
(
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
soap_put___s0__Restart
(
soap
,
&
soap_tmp___s0__Restart
,
"-s0:Restart"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
))
return
soap
->
error
;
}
if
(
soap_end_count
(
soap
))
return
soap
->
error
;
if
(
soap_connect
(
soap
,
soap_endpoint
,
soap_action
)
||
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
soap_put___s0__Restart
(
soap
,
&
soap_tmp___s0__Restart
,
"-s0:Restart"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
)
||
soap_end_send
(
soap
))
return
soap_closesock
(
soap
);
if
(
!
s0__RestartResponse
)
return
soap_closesock
(
soap
);
s0__RestartResponse
->
soap_default
(
soap
);
if
(
soap_begin_recv
(
soap
)
||
soap_envelope_begin_in
(
soap
)
||
soap_recv_header
(
soap
)
||
soap_body_begin_in
(
soap
))
return
soap_closesock
(
soap
);
s0__RestartResponse
->
soap_get
(
soap
,
"s0:RestartResponse"
,
""
);
if
(
soap
->
error
)
{
if
(
soap
->
error
==
SOAP_TAG_MISMATCH
&&
soap
->
level
==
2
)
return
soap_recv_fault
(
soap
);
return
soap_closesock
(
soap
);
}
if
(
soap_body_end_in
(
soap
)
||
soap_envelope_end_in
(
soap
)
||
soap_end_recv
(
soap
))
return
soap_closesock
(
soap
);
return
soap_closesock
(
soap
);
}
/* End of statussrv_Client.cpp */
src/lib/statussrv/src/statussrv_H.h
0 → 100644
View file @
4469e089
/* statussrv_H.h
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef statussrv_H_H
#define statussrv_H_H
#include "statussrv_Stub.h"
#ifndef WITH_NOIDREF
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_markelement
(
struct
soap
*
,
const
void
*
,
int
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_putelement
(
struct
soap
*
,
const
void
*
,
const
char
*
,
int
,
int
);
SOAP_FMAC3
void
*
SOAP_FMAC4
soap_getelement
(
struct
soap
*
,
int
*
);
#ifdef __cplusplus
}
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_putindependent
(
struct
soap
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_getindependent
(
struct
soap
*
);
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_ignore_element
(
struct
soap
*
);
SOAP_FMAC3
void
*
SOAP_FMAC4
soap_instantiate
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_fdelete
(
struct
soap_clist
*
);
SOAP_FMAC3
void
*
SOAP_FMAC4
soap_class_id_enter
(
struct
soap
*
,
const
char
*
,
void
*
,
int
,
size_t
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
void
*
SOAP_FMAC4
soap_container_id_forward
(
struct
soap
*
,
const
char
*
,
void
*
,
size_t
,
int
,
int
,
size_t
,
unsigned
int
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_container_insert
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifndef SOAP_TYPE_byte
#define SOAP_TYPE_byte (2)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_byte
(
struct
soap
*
,
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_byte
(
struct
soap
*
,
const
char
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_byte
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
char
*
SOAP_FMAC4
soap_get_byte
(
struct
soap
*
,
char
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
char
*
SOAP_FMAC4
soap_in_byte
(
struct
soap
*
,
const
char
*
,
char
*
,
const
char
*
);
#ifndef SOAP_TYPE_int
#define SOAP_TYPE_int (1)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_int
(
struct
soap
*
,
int
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_int
(
struct
soap
*
,
const
int
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_int
(
struct
soap
*
,
const
char
*
,
int
,
const
int
*
,
const
char
*
);
SOAP_FMAC3
int
*
SOAP_FMAC4
soap_get_int
(
struct
soap
*
,
int
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
*
SOAP_FMAC4
soap_in_int
(
struct
soap
*
,
const
char
*
,
int
*
,
const
char
*
);
#ifndef SOAP_TYPE__s0__RestartResponse
#define SOAP_TYPE__s0__RestartResponse (18)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__s0__RestartResponse
(
struct
soap
*
,
const
char
*
,
int
,
const
_s0__RestartResponse
*
,
const
char
*
);
SOAP_FMAC3
_s0__RestartResponse
*
SOAP_FMAC4
soap_get__s0__RestartResponse
(
struct
soap
*
,
_s0__RestartResponse
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__RestartResponse
*
SOAP_FMAC4
soap_in__s0__RestartResponse
(
struct
soap
*
,
const
char
*
,
_s0__RestartResponse
*
,
const
char
*
);
SOAP_FMAC5
_s0__RestartResponse
*
SOAP_FMAC6
soap_new__s0__RestartResponse
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete__s0__RestartResponse
(
struct
soap
*
,
_s0__RestartResponse
*
);
SOAP_FMAC3
_s0__RestartResponse
*
SOAP_FMAC4
soap_instantiate__s0__RestartResponse
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy__s0__RestartResponse
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__Restart
#define SOAP_TYPE__s0__Restart (17)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__s0__Restart
(
struct
soap
*
,
const
char
*
,
int
,
const
_s0__Restart
*
,
const
char
*
);
SOAP_FMAC3
_s0__Restart
*
SOAP_FMAC4
soap_get__s0__Restart
(
struct
soap
*
,
_s0__Restart
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__Restart
*
SOAP_FMAC4
soap_in__s0__Restart
(
struct
soap
*
,
const
char
*
,
_s0__Restart
*
,
const
char
*
);
SOAP_FMAC5
_s0__Restart
*
SOAP_FMAC6
soap_new__s0__Restart
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete__s0__Restart
(
struct
soap
*
,
_s0__Restart
*
);
SOAP_FMAC3
_s0__Restart
*
SOAP_FMAC4
soap_instantiate__s0__Restart
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy__s0__Restart
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__GetExtStatusResponse
#define SOAP_TYPE__s0__GetExtStatusResponse (16)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__s0__GetExtStatusResponse
(
struct
soap
*
,
const
char
*
,
int
,
const
_s0__GetExtStatusResponse
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatusResponse
*
SOAP_FMAC4
soap_get__s0__GetExtStatusResponse
(
struct
soap
*
,
_s0__GetExtStatusResponse
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatusResponse
*
SOAP_FMAC4
soap_in__s0__GetExtStatusResponse
(
struct
soap
*
,
const
char
*
,
_s0__GetExtStatusResponse
*
,
const
char
*
);
SOAP_FMAC5
_s0__GetExtStatusResponse
*
SOAP_FMAC6
soap_new__s0__GetExtStatusResponse
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete__s0__GetExtStatusResponse
(
struct
soap
*
,
_s0__GetExtStatusResponse
*
);
SOAP_FMAC3
_s0__GetExtStatusResponse
*
SOAP_FMAC4
soap_instantiate__s0__GetExtStatusResponse
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy__s0__GetExtStatusResponse
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__GetExtStatus
#define SOAP_TYPE__s0__GetExtStatus (15)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__s0__GetExtStatus
(
struct
soap
*
,
const
char
*
,
int
,
const
_s0__GetExtStatus
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatus
*
SOAP_FMAC4
soap_get__s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatus
*
SOAP_FMAC4
soap_in__s0__GetExtStatus
(
struct
soap
*
,
const
char
*
,
_s0__GetExtStatus
*
,
const
char
*
);
SOAP_FMAC5
_s0__GetExtStatus
*
SOAP_FMAC6
soap_new__s0__GetExtStatus
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete__s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
*
);
SOAP_FMAC3
_s0__GetExtStatus
*
SOAP_FMAC4
soap_instantiate__s0__GetExtStatus
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy__s0__GetExtStatus
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__GetStatusResponse
#define SOAP_TYPE__s0__GetStatusResponse (14)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__s0__GetStatusResponse
(
struct
soap
*
,
const
char
*
,
int
,
const
_s0__GetStatusResponse
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatusResponse
*
SOAP_FMAC4
soap_get__s0__GetStatusResponse
(
struct
soap
*
,
_s0__GetStatusResponse
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatusResponse
*
SOAP_FMAC4
soap_in__s0__GetStatusResponse
(
struct
soap
*
,
const
char
*
,
_s0__GetStatusResponse
*
,
const
char
*
);
SOAP_FMAC5
_s0__GetStatusResponse
*
SOAP_FMAC6
soap_new__s0__GetStatusResponse
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete__s0__GetStatusResponse
(
struct
soap
*
,
_s0__GetStatusResponse
*
);
SOAP_FMAC3
_s0__GetStatusResponse
*
SOAP_FMAC4
soap_instantiate__s0__GetStatusResponse
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy__s0__GetStatusResponse
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__GetStatus
#define SOAP_TYPE__s0__GetStatus (13)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__s0__GetStatus
(
struct
soap
*
,
const
char
*
,
int
,
const
_s0__GetStatus
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatus
*
SOAP_FMAC4
soap_get__s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatus
*
SOAP_FMAC4
soap_in__s0__GetStatus
(
struct
soap
*
,
const
char
*
,
_s0__GetStatus
*
,
const
char
*
);
SOAP_FMAC5
_s0__GetStatus
*
SOAP_FMAC6
soap_new__s0__GetStatus
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete__s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
*
);
SOAP_FMAC3
_s0__GetStatus
*
SOAP_FMAC4
soap_instantiate__s0__GetStatus
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy__s0__GetStatus
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE_std__string
#define SOAP_TYPE_std__string (12)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_std__string
(
struct
soap
*
,
std
::
string
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_std__string
(
struct
soap
*
,
const
std
::
string
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_std__string
(
struct
soap
*
,
const
std
::
string
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_std__string
(
struct
soap
*
,
const
char
*
,
int
,
const
std
::
string
*
,
const
char
*
);
SOAP_FMAC3
std
::
string
*
SOAP_FMAC4
soap_get_std__string
(
struct
soap
*
,
std
::
string
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
std
::
string
*
SOAP_FMAC4
soap_in_std__string
(
struct
soap
*
,
const
char
*
,
std
::
string
*
,
const
char
*
);
SOAP_FMAC5
std
::
string
*
SOAP_FMAC6
soap_new_std__string
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_std__string
(
struct
soap
*
,
std
::
string
*
);
SOAP_FMAC3
std
::
string
*
SOAP_FMAC4
soap_instantiate_std__string
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_std__string
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE_xsd__string
#define SOAP_TYPE_xsd__string (11)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_xsd__string
(
struct
soap
*
,
const
char
*
,
int
,
const
xsd__string
*
,
const
char
*
);
SOAP_FMAC3
xsd__string
*
SOAP_FMAC4
soap_get_xsd__string
(
struct
soap
*
,
xsd__string
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
xsd__string
*
SOAP_FMAC4
soap_in_xsd__string
(
struct
soap
*
,
const
char
*
,
xsd__string
*
,
const
char
*
);
SOAP_FMAC5
xsd__string
*
SOAP_FMAC6
soap_new_xsd__string
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_xsd__string
(
struct
soap
*
,
xsd__string
*
);
SOAP_FMAC3
xsd__string
*
SOAP_FMAC4
soap_instantiate_xsd__string
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_xsd__string
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE_xsd__int
#define SOAP_TYPE_xsd__int (10)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_xsd__int
(
struct
soap
*
,
const
char
*
,
int
,
const
xsd__int
*
,
const
char
*
);
SOAP_FMAC3
xsd__int
*
SOAP_FMAC4
soap_get_xsd__int
(
struct
soap
*
,
xsd__int
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
xsd__int
*
SOAP_FMAC4
soap_in_xsd__int
(
struct
soap
*
,
const
char
*
,
xsd__int
*
,
const
char
*
);
SOAP_FMAC5
xsd__int
*
SOAP_FMAC6
soap_new_xsd__int
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_xsd__int
(
struct
soap
*
,
xsd__int
*
);
SOAP_FMAC3
xsd__int
*
SOAP_FMAC4
soap_instantiate_xsd__int
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_xsd__int
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE_xsd__anyType
#define SOAP_TYPE_xsd__anyType (7)
#endif
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_xsd__anyType
(
struct
soap
*
,
const
char
*
,
int
,
const
xsd__anyType
*
,
const
char
*
);
SOAP_FMAC3
xsd__anyType
*
SOAP_FMAC4
soap_get_xsd__anyType
(
struct
soap
*
,
xsd__anyType
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
xsd__anyType
*
SOAP_FMAC4
soap_in_xsd__anyType
(
struct
soap
*
,
const
char
*
,
xsd__anyType
*
,
const
char
*
);
SOAP_FMAC5
xsd__anyType
*
SOAP_FMAC6
soap_new_xsd__anyType
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_xsd__anyType
(
struct
soap
*
,
xsd__anyType
*
);
SOAP_FMAC3
xsd__anyType
*
SOAP_FMAC4
soap_instantiate_xsd__anyType
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_xsd__anyType
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (40)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_SOAP_ENV__Fault
(
struct
soap
*
,
struct
SOAP_ENV__Fault
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_SOAP_ENV__Fault
(
struct
soap
*
,
const
struct
SOAP_ENV__Fault
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_SOAP_ENV__Fault
(
struct
soap
*
,
const
struct
SOAP_ENV__Fault
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_SOAP_ENV__Fault
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
SOAP_ENV__Fault
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Fault
*
SOAP_FMAC4
soap_get_SOAP_ENV__Fault
(
struct
soap
*
,
struct
SOAP_ENV__Fault
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Fault
*
SOAP_FMAC4
soap_in_SOAP_ENV__Fault
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Fault
*
,
const
char
*
);
SOAP_FMAC5
struct
SOAP_ENV__Fault
*
SOAP_FMAC6
soap_new_SOAP_ENV__Fault
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_SOAP_ENV__Fault
(
struct
soap
*
,
struct
SOAP_ENV__Fault
*
);
SOAP_FMAC3
struct
SOAP_ENV__Fault
*
SOAP_FMAC4
soap_instantiate_SOAP_ENV__Fault
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_SOAP_ENV__Fault
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (39)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_SOAP_ENV__Reason
(
struct
soap
*
,
struct
SOAP_ENV__Reason
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_SOAP_ENV__Reason
(
struct
soap
*
,
const
struct
SOAP_ENV__Reason
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_SOAP_ENV__Reason
(
struct
soap
*
,
const
struct
SOAP_ENV__Reason
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_SOAP_ENV__Reason
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
SOAP_ENV__Reason
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Reason
*
SOAP_FMAC4
soap_get_SOAP_ENV__Reason
(
struct
soap
*
,
struct
SOAP_ENV__Reason
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Reason
*
SOAP_FMAC4
soap_in_SOAP_ENV__Reason
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Reason
*
,
const
char
*
);
SOAP_FMAC5
struct
SOAP_ENV__Reason
*
SOAP_FMAC6
soap_new_SOAP_ENV__Reason
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_SOAP_ENV__Reason
(
struct
soap
*
,
struct
SOAP_ENV__Reason
*
);
SOAP_FMAC3
struct
SOAP_ENV__Reason
*
SOAP_FMAC4
soap_instantiate_SOAP_ENV__Reason
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_SOAP_ENV__Reason
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (38)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_SOAP_ENV__Detail
(
struct
soap
*
,
struct
SOAP_ENV__Detail
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_SOAP_ENV__Detail
(
struct
soap
*
,
const
struct
SOAP_ENV__Detail
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_SOAP_ENV__Detail
(
struct
soap
*
,
const
struct
SOAP_ENV__Detail
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_SOAP_ENV__Detail
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
SOAP_ENV__Detail
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Detail
*
SOAP_FMAC4
soap_get_SOAP_ENV__Detail
(
struct
soap
*
,
struct
SOAP_ENV__Detail
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Detail
*
SOAP_FMAC4
soap_in_SOAP_ENV__Detail
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Detail
*
,
const
char
*
);
SOAP_FMAC5
struct
SOAP_ENV__Detail
*
SOAP_FMAC6
soap_new_SOAP_ENV__Detail
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_SOAP_ENV__Detail
(
struct
soap
*
,
struct
SOAP_ENV__Detail
*
);
SOAP_FMAC3
struct
SOAP_ENV__Detail
*
SOAP_FMAC4
soap_instantiate_SOAP_ENV__Detail
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_SOAP_ENV__Detail
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (36)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_SOAP_ENV__Code
(
struct
soap
*
,
struct
SOAP_ENV__Code
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_SOAP_ENV__Code
(
struct
soap
*
,
const
struct
SOAP_ENV__Code
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_SOAP_ENV__Code
(
struct
soap
*
,
const
struct
SOAP_ENV__Code
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_SOAP_ENV__Code
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
SOAP_ENV__Code
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Code
*
SOAP_FMAC4
soap_get_SOAP_ENV__Code
(
struct
soap
*
,
struct
SOAP_ENV__Code
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Code
*
SOAP_FMAC4
soap_in_SOAP_ENV__Code
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Code
*
,
const
char
*
);
SOAP_FMAC5
struct
SOAP_ENV__Code
*
SOAP_FMAC6
soap_new_SOAP_ENV__Code
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_SOAP_ENV__Code
(
struct
soap
*
,
struct
SOAP_ENV__Code
*
);
SOAP_FMAC3
struct
SOAP_ENV__Code
*
SOAP_FMAC4
soap_instantiate_SOAP_ENV__Code
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_SOAP_ENV__Code
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (35)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_SOAP_ENV__Header
(
struct
soap
*
,
struct
SOAP_ENV__Header
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_SOAP_ENV__Header
(
struct
soap
*
,
const
struct
SOAP_ENV__Header
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_SOAP_ENV__Header
(
struct
soap
*
,
const
struct
SOAP_ENV__Header
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_SOAP_ENV__Header
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
SOAP_ENV__Header
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Header
*
SOAP_FMAC4
soap_get_SOAP_ENV__Header
(
struct
soap
*
,
struct
SOAP_ENV__Header
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Header
*
SOAP_FMAC4
soap_in_SOAP_ENV__Header
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Header
*
,
const
char
*
);
SOAP_FMAC5
struct
SOAP_ENV__Header
*
SOAP_FMAC6
soap_new_SOAP_ENV__Header
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete_SOAP_ENV__Header
(
struct
soap
*
,
struct
SOAP_ENV__Header
*
);
SOAP_FMAC3
struct
SOAP_ENV__Header
*
SOAP_FMAC4
soap_instantiate_SOAP_ENV__Header
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy_SOAP_ENV__Header
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#endif
#ifndef SOAP_TYPE___s0__Restart
#define SOAP_TYPE___s0__Restart (32)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default___s0__Restart
(
struct
soap
*
,
struct
__s0__Restart
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize___s0__Restart
(
struct
soap
*
,
const
struct
__s0__Restart
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put___s0__Restart
(
struct
soap
*
,
const
struct
__s0__Restart
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out___s0__Restart
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
__s0__Restart
*
,
const
char
*
);
SOAP_FMAC3
struct
__s0__Restart
*
SOAP_FMAC4
soap_get___s0__Restart
(
struct
soap
*
,
struct
__s0__Restart
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
__s0__Restart
*
SOAP_FMAC4
soap_in___s0__Restart
(
struct
soap
*
,
const
char
*
,
struct
__s0__Restart
*
,
const
char
*
);
SOAP_FMAC5
struct
__s0__Restart
*
SOAP_FMAC6
soap_new___s0__Restart
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete___s0__Restart
(
struct
soap
*
,
struct
__s0__Restart
*
);
SOAP_FMAC3
struct
__s0__Restart
*
SOAP_FMAC4
soap_instantiate___s0__Restart
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy___s0__Restart
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE___s0__GetExtStatus
#define SOAP_TYPE___s0__GetExtStatus (28)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default___s0__GetExtStatus
(
struct
soap
*
,
struct
__s0__GetExtStatus
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize___s0__GetExtStatus
(
struct
soap
*
,
const
struct
__s0__GetExtStatus
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put___s0__GetExtStatus
(
struct
soap
*
,
const
struct
__s0__GetExtStatus
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out___s0__GetExtStatus
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
__s0__GetExtStatus
*
,
const
char
*
);
SOAP_FMAC3
struct
__s0__GetExtStatus
*
SOAP_FMAC4
soap_get___s0__GetExtStatus
(
struct
soap
*
,
struct
__s0__GetExtStatus
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
__s0__GetExtStatus
*
SOAP_FMAC4
soap_in___s0__GetExtStatus
(
struct
soap
*
,
const
char
*
,
struct
__s0__GetExtStatus
*
,
const
char
*
);
SOAP_FMAC5
struct
__s0__GetExtStatus
*
SOAP_FMAC6
soap_new___s0__GetExtStatus
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete___s0__GetExtStatus
(
struct
soap
*
,
struct
__s0__GetExtStatus
*
);
SOAP_FMAC3
struct
__s0__GetExtStatus
*
SOAP_FMAC4
soap_instantiate___s0__GetExtStatus
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy___s0__GetExtStatus
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE___s0__GetStatus
#define SOAP_TYPE___s0__GetStatus (24)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default___s0__GetStatus
(
struct
soap
*
,
struct
__s0__GetStatus
*
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize___s0__GetStatus
(
struct
soap
*
,
const
struct
__s0__GetStatus
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put___s0__GetStatus
(
struct
soap
*
,
const
struct
__s0__GetStatus
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out___s0__GetStatus
(
struct
soap
*
,
const
char
*
,
int
,
const
struct
__s0__GetStatus
*
,
const
char
*
);
SOAP_FMAC3
struct
__s0__GetStatus
*
SOAP_FMAC4
soap_get___s0__GetStatus
(
struct
soap
*
,
struct
__s0__GetStatus
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
__s0__GetStatus
*
SOAP_FMAC4
soap_in___s0__GetStatus
(
struct
soap
*
,
const
char
*
,
struct
__s0__GetStatus
*
,
const
char
*
);
SOAP_FMAC5
struct
__s0__GetStatus
*
SOAP_FMAC6
soap_new___s0__GetStatus
(
struct
soap
*
,
int
);
SOAP_FMAC5
void
SOAP_FMAC6
soap_delete___s0__GetStatus
(
struct
soap
*
,
struct
__s0__GetStatus
*
);
SOAP_FMAC3
struct
__s0__GetStatus
*
SOAP_FMAC4
soap_instantiate___s0__GetStatus
(
struct
soap
*
,
int
,
const
char
*
,
const
char
*
,
size_t
*
);
#ifdef __cplusplus
extern
"C"
{
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_copy___s0__GetStatus
(
struct
soap
*
,
int
,
int
,
void
*
,
size_t
,
const
void
*
,
size_t
);
#ifdef __cplusplus
}
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (42)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerToSOAP_ENV__Reason
(
struct
soap
*
,
struct
SOAP_ENV__Reason
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerToSOAP_ENV__Reason
(
struct
soap
*
,
struct
SOAP_ENV__Reason
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerToSOAP_ENV__Reason
(
struct
soap
*
,
const
char
*
,
int
,
struct
SOAP_ENV__Reason
*
const
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Reason
**
SOAP_FMAC4
soap_get_PointerToSOAP_ENV__Reason
(
struct
soap
*
,
struct
SOAP_ENV__Reason
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Reason
**
SOAP_FMAC4
soap_in_PointerToSOAP_ENV__Reason
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Reason
**
,
const
char
*
);
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (41)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerToSOAP_ENV__Detail
(
struct
soap
*
,
struct
SOAP_ENV__Detail
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerToSOAP_ENV__Detail
(
struct
soap
*
,
struct
SOAP_ENV__Detail
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerToSOAP_ENV__Detail
(
struct
soap
*
,
const
char
*
,
int
,
struct
SOAP_ENV__Detail
*
const
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Detail
**
SOAP_FMAC4
soap_get_PointerToSOAP_ENV__Detail
(
struct
soap
*
,
struct
SOAP_ENV__Detail
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Detail
**
SOAP_FMAC4
soap_in_PointerToSOAP_ENV__Detail
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Detail
**
,
const
char
*
);
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
#define SOAP_TYPE_PointerToSOAP_ENV__Code (37)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerToSOAP_ENV__Code
(
struct
soap
*
,
struct
SOAP_ENV__Code
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerToSOAP_ENV__Code
(
struct
soap
*
,
struct
SOAP_ENV__Code
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerToSOAP_ENV__Code
(
struct
soap
*
,
const
char
*
,
int
,
struct
SOAP_ENV__Code
*
const
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Code
**
SOAP_FMAC4
soap_get_PointerToSOAP_ENV__Code
(
struct
soap
*
,
struct
SOAP_ENV__Code
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
struct
SOAP_ENV__Code
**
SOAP_FMAC4
soap_in_PointerToSOAP_ENV__Code
(
struct
soap
*
,
const
char
*
,
struct
SOAP_ENV__Code
**
,
const
char
*
);
#endif
#ifndef SOAP_TYPE_PointerTo_s0__RestartResponse
#define SOAP_TYPE_PointerTo_s0__RestartResponse (30)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTo_s0__RestartResponse
(
struct
soap
*
,
_s0__RestartResponse
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTo_s0__RestartResponse
(
struct
soap
*
,
_s0__RestartResponse
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTo_s0__RestartResponse
(
struct
soap
*
,
const
char
*
,
int
,
_s0__RestartResponse
*
const
*
,
const
char
*
);
SOAP_FMAC3
_s0__RestartResponse
**
SOAP_FMAC4
soap_get_PointerTo_s0__RestartResponse
(
struct
soap
*
,
_s0__RestartResponse
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__RestartResponse
**
SOAP_FMAC4
soap_in_PointerTo_s0__RestartResponse
(
struct
soap
*
,
const
char
*
,
_s0__RestartResponse
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerTo_s0__Restart
#define SOAP_TYPE_PointerTo_s0__Restart (29)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTo_s0__Restart
(
struct
soap
*
,
_s0__Restart
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTo_s0__Restart
(
struct
soap
*
,
_s0__Restart
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTo_s0__Restart
(
struct
soap
*
,
const
char
*
,
int
,
_s0__Restart
*
const
*
,
const
char
*
);
SOAP_FMAC3
_s0__Restart
**
SOAP_FMAC4
soap_get_PointerTo_s0__Restart
(
struct
soap
*
,
_s0__Restart
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__Restart
**
SOAP_FMAC4
soap_in_PointerTo_s0__Restart
(
struct
soap
*
,
const
char
*
,
_s0__Restart
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerTo_s0__GetExtStatusResponse
#define SOAP_TYPE_PointerTo_s0__GetExtStatusResponse (26)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTo_s0__GetExtStatusResponse
(
struct
soap
*
,
_s0__GetExtStatusResponse
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTo_s0__GetExtStatusResponse
(
struct
soap
*
,
_s0__GetExtStatusResponse
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTo_s0__GetExtStatusResponse
(
struct
soap
*
,
const
char
*
,
int
,
_s0__GetExtStatusResponse
*
const
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatusResponse
**
SOAP_FMAC4
soap_get_PointerTo_s0__GetExtStatusResponse
(
struct
soap
*
,
_s0__GetExtStatusResponse
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatusResponse
**
SOAP_FMAC4
soap_in_PointerTo_s0__GetExtStatusResponse
(
struct
soap
*
,
const
char
*
,
_s0__GetExtStatusResponse
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerTo_s0__GetExtStatus
#define SOAP_TYPE_PointerTo_s0__GetExtStatus (25)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTo_s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTo_s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTo_s0__GetExtStatus
(
struct
soap
*
,
const
char
*
,
int
,
_s0__GetExtStatus
*
const
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatus
**
SOAP_FMAC4
soap_get_PointerTo_s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetExtStatus
**
SOAP_FMAC4
soap_in_PointerTo_s0__GetExtStatus
(
struct
soap
*
,
const
char
*
,
_s0__GetExtStatus
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerTo_s0__GetStatusResponse
#define SOAP_TYPE_PointerTo_s0__GetStatusResponse (22)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTo_s0__GetStatusResponse
(
struct
soap
*
,
_s0__GetStatusResponse
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTo_s0__GetStatusResponse
(
struct
soap
*
,
_s0__GetStatusResponse
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTo_s0__GetStatusResponse
(
struct
soap
*
,
const
char
*
,
int
,
_s0__GetStatusResponse
*
const
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatusResponse
**
SOAP_FMAC4
soap_get_PointerTo_s0__GetStatusResponse
(
struct
soap
*
,
_s0__GetStatusResponse
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatusResponse
**
SOAP_FMAC4
soap_in_PointerTo_s0__GetStatusResponse
(
struct
soap
*
,
const
char
*
,
_s0__GetStatusResponse
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerTo_s0__GetStatus
#define SOAP_TYPE_PointerTo_s0__GetStatus (21)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTo_s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTo_s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTo_s0__GetStatus
(
struct
soap
*
,
const
char
*
,
int
,
_s0__GetStatus
*
const
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatus
**
SOAP_FMAC4
soap_get_PointerTo_s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
_s0__GetStatus
**
SOAP_FMAC4
soap_in_PointerTo_s0__GetStatus
(
struct
soap
*
,
const
char
*
,
_s0__GetStatus
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerToint
#define SOAP_TYPE_PointerToint (20)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerToint
(
struct
soap
*
,
int
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerToint
(
struct
soap
*
,
int
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerToint
(
struct
soap
*
,
const
char
*
,
int
,
int
*
const
*
,
const
char
*
);
SOAP_FMAC3
int
**
SOAP_FMAC4
soap_get_PointerToint
(
struct
soap
*
,
int
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
**
SOAP_FMAC4
soap_in_PointerToint
(
struct
soap
*
,
const
char
*
,
int
**
,
const
char
*
);
#ifndef SOAP_TYPE_PointerTostd__string
#define SOAP_TYPE_PointerTostd__string (19)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_PointerTostd__string
(
struct
soap
*
,
std
::
string
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_PointerTostd__string
(
struct
soap
*
,
std
::
string
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_PointerTostd__string
(
struct
soap
*
,
const
char
*
,
int
,
std
::
string
*
const
*
,
const
char
*
);
SOAP_FMAC3
std
::
string
**
SOAP_FMAC4
soap_get_PointerTostd__string
(
struct
soap
*
,
std
::
string
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
std
::
string
**
SOAP_FMAC4
soap_in_PointerTostd__string
(
struct
soap
*
,
const
char
*
,
std
::
string
**
,
const
char
*
);
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (5)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default__QName
(
struct
soap
*
,
char
**
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize__QName
(
struct
soap
*
,
char
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put__QName
(
struct
soap
*
,
char
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out__QName
(
struct
soap
*
,
const
char
*
,
int
,
char
*
const
*
,
const
char
*
);
SOAP_FMAC3
char
**
SOAP_FMAC4
soap_get__QName
(
struct
soap
*
,
char
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
char
*
*
SOAP_FMAC4
soap_in__QName
(
struct
soap
*
,
const
char
*
,
char
**
,
const
char
*
);
#ifndef SOAP_TYPE_string
#define SOAP_TYPE_string (3)
#endif
SOAP_FMAC3
void
SOAP_FMAC4
soap_default_string
(
struct
soap
*
,
char
**
);
SOAP_FMAC3
void
SOAP_FMAC4
soap_serialize_string
(
struct
soap
*
,
char
*
const
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_put_string
(
struct
soap
*
,
char
*
const
*
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
int
SOAP_FMAC4
soap_out_string
(
struct
soap
*
,
const
char
*
,
int
,
char
*
const
*
,
const
char
*
);
SOAP_FMAC3
char
**
SOAP_FMAC4
soap_get_string
(
struct
soap
*
,
char
**
,
const
char
*
,
const
char
*
);
SOAP_FMAC3
char
*
*
SOAP_FMAC4
soap_in_string
(
struct
soap
*
,
const
char
*
,
char
**
,
const
char
*
);
#endif
/* End of statussrv_H.h */
src/lib/statussrv/src/statussrv_Server.cpp
0 → 100644
View file @
4469e089
/* statussrv_Server.cpp
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#include "statussrv_H.h"
SOAP_SOURCE_STAMP
(
"@(#) statussrv_Server.cpp ver 2.7.9d 2007-05-10 13:32:13 GMT"
)
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve
(
struct
soap
*
soap
)
{
#ifndef WITH_FASTCGI
unsigned
int
k
=
soap
->
max_keep_alive
;
#endif
do
{
#ifdef WITH_FASTCGI
if
(
FCGI_Accept
()
<
0
)
{
soap
->
error
=
SOAP_EOF
;
return
soap_send_fault
(
soap
);
}
#endif
soap_begin
(
soap
);
#ifndef WITH_FASTCGI
if
(
soap
->
max_keep_alive
>
0
&&
!--
k
)
soap
->
keep_alive
=
0
;
#endif
if
(
soap_begin_recv
(
soap
))
{
if
(
soap
->
error
<
SOAP_STOP
)
{
#ifdef WITH_FASTCGI
soap_send_fault
(
soap
);
#else
return
soap_send_fault
(
soap
);
#endif
}
soap_closesock
(
soap
);
continue
;
}
if
(
soap_envelope_begin_in
(
soap
)
||
soap_recv_header
(
soap
)
||
soap_body_begin_in
(
soap
)
||
soap_serve_request
(
soap
)
||
(
soap
->
fserveloop
&&
soap
->
fserveloop
(
soap
)))
{
#ifdef WITH_FASTCGI
soap_send_fault
(
soap
);
#else
return
soap_send_fault
(
soap
);
#endif
}
#ifdef WITH_FASTCGI
}
while
(
1
);
#else
}
while
(
soap
->
keep_alive
);
#endif
return
SOAP_OK
;
}
#ifndef WITH_NOSERVEREQUEST
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve_request
(
struct
soap
*
soap
)
{
soap_peek_element
(
soap
);
if
(
!
soap_match_tag
(
soap
,
soap
->
tag
,
"s0:GetStatus"
))
return
soap_serve___s0__GetStatus
(
soap
);
if
(
!
soap_match_tag
(
soap
,
soap
->
tag
,
"s0:GetExtStatus"
))
return
soap_serve___s0__GetExtStatus
(
soap
);
if
(
!
soap_match_tag
(
soap
,
soap
->
tag
,
"s0:Restart"
))
return
soap_serve___s0__Restart
(
soap
);
return
soap
->
error
=
SOAP_NO_METHOD
;
}
#endif
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve___s0__GetStatus
(
struct
soap
*
soap
)
{
struct
__s0__GetStatus
soap_tmp___s0__GetStatus
;
_s0__GetStatusResponse
s0__GetStatusResponse
;
s0__GetStatusResponse
.
soap_default
(
soap
);
soap_default___s0__GetStatus
(
soap
,
&
soap_tmp___s0__GetStatus
);
soap
->
encodingStyle
=
NULL
;
if
(
!
soap_get___s0__GetStatus
(
soap
,
&
soap_tmp___s0__GetStatus
,
"-s0:GetStatus"
,
NULL
))
return
soap
->
error
;
if
(
soap_body_end_in
(
soap
)
||
soap_envelope_end_in
(
soap
)
||
soap_end_recv
(
soap
))
return
soap
->
error
;
soap
->
error
=
__s0__GetStatus
(
soap
,
soap_tmp___s0__GetStatus
.
s0__GetStatus
,
&
s0__GetStatusResponse
);
if
(
soap
->
error
)
return
soap
->
error
;
soap_serializeheader
(
soap
);
s0__GetStatusResponse
.
soap_serialize
(
soap
);
if
(
soap_begin_count
(
soap
))
return
soap
->
error
;
if
(
soap
->
mode
&
SOAP_IO_LENGTH
)
{
if
(
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
s0__GetStatusResponse
.
soap_put
(
soap
,
"s0:GetStatusResponse"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
))
return
soap
->
error
;
};
if
(
soap_end_count
(
soap
)
||
soap_response
(
soap
,
SOAP_OK
)
||
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
s0__GetStatusResponse
.
soap_put
(
soap
,
"s0:GetStatusResponse"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
)
||
soap_end_send
(
soap
))
return
soap
->
error
;
return
soap_closesock
(
soap
);
}
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve___s0__GetExtStatus
(
struct
soap
*
soap
)
{
struct
__s0__GetExtStatus
soap_tmp___s0__GetExtStatus
;
_s0__GetExtStatusResponse
s0__GetExtStatusResponse
;
s0__GetExtStatusResponse
.
soap_default
(
soap
);
soap_default___s0__GetExtStatus
(
soap
,
&
soap_tmp___s0__GetExtStatus
);
soap
->
encodingStyle
=
NULL
;
if
(
!
soap_get___s0__GetExtStatus
(
soap
,
&
soap_tmp___s0__GetExtStatus
,
"-s0:GetExtStatus"
,
NULL
))
return
soap
->
error
;
if
(
soap_body_end_in
(
soap
)
||
soap_envelope_end_in
(
soap
)
||
soap_end_recv
(
soap
))
return
soap
->
error
;
soap
->
error
=
__s0__GetExtStatus
(
soap
,
soap_tmp___s0__GetExtStatus
.
s0__GetExtStatus
,
&
s0__GetExtStatusResponse
);
if
(
soap
->
error
)
return
soap
->
error
;
soap_serializeheader
(
soap
);
s0__GetExtStatusResponse
.
soap_serialize
(
soap
);
if
(
soap_begin_count
(
soap
))
return
soap
->
error
;
if
(
soap
->
mode
&
SOAP_IO_LENGTH
)
{
if
(
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
s0__GetExtStatusResponse
.
soap_put
(
soap
,
"s0:GetExtStatusResponse"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
))
return
soap
->
error
;
};
if
(
soap_end_count
(
soap
)
||
soap_response
(
soap
,
SOAP_OK
)
||
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
s0__GetExtStatusResponse
.
soap_put
(
soap
,
"s0:GetExtStatusResponse"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
)
||
soap_end_send
(
soap
))
return
soap
->
error
;
return
soap_closesock
(
soap
);
}
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve___s0__Restart
(
struct
soap
*
soap
)
{
struct
__s0__Restart
soap_tmp___s0__Restart
;
_s0__RestartResponse
s0__RestartResponse
;
s0__RestartResponse
.
soap_default
(
soap
);
soap_default___s0__Restart
(
soap
,
&
soap_tmp___s0__Restart
);
soap
->
encodingStyle
=
NULL
;
if
(
!
soap_get___s0__Restart
(
soap
,
&
soap_tmp___s0__Restart
,
"-s0:Restart"
,
NULL
))
return
soap
->
error
;
if
(
soap_body_end_in
(
soap
)
||
soap_envelope_end_in
(
soap
)
||
soap_end_recv
(
soap
))
return
soap
->
error
;
soap
->
error
=
__s0__Restart
(
soap
,
soap_tmp___s0__Restart
.
s0__Restart
,
&
s0__RestartResponse
);
if
(
soap
->
error
)
return
soap
->
error
;
soap_serializeheader
(
soap
);
s0__RestartResponse
.
soap_serialize
(
soap
);
if
(
soap_begin_count
(
soap
))
return
soap
->
error
;
if
(
soap
->
mode
&
SOAP_IO_LENGTH
)
{
if
(
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
s0__RestartResponse
.
soap_put
(
soap
,
"s0:RestartResponse"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
))
return
soap
->
error
;
};
if
(
soap_end_count
(
soap
)
||
soap_response
(
soap
,
SOAP_OK
)
||
soap_envelope_begin_out
(
soap
)
||
soap_putheader
(
soap
)
||
soap_body_begin_out
(
soap
)
||
s0__RestartResponse
.
soap_put
(
soap
,
"s0:RestartResponse"
,
""
)
||
soap_body_end_out
(
soap
)
||
soap_envelope_end_out
(
soap
)
||
soap_end_send
(
soap
))
return
soap
->
error
;
return
soap_closesock
(
soap
);
}
/* End of statussrv_Server.cpp */
src/lib/statussrv/src/statussrv_ServiceObject.h
0 → 100644
View file @
4469e089
/* statussrv_ServiceObject.h
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef statussrv_Service_H
#define statussrv_Service_H
#include "statussrv_H.h"
/******************************************************************************\
* *
* Service Object *
* *
\******************************************************************************/
class
Service
:
public
soap
{
public
:
Service
()
{
static
const
struct
Namespace
namespaces
[]
=
{
{
"SOAP-ENV"
,
"http://schemas.xmlsoap.org/soap/envelope/"
,
"http://www.w3.org/*/soap-envelope"
,
NULL
},
{
"SOAP-ENC"
,
"http://schemas.xmlsoap.org/soap/encoding/"
,
"http://www.w3.org/*/soap-encoding"
,
NULL
},
{
"xsi"
,
"http://www.w3.org/2001/XMLSchema-instance"
,
"http://www.w3.org/*/XMLSchema-instance"
,
NULL
},
{
"xsd"
,
"http://www.w3.org/2001/XMLSchema"
,
"http://www.w3.org/*/XMLSchema"
,
NULL
},
{
"s0"
,
"http://www.proview.se/webservices/statussrv/1.0/"
,
NULL
,
NULL
},
{
NULL
,
NULL
,
NULL
,
NULL
}
};
soap_init
(
this
);
if
(
!
this
->
namespaces
)
this
->
namespaces
=
namespaces
;
};
virtual
~
Service
()
{
soap_destroy
(
this
);
soap_end
(
this
);
soap_done
(
this
);
};
virtual
int
bind
(
const
char
*
host
,
int
port
,
int
backlog
)
{
return
soap_bind
(
this
,
host
,
port
,
backlog
);
};
virtual
int
accept
()
{
return
soap_accept
(
this
);
};
virtual
int
serve
()
{
return
soap_serve
(
this
);
};
};
/******************************************************************************\
* *
* Service Operations (you should define these) *
* *
\******************************************************************************/
SOAP_FMAC5
int
SOAP_FMAC6
__s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
*
s0__GetStatus
,
_s0__GetStatusResponse
*
s0__GetStatusResponse
);
SOAP_FMAC5
int
SOAP_FMAC6
__s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
*
s0__GetExtStatus
,
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
);
SOAP_FMAC5
int
SOAP_FMAC6
__s0__Restart
(
struct
soap
*
,
_s0__Restart
*
s0__Restart
,
_s0__RestartResponse
*
s0__RestartResponse
);
#endif
src/lib/statussrv/src/statussrv_ServiceProxy.h
0 → 100644
View file @
4469e089
/* statussrv_ServiceProxy.h
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef statussrv_Service_H
#define statussrv_Service_H
#include "statussrv_H.h"
class
Service
{
public
:
struct
soap
*
soap
;
const
char
*
endpoint
;
Service
()
{
soap
=
soap_new
();
endpoint
=
"http://localhost:80"
;
if
(
soap
&&
!
soap
->
namespaces
)
{
static
const
struct
Namespace
namespaces
[]
=
{
{
"SOAP-ENV"
,
"http://schemas.xmlsoap.org/soap/envelope/"
,
"http://www.w3.org/*/soap-envelope"
,
NULL
},
{
"SOAP-ENC"
,
"http://schemas.xmlsoap.org/soap/encoding/"
,
"http://www.w3.org/*/soap-encoding"
,
NULL
},
{
"xsi"
,
"http://www.w3.org/2001/XMLSchema-instance"
,
"http://www.w3.org/*/XMLSchema-instance"
,
NULL
},
{
"xsd"
,
"http://www.w3.org/2001/XMLSchema"
,
"http://www.w3.org/*/XMLSchema"
,
NULL
},
{
"s0"
,
"http://www.proview.se/webservices/statussrv/1.0/"
,
NULL
,
NULL
},
{
NULL
,
NULL
,
NULL
,
NULL
}
};
soap
->
namespaces
=
namespaces
;
}
};
virtual
~
Service
()
{
if
(
soap
)
{
soap_destroy
(
soap
);
soap_end
(
soap
);
soap_free
(
soap
);
}
};
virtual
int
__s0__GetStatus
(
_s0__GetStatus
*
s0__GetStatus
,
_s0__GetStatusResponse
*
s0__GetStatusResponse
)
{
return
soap
?
soap_call___s0__GetStatus
(
soap
,
endpoint
,
NULL
,
s0__GetStatus
,
s0__GetStatusResponse
)
:
SOAP_EOM
;
};
virtual
int
__s0__GetExtStatus
(
_s0__GetExtStatus
*
s0__GetExtStatus
,
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
)
{
return
soap
?
soap_call___s0__GetExtStatus
(
soap
,
endpoint
,
NULL
,
s0__GetExtStatus
,
s0__GetExtStatusResponse
)
:
SOAP_EOM
;
};
virtual
int
__s0__Restart
(
_s0__Restart
*
s0__Restart
,
_s0__RestartResponse
*
s0__RestartResponse
)
{
return
soap
?
soap_call___s0__Restart
(
soap
,
endpoint
,
NULL
,
s0__Restart
,
s0__RestartResponse
)
:
SOAP_EOM
;
};
};
#endif
src/lib/statussrv/src/statussrv_Stub.h
0 → 100644
View file @
4469e089
/* statussrv_Stub.h
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef statussrv_Stub_H
#define statussrv_Stub_H
#include <vector>
#include "stdsoap2.h"
/******************************************************************************\
* *
* Enumerations *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Classes and Structs *
* *
\******************************************************************************/
#ifndef SOAP_TYPE_xsd__anyType
#define SOAP_TYPE_xsd__anyType (7)
/* Primitive xsd:anyType schema type: */
class
SOAP_CMAC
xsd__anyType
{
public:
char
*
__item
;
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
7
;
}
/* = unique id SOAP_TYPE_xsd__anyType */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
xsd__anyType
()
:
__item
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
xsd__anyType
()
{
}
};
#endif
#ifndef SOAP_TYPE_xsd__int
#define SOAP_TYPE_xsd__int (10)
/* Primitive xsd:int schema type: */
class
SOAP_CMAC
xsd__int
:
public
xsd__anyType
{
public:
int
__item
;
public:
virtual
int
soap_type
()
const
{
return
10
;
}
/* = unique id SOAP_TYPE_xsd__int */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
xsd__int
()
{
}
virtual
~
xsd__int
()
{
}
};
#endif
#if 0 /* volatile type: do not redeclare */
#endif
#ifndef SOAP_TYPE_xsd__string
#define SOAP_TYPE_xsd__string (11)
/* Primitive xsd:string schema type: */
class
SOAP_CMAC
xsd__string
:
public
xsd__anyType
{
public:
std
::
string
__item
;
public:
virtual
int
soap_type
()
const
{
return
11
;
}
/* = unique id SOAP_TYPE_xsd__string */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
xsd__string
()
{
}
virtual
~
xsd__string
()
{
}
};
#endif
#ifndef SOAP_TYPE__s0__GetStatus
#define SOAP_TYPE__s0__GetStatus (13)
/* s0:GetStatus */
class
SOAP_CMAC
_s0__GetStatus
{
public:
std
::
string
*
ClientRequestHandle
;
/* optional attribute */
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
13
;
}
/* = unique id SOAP_TYPE__s0__GetStatus */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
_s0__GetStatus
()
:
ClientRequestHandle
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
_s0__GetStatus
()
{
}
};
#endif
#ifndef SOAP_TYPE__s0__GetStatusResponse
#define SOAP_TYPE__s0__GetStatusResponse (14)
/* s0:GetStatusResponse */
class
SOAP_CMAC
_s0__GetStatusResponse
{
public:
std
::
string
Version
;
/* RPC return element */
/* required element of type xsd:string */
int
SystemStatus
;
/* required element of type xsd:int */
std
::
string
SystemStatusStr
;
/* required element of type xsd:string */
std
::
string
*
Description
;
/* optional element of type xsd:string */
std
::
string
*
SystemTime
;
/* optional element of type xsd:string */
std
::
string
*
BootTime
;
/* optional element of type xsd:string */
std
::
string
*
RestartTime
;
/* optional element of type xsd:string */
int
*
Restarts
;
/* optional element of type xsd:int */
int
*
UserStatus1
;
/* optional element of type xsd:int */
std
::
string
*
UserStatusStr1
;
/* optional element of type xsd:string */
int
*
UserStatus2
;
/* optional element of type xsd:int */
std
::
string
*
UserStatusStr2
;
/* optional element of type xsd:string */
int
*
UserStatus3
;
/* optional element of type xsd:int */
std
::
string
*
UserStatusStr3
;
/* optional element of type xsd:string */
int
*
UserStatus4
;
/* optional element of type xsd:int */
std
::
string
*
UserStatusStr4
;
/* optional element of type xsd:string */
int
*
UserStatus5
;
/* optional element of type xsd:int */
std
::
string
*
UserStatusStr5
;
/* optional element of type xsd:string */
std
::
string
*
ClientRequestHandle
;
/* optional attribute */
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
14
;
}
/* = unique id SOAP_TYPE__s0__GetStatusResponse */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
_s0__GetStatusResponse
()
:
Description
(
NULL
),
SystemTime
(
NULL
),
BootTime
(
NULL
),
RestartTime
(
NULL
),
Restarts
(
NULL
),
UserStatus1
(
NULL
),
UserStatusStr1
(
NULL
),
UserStatus2
(
NULL
),
UserStatusStr2
(
NULL
),
UserStatus3
(
NULL
),
UserStatusStr3
(
NULL
),
UserStatus4
(
NULL
),
UserStatusStr4
(
NULL
),
UserStatus5
(
NULL
),
UserStatusStr5
(
NULL
),
ClientRequestHandle
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
_s0__GetStatusResponse
()
{
}
};
#endif
#ifndef SOAP_TYPE__s0__GetExtStatus
#define SOAP_TYPE__s0__GetExtStatus (15)
/* s0:GetExtStatus */
class
SOAP_CMAC
_s0__GetExtStatus
{
public:
std
::
string
*
ClientRequestHandle
;
/* optional attribute */
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
15
;
}
/* = unique id SOAP_TYPE__s0__GetExtStatus */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
_s0__GetExtStatus
()
:
ClientRequestHandle
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
_s0__GetExtStatus
()
{
}
};
#endif
#ifndef SOAP_TYPE__s0__GetExtStatusResponse
#define SOAP_TYPE__s0__GetExtStatusResponse (16)
/* s0:GetExtStatusResponse */
class
SOAP_CMAC
_s0__GetExtStatusResponse
{
public:
int
ServerSts1
;
/* RPC return element */
/* required element of type xsd:int */
std
::
string
ServerSts1Str
;
/* required element of type xsd:string */
std
::
string
ServerSts1Name
;
/* required element of type xsd:string */
int
ServerSts2
;
/* required element of type xsd:int */
std
::
string
ServerSts2Str
;
/* required element of type xsd:string */
std
::
string
ServerSts2Name
;
/* required element of type xsd:string */
int
ServerSts3
;
/* required element of type xsd:int */
std
::
string
ServerSts3Str
;
/* required element of type xsd:string */
std
::
string
ServerSts3Name
;
/* required element of type xsd:string */
int
ServerSts4
;
/* required element of type xsd:int */
std
::
string
ServerSts4Str
;
/* required element of type xsd:string */
std
::
string
ServerSts4Name
;
/* required element of type xsd:string */
int
ServerSts5
;
/* required element of type xsd:int */
std
::
string
ServerSts5Str
;
/* required element of type xsd:string */
std
::
string
ServerSts5Name
;
/* required element of type xsd:string */
int
ServerSts6
;
/* required element of type xsd:int */
std
::
string
ServerSts6Str
;
/* required element of type xsd:string */
std
::
string
ServerSts6Name
;
/* required element of type xsd:string */
int
ServerSts7
;
/* required element of type xsd:int */
std
::
string
ServerSts7Str
;
/* required element of type xsd:string */
std
::
string
ServerSts7Name
;
/* required element of type xsd:string */
int
ServerSts8
;
/* required element of type xsd:int */
std
::
string
ServerSts8Str
;
/* required element of type xsd:string */
std
::
string
ServerSts8Name
;
/* required element of type xsd:string */
int
ServerSts9
;
/* required element of type xsd:int */
std
::
string
ServerSts9Str
;
/* required element of type xsd:string */
std
::
string
ServerSts9Name
;
/* required element of type xsd:string */
int
ServerSts10
;
/* required element of type xsd:int */
std
::
string
ServerSts10Str
;
/* required element of type xsd:string */
std
::
string
ServerSts10Name
;
/* required element of type xsd:string */
int
ServerSts11
;
/* required element of type xsd:int */
std
::
string
ServerSts11Str
;
/* required element of type xsd:string */
std
::
string
ServerSts11Name
;
/* required element of type xsd:string */
int
ServerSts12
;
/* required element of type xsd:int */
std
::
string
ServerSts12Str
;
/* required element of type xsd:string */
std
::
string
ServerSts12Name
;
/* required element of type xsd:string */
int
ServerSts13
;
/* required element of type xsd:int */
std
::
string
ServerSts13Str
;
/* required element of type xsd:string */
std
::
string
ServerSts13Name
;
/* required element of type xsd:string */
int
ServerSts14
;
/* required element of type xsd:int */
std
::
string
ServerSts14Str
;
/* required element of type xsd:string */
std
::
string
ServerSts14Name
;
/* required element of type xsd:string */
int
ServerSts15
;
/* required element of type xsd:int */
std
::
string
ServerSts15Str
;
/* required element of type xsd:string */
std
::
string
ServerSts15Name
;
/* required element of type xsd:string */
int
ServerSts16
;
/* required element of type xsd:int */
std
::
string
ServerSts16Str
;
/* required element of type xsd:string */
std
::
string
ServerSts16Name
;
/* required element of type xsd:string */
int
ServerSts17
;
/* required element of type xsd:int */
std
::
string
ServerSts17Str
;
/* required element of type xsd:string */
std
::
string
ServerSts17Name
;
/* required element of type xsd:string */
int
ServerSts18
;
/* required element of type xsd:int */
std
::
string
ServerSts18Str
;
/* required element of type xsd:string */
std
::
string
ServerSts18Name
;
/* required element of type xsd:string */
int
ServerSts19
;
/* required element of type xsd:int */
std
::
string
ServerSts19Str
;
/* required element of type xsd:string */
std
::
string
ServerSts19Name
;
/* required element of type xsd:string */
int
ServerSts20
;
/* required element of type xsd:int */
std
::
string
ServerSts20Str
;
/* required element of type xsd:string */
std
::
string
ServerSts20Name
;
/* required element of type xsd:string */
int
ApplSts1
;
/* required element of type xsd:int */
std
::
string
ApplSts1Str
;
/* required element of type xsd:string */
std
::
string
ApplSts1Name
;
/* required element of type xsd:string */
int
ApplSts2
;
/* required element of type xsd:int */
std
::
string
ApplSts2Str
;
/* required element of type xsd:string */
std
::
string
ApplSts2Name
;
/* required element of type xsd:string */
int
ApplSts3
;
/* required element of type xsd:int */
std
::
string
ApplSts3Str
;
/* required element of type xsd:string */
std
::
string
ApplSts3Name
;
/* required element of type xsd:string */
int
ApplSts4
;
/* required element of type xsd:int */
std
::
string
ApplSts4Str
;
/* required element of type xsd:string */
std
::
string
ApplSts4Name
;
/* required element of type xsd:string */
int
ApplSts5
;
/* required element of type xsd:int */
std
::
string
ApplSts5Str
;
/* required element of type xsd:string */
std
::
string
ApplSts5Name
;
/* required element of type xsd:string */
int
ApplSts6
;
/* required element of type xsd:int */
std
::
string
ApplSts6Str
;
/* required element of type xsd:string */
std
::
string
ApplSts6Name
;
/* required element of type xsd:string */
int
ApplSts7
;
/* required element of type xsd:int */
std
::
string
ApplSts7Str
;
/* required element of type xsd:string */
std
::
string
ApplSts7Name
;
/* required element of type xsd:string */
int
ApplSts8
;
/* required element of type xsd:int */
std
::
string
ApplSts8Str
;
/* required element of type xsd:string */
std
::
string
ApplSts8Name
;
/* required element of type xsd:string */
int
ApplSts9
;
/* required element of type xsd:int */
std
::
string
ApplSts9Str
;
/* required element of type xsd:string */
std
::
string
ApplSts9Name
;
/* required element of type xsd:string */
int
ApplSts10
;
/* required element of type xsd:int */
std
::
string
ApplSts10Str
;
/* required element of type xsd:string */
std
::
string
ApplSts10Name
;
/* required element of type xsd:string */
int
ApplSts11
;
/* required element of type xsd:int */
std
::
string
ApplSts11Str
;
/* required element of type xsd:string */
std
::
string
ApplSts11Name
;
/* required element of type xsd:string */
int
ApplSts12
;
/* required element of type xsd:int */
std
::
string
ApplSts12Str
;
/* required element of type xsd:string */
std
::
string
ApplSts12Name
;
/* required element of type xsd:string */
int
ApplSts13
;
/* required element of type xsd:int */
std
::
string
ApplSts13Str
;
/* required element of type xsd:string */
std
::
string
ApplSts13Name
;
/* required element of type xsd:string */
int
ApplSts14
;
/* required element of type xsd:int */
std
::
string
ApplSts14Str
;
/* required element of type xsd:string */
std
::
string
ApplSts14Name
;
/* required element of type xsd:string */
int
ApplSts15
;
/* required element of type xsd:int */
std
::
string
ApplSts15Str
;
/* required element of type xsd:string */
std
::
string
ApplSts15Name
;
/* required element of type xsd:string */
int
ApplSts16
;
/* required element of type xsd:int */
std
::
string
ApplSts16Str
;
/* required element of type xsd:string */
std
::
string
ApplSts16Name
;
/* required element of type xsd:string */
int
ApplSts17
;
/* required element of type xsd:int */
std
::
string
ApplSts17Str
;
/* required element of type xsd:string */
std
::
string
ApplSts17Name
;
/* required element of type xsd:string */
int
ApplSts18
;
/* required element of type xsd:int */
std
::
string
ApplSts18Str
;
/* required element of type xsd:string */
std
::
string
ApplSts18Name
;
/* required element of type xsd:string */
int
ApplSts19
;
/* required element of type xsd:int */
std
::
string
ApplSts19Str
;
/* required element of type xsd:string */
std
::
string
ApplSts19Name
;
/* required element of type xsd:string */
int
ApplSts20
;
/* required element of type xsd:int */
std
::
string
ApplSts20Str
;
/* required element of type xsd:string */
std
::
string
ApplSts20Name
;
/* required element of type xsd:string */
std
::
string
*
ClientRequestHandle
;
/* optional attribute */
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
16
;
}
/* = unique id SOAP_TYPE__s0__GetExtStatusResponse */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
_s0__GetExtStatusResponse
()
:
ClientRequestHandle
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
_s0__GetExtStatusResponse
()
{
}
};
#endif
#ifndef SOAP_TYPE__s0__Restart
#define SOAP_TYPE__s0__Restart (17)
/* s0:Restart */
class
SOAP_CMAC
_s0__Restart
{
public:
std
::
string
*
ClientRequestHandle
;
/* optional attribute */
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
17
;
}
/* = unique id SOAP_TYPE__s0__Restart */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
_s0__Restart
()
:
ClientRequestHandle
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
_s0__Restart
()
{
}
};
#endif
#ifndef SOAP_TYPE__s0__RestartResponse
#define SOAP_TYPE__s0__RestartResponse (18)
/* s0:RestartResponse */
class
SOAP_CMAC
_s0__RestartResponse
{
public:
std
::
string
*
ClientRequestHandle
;
/* optional attribute */
struct
soap
*
soap
;
/* transient */
public:
virtual
int
soap_type
()
const
{
return
18
;
}
/* = unique id SOAP_TYPE__s0__RestartResponse */
virtual
void
soap_default
(
struct
soap
*
);
virtual
void
soap_serialize
(
struct
soap
*
)
const
;
virtual
int
soap_put
(
struct
soap
*
,
const
char
*
,
const
char
*
)
const
;
virtual
int
soap_out
(
struct
soap
*
,
const
char
*
,
int
,
const
char
*
)
const
;
virtual
void
*
soap_get
(
struct
soap
*
,
const
char
*
,
const
char
*
);
virtual
void
*
soap_in
(
struct
soap
*
,
const
char
*
,
const
char
*
);
_s0__RestartResponse
()
:
ClientRequestHandle
(
NULL
),
soap
(
NULL
)
{
}
virtual
~
_s0__RestartResponse
()
{
}
};
#endif
#ifndef SOAP_TYPE___s0__GetStatus
#define SOAP_TYPE___s0__GetStatus (24)
/* Operation wrapper: */
struct
__s0__GetStatus
{
public:
_s0__GetStatus
*
s0__GetStatus
;
/* optional element of type s0:GetStatus */
};
#endif
#ifndef SOAP_TYPE___s0__GetExtStatus
#define SOAP_TYPE___s0__GetExtStatus (28)
/* Operation wrapper: */
struct
__s0__GetExtStatus
{
public:
_s0__GetExtStatus
*
s0__GetExtStatus
;
/* optional element of type s0:GetExtStatus */
};
#endif
#ifndef SOAP_TYPE___s0__Restart
#define SOAP_TYPE___s0__Restart (32)
/* Operation wrapper: */
struct
__s0__Restart
{
public:
_s0__Restart
*
s0__Restart
;
/* optional element of type s0:Restart */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (35)
/* SOAP Header: */
struct
SOAP_ENV__Header
{
public:
void
*
dummy
;
/* transient */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (36)
/* SOAP Fault Code: */
struct
SOAP_ENV__Code
{
public:
char
*
SOAP_ENV__Value
;
/* optional element of type xsd:QName */
struct
SOAP_ENV__Code
*
SOAP_ENV__Subcode
;
/* optional element of type SOAP-ENV:Code */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (38)
/* SOAP-ENV:Detail */
struct
SOAP_ENV__Detail
{
public:
int
__type
;
/* any type of element <fault> (defined below) */
void
*
fault
;
/* transient */
char
*
__any
;
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (39)
/* SOAP-ENV:Reason */
struct
SOAP_ENV__Reason
{
public:
char
*
SOAP_ENV__Text
;
/* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (40)
/* SOAP Fault: */
struct
SOAP_ENV__Fault
{
public:
char
*
faultcode
;
/* optional element of type xsd:QName */
char
*
faultstring
;
/* optional element of type xsd:string */
char
*
faultactor
;
/* optional element of type xsd:string */
struct
SOAP_ENV__Detail
*
detail
;
/* optional element of type SOAP-ENV:Detail */
struct
SOAP_ENV__Code
*
SOAP_ENV__Code
;
/* optional element of type SOAP-ENV:Code */
struct
SOAP_ENV__Reason
*
SOAP_ENV__Reason
;
/* optional element of type SOAP-ENV:Reason */
char
*
SOAP_ENV__Node
;
/* optional element of type xsd:string */
char
*
SOAP_ENV__Role
;
/* optional element of type xsd:string */
struct
SOAP_ENV__Detail
*
SOAP_ENV__Detail
;
/* optional element of type SOAP-ENV:Detail */
};
#endif
/******************************************************************************\
* *
* Types with Custom Serializers *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Typedefs *
* *
\******************************************************************************/
#ifndef SOAP_TYPE__XML
#define SOAP_TYPE__XML (4)
typedef
char
*
_XML
;
#endif
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (5)
typedef
char
*
_QName
;
#endif
/******************************************************************************\
* *
* Typedef Synonyms *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Externals *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Service Operations *
* *
\******************************************************************************/
SOAP_FMAC5
int
SOAP_FMAC6
__s0__GetStatus
(
struct
soap
*
,
_s0__GetStatus
*
s0__GetStatus
,
_s0__GetStatusResponse
*
s0__GetStatusResponse
);
SOAP_FMAC5
int
SOAP_FMAC6
__s0__GetExtStatus
(
struct
soap
*
,
_s0__GetExtStatus
*
s0__GetExtStatus
,
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
);
SOAP_FMAC5
int
SOAP_FMAC6
__s0__Restart
(
struct
soap
*
,
_s0__Restart
*
s0__Restart
,
_s0__RestartResponse
*
s0__RestartResponse
);
/******************************************************************************\
* *
* Stubs *
* *
\******************************************************************************/
SOAP_FMAC5
int
SOAP_FMAC6
soap_call___s0__GetStatus
(
struct
soap
*
soap
,
const
char
*
soap_endpoint
,
const
char
*
soap_action
,
_s0__GetStatus
*
s0__GetStatus
,
_s0__GetStatusResponse
*
s0__GetStatusResponse
);
SOAP_FMAC5
int
SOAP_FMAC6
soap_call___s0__GetExtStatus
(
struct
soap
*
soap
,
const
char
*
soap_endpoint
,
const
char
*
soap_action
,
_s0__GetExtStatus
*
s0__GetExtStatus
,
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
);
SOAP_FMAC5
int
SOAP_FMAC6
soap_call___s0__Restart
(
struct
soap
*
soap
,
const
char
*
soap_endpoint
,
const
char
*
soap_action
,
_s0__Restart
*
s0__Restart
,
_s0__RestartResponse
*
s0__RestartResponse
);
/******************************************************************************\
* *
* Skeletons *
* *
\******************************************************************************/
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve
(
struct
soap
*
);
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve_request
(
struct
soap
*
);
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve___s0__GetStatus
(
struct
soap
*
);
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve___s0__GetExtStatus
(
struct
soap
*
);
SOAP_FMAC5
int
SOAP_FMAC6
soap_serve___s0__Restart
(
struct
soap
*
);
#endif
/* End of statussrv_Stub.h */
src/lib/statussrv/src/statussrv_msg.h
0 → 100644
View file @
4469e089
/* statussrv_msg.h
Generated by wsdl2h 1.2.9d from statussrv.wsdl and typemap.dat
2007-05-10 13:32:06 GMT
Copyright (C) 2001-2006 Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL or Genivia's license for commercial use.
*/
/* NOTE:
- Compile this file with soapcpp2 to complete the code generation process.
- Use soapcpp2 option -I to specify paths for #import
To build with STL, 'stlvector.h' is imported from 'import' dir in package.
- Use wsdl2h options -c and -s to generate pure C code or C++ code without STL.
- Use 'typemap.dat' to control schema namespace bindings and type mappings.
It is strongly recommended to customize the names of the namespace prefixes
generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces
section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
- Use Doxygen (www.doxygen.org) to browse this file.
- Use wsdl2h option -l to view the software license terms.
DO NOT include this file directly into your project.
Include only the soapcpp2-generated headers and source code files.
*/
//gsoapopt w
/******************************************************************************\
* *
* http://www.proview.se/webservices/statussrv/1.0/ *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
// STL vector containers (use option -s to disable)
#import "stlvector.h"
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
/* NOTE:
It is strongly recommended to customize the names of the namespace prefixes
generated by wsdl2h. To do so, modify the prefix bindings below and add the
modified lines to typemap.dat to rerun wsdl2h:
s0 = "http://www.proview.se/webservices/statussrv/1.0/"
*/
//gsoap s0 schema namespace: http://www.proview.se/webservices/statussrv/1.0/
//gsoap s0 schema elementForm: qualified
//gsoap s0 schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
class
xsd__anyType
{
_XML
__item
;
struct
soap
*
soap
;
};
/// Class wrapper for built-in type "xs:int" derived from xsd__anyType
class
xsd__int
:
public
xsd__anyType
{
public
:
int
__item
;
};
/// Class wrapper for built-in type "xs:string" derived from xsd__anyType
class
xsd__string
:
public
xsd__anyType
{
public
:
std
::
string
__item
;
};
// Forward declaration of class _s0__GetStatus.
class
_s0__GetStatus
;
// Forward declaration of class _s0__GetStatusResponse.
class
_s0__GetStatusResponse
;
// Forward declaration of class _s0__GetExtStatus.
class
_s0__GetExtStatus
;
// Forward declaration of class _s0__GetExtStatusResponse.
class
_s0__GetExtStatusResponse
;
// Forward declaration of class _s0__Restart.
class
_s0__Restart
;
// Forward declaration of class _s0__RestartResponse.
class
_s0__RestartResponse
;
/// Element "http://www.proview.se/webservices/statussrv/1.0/":GetStatus of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":GetStatus is a complexType.
class
_s0__GetStatus
{
public
:
/// Attribute ClientRequestHandle of type xs:string.
@
std
::
string
*
ClientRequestHandle
0
;
///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct
soap
*
soap
;
};
/// Element "http://www.proview.se/webservices/statussrv/1.0/":GetStatusResponse of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":GetStatusResponse is a complexType.
class
_s0__GetStatusResponse
{
public
:
/// Element Version of type xs:string.
std
::
string
Version
1
;
///< Required element.
/// Element SystemStatus of type xs:int.
int
SystemStatus
1
;
///< Required element.
/// Element SystemStatusStr of type xs:string.
std
::
string
SystemStatusStr
1
;
///< Required element.
/// Element Description of type xs:string.
std
::
string
*
Description
0
;
///< Optional element.
/// Element SystemTime of type xs:string.
std
::
string
*
SystemTime
0
;
///< Optional element.
/// Element BootTime of type xs:string.
std
::
string
*
BootTime
0
;
///< Optional element.
/// Element RestartTime of type xs:string.
std
::
string
*
RestartTime
0
;
///< Optional element.
/// Element Restarts of type xs:int.
int
*
Restarts
0
;
///< Optional element.
/// Element UserStatus1 of type xs:int.
int
*
UserStatus1
0
;
///< Optional element.
/// Element UserStatusStr1 of type xs:string.
std
::
string
*
UserStatusStr1
0
;
///< Optional element.
/// Element UserStatus2 of type xs:int.
int
*
UserStatus2
0
;
///< Optional element.
/// Element UserStatusStr2 of type xs:string.
std
::
string
*
UserStatusStr2
0
;
///< Optional element.
/// Element UserStatus3 of type xs:int.
int
*
UserStatus3
0
;
///< Optional element.
/// Element UserStatusStr3 of type xs:string.
std
::
string
*
UserStatusStr3
0
;
///< Optional element.
/// Element UserStatus4 of type xs:int.
int
*
UserStatus4
0
;
///< Optional element.
/// Element UserStatusStr4 of type xs:string.
std
::
string
*
UserStatusStr4
0
;
///< Optional element.
/// Element UserStatus5 of type xs:int.
int
*
UserStatus5
0
;
///< Optional element.
/// Element UserStatusStr5 of type xs:string.
std
::
string
*
UserStatusStr5
0
;
///< Optional element.
/// Attribute ClientRequestHandle of type xs:string.
@
std
::
string
*
ClientRequestHandle
0
;
///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct
soap
*
soap
;
};
/// Element "http://www.proview.se/webservices/statussrv/1.0/":GetExtStatus of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":GetExtStatus is a complexType.
class
_s0__GetExtStatus
{
public
:
/// Attribute ClientRequestHandle of type xs:string.
@
std
::
string
*
ClientRequestHandle
0
;
///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct
soap
*
soap
;
};
/// Element "http://www.proview.se/webservices/statussrv/1.0/":GetExtStatusResponse of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":GetExtStatusResponse is a complexType.
class
_s0__GetExtStatusResponse
{
public
:
/// Element ServerSts1 of type xs:int.
int
ServerSts1
1
;
///< Required element.
/// Element ServerSts1Str of type xs:string.
std
::
string
ServerSts1Str
1
;
///< Required element.
/// Element ServerSts1Name of type xs:string.
std
::
string
ServerSts1Name
1
;
///< Required element.
/// Element ServerSts2 of type xs:int.
int
ServerSts2
1
;
///< Required element.
/// Element ServerSts2Str of type xs:string.
std
::
string
ServerSts2Str
1
;
///< Required element.
/// Element ServerSts2Name of type xs:string.
std
::
string
ServerSts2Name
1
;
///< Required element.
/// Element ServerSts3 of type xs:int.
int
ServerSts3
1
;
///< Required element.
/// Element ServerSts3Str of type xs:string.
std
::
string
ServerSts3Str
1
;
///< Required element.
/// Element ServerSts3Name of type xs:string.
std
::
string
ServerSts3Name
1
;
///< Required element.
/// Element ServerSts4 of type xs:int.
int
ServerSts4
1
;
///< Required element.
/// Element ServerSts4Str of type xs:string.
std
::
string
ServerSts4Str
1
;
///< Required element.
/// Element ServerSts4Name of type xs:string.
std
::
string
ServerSts4Name
1
;
///< Required element.
/// Element ServerSts5 of type xs:int.
int
ServerSts5
1
;
///< Required element.
/// Element ServerSts5Str of type xs:string.
std
::
string
ServerSts5Str
1
;
///< Required element.
/// Element ServerSts5Name of type xs:string.
std
::
string
ServerSts5Name
1
;
///< Required element.
/// Element ServerSts6 of type xs:int.
int
ServerSts6
1
;
///< Required element.
/// Element ServerSts6Str of type xs:string.
std
::
string
ServerSts6Str
1
;
///< Required element.
/// Element ServerSts6Name of type xs:string.
std
::
string
ServerSts6Name
1
;
///< Required element.
/// Element ServerSts7 of type xs:int.
int
ServerSts7
1
;
///< Required element.
/// Element ServerSts7Str of type xs:string.
std
::
string
ServerSts7Str
1
;
///< Required element.
/// Element ServerSts7Name of type xs:string.
std
::
string
ServerSts7Name
1
;
///< Required element.
/// Element ServerSts8 of type xs:int.
int
ServerSts8
1
;
///< Required element.
/// Element ServerSts8Str of type xs:string.
std
::
string
ServerSts8Str
1
;
///< Required element.
/// Element ServerSts8Name of type xs:string.
std
::
string
ServerSts8Name
1
;
///< Required element.
/// Element ServerSts9 of type xs:int.
int
ServerSts9
1
;
///< Required element.
/// Element ServerSts9Str of type xs:string.
std
::
string
ServerSts9Str
1
;
///< Required element.
/// Element ServerSts9Name of type xs:string.
std
::
string
ServerSts9Name
1
;
///< Required element.
/// Element ServerSts10 of type xs:int.
int
ServerSts10
1
;
///< Required element.
/// Element ServerSts10Str of type xs:string.
std
::
string
ServerSts10Str
1
;
///< Required element.
/// Element ServerSts10Name of type xs:string.
std
::
string
ServerSts10Name
1
;
///< Required element.
/// Element ServerSts11 of type xs:int.
int
ServerSts11
1
;
///< Required element.
/// Element ServerSts11Str of type xs:string.
std
::
string
ServerSts11Str
1
;
///< Required element.
/// Element ServerSts11Name of type xs:string.
std
::
string
ServerSts11Name
1
;
///< Required element.
/// Element ServerSts12 of type xs:int.
int
ServerSts12
1
;
///< Required element.
/// Element ServerSts12Str of type xs:string.
std
::
string
ServerSts12Str
1
;
///< Required element.
/// Element ServerSts12Name of type xs:string.
std
::
string
ServerSts12Name
1
;
///< Required element.
/// Element ServerSts13 of type xs:int.
int
ServerSts13
1
;
///< Required element.
/// Element ServerSts13Str of type xs:string.
std
::
string
ServerSts13Str
1
;
///< Required element.
/// Element ServerSts13Name of type xs:string.
std
::
string
ServerSts13Name
1
;
///< Required element.
/// Element ServerSts14 of type xs:int.
int
ServerSts14
1
;
///< Required element.
/// Element ServerSts14Str of type xs:string.
std
::
string
ServerSts14Str
1
;
///< Required element.
/// Element ServerSts14Name of type xs:string.
std
::
string
ServerSts14Name
1
;
///< Required element.
/// Element ServerSts15 of type xs:int.
int
ServerSts15
1
;
///< Required element.
/// Element ServerSts15Str of type xs:string.
std
::
string
ServerSts15Str
1
;
///< Required element.
/// Element ServerSts15Name of type xs:string.
std
::
string
ServerSts15Name
1
;
///< Required element.
/// Element ServerSts16 of type xs:int.
int
ServerSts16
1
;
///< Required element.
/// Element ServerSts16Str of type xs:string.
std
::
string
ServerSts16Str
1
;
///< Required element.
/// Element ServerSts16Name of type xs:string.
std
::
string
ServerSts16Name
1
;
///< Required element.
/// Element ServerSts17 of type xs:int.
int
ServerSts17
1
;
///< Required element.
/// Element ServerSts17Str of type xs:string.
std
::
string
ServerSts17Str
1
;
///< Required element.
/// Element ServerSts17Name of type xs:string.
std
::
string
ServerSts17Name
1
;
///< Required element.
/// Element ServerSts18 of type xs:int.
int
ServerSts18
1
;
///< Required element.
/// Element ServerSts18Str of type xs:string.
std
::
string
ServerSts18Str
1
;
///< Required element.
/// Element ServerSts18Name of type xs:string.
std
::
string
ServerSts18Name
1
;
///< Required element.
/// Element ServerSts19 of type xs:int.
int
ServerSts19
1
;
///< Required element.
/// Element ServerSts19Str of type xs:string.
std
::
string
ServerSts19Str
1
;
///< Required element.
/// Element ServerSts19Name of type xs:string.
std
::
string
ServerSts19Name
1
;
///< Required element.
/// Element ServerSts20 of type xs:int.
int
ServerSts20
1
;
///< Required element.
/// Element ServerSts20Str of type xs:string.
std
::
string
ServerSts20Str
1
;
///< Required element.
/// Element ServerSts20Name of type xs:string.
std
::
string
ServerSts20Name
1
;
///< Required element.
/// Element ApplSts1 of type xs:int.
int
ApplSts1
1
;
///< Required element.
/// Element ApplSts1Str of type xs:string.
std
::
string
ApplSts1Str
1
;
///< Required element.
/// Element ApplSts1Name of type xs:string.
std
::
string
ApplSts1Name
1
;
///< Required element.
/// Element ApplSts2 of type xs:int.
int
ApplSts2
1
;
///< Required element.
/// Element ApplSts2Str of type xs:string.
std
::
string
ApplSts2Str
1
;
///< Required element.
/// Element ApplSts2Name of type xs:string.
std
::
string
ApplSts2Name
1
;
///< Required element.
/// Element ApplSts3 of type xs:int.
int
ApplSts3
1
;
///< Required element.
/// Element ApplSts3Str of type xs:string.
std
::
string
ApplSts3Str
1
;
///< Required element.
/// Element ApplSts3Name of type xs:string.
std
::
string
ApplSts3Name
1
;
///< Required element.
/// Element ApplSts4 of type xs:int.
int
ApplSts4
1
;
///< Required element.
/// Element ApplSts4Str of type xs:string.
std
::
string
ApplSts4Str
1
;
///< Required element.
/// Element ApplSts4Name of type xs:string.
std
::
string
ApplSts4Name
1
;
///< Required element.
/// Element ApplSts5 of type xs:int.
int
ApplSts5
1
;
///< Required element.
/// Element ApplSts5Str of type xs:string.
std
::
string
ApplSts5Str
1
;
///< Required element.
/// Element ApplSts5Name of type xs:string.
std
::
string
ApplSts5Name
1
;
///< Required element.
/// Element ApplSts6 of type xs:int.
int
ApplSts6
1
;
///< Required element.
/// Element ApplSts6Str of type xs:string.
std
::
string
ApplSts6Str
1
;
///< Required element.
/// Element ApplSts6Name of type xs:string.
std
::
string
ApplSts6Name
1
;
///< Required element.
/// Element ApplSts7 of type xs:int.
int
ApplSts7
1
;
///< Required element.
/// Element ApplSts7Str of type xs:string.
std
::
string
ApplSts7Str
1
;
///< Required element.
/// Element ApplSts7Name of type xs:string.
std
::
string
ApplSts7Name
1
;
///< Required element.
/// Element ApplSts8 of type xs:int.
int
ApplSts8
1
;
///< Required element.
/// Element ApplSts8Str of type xs:string.
std
::
string
ApplSts8Str
1
;
///< Required element.
/// Element ApplSts8Name of type xs:string.
std
::
string
ApplSts8Name
1
;
///< Required element.
/// Element ApplSts9 of type xs:int.
int
ApplSts9
1
;
///< Required element.
/// Element ApplSts9Str of type xs:string.
std
::
string
ApplSts9Str
1
;
///< Required element.
/// Element ApplSts9Name of type xs:string.
std
::
string
ApplSts9Name
1
;
///< Required element.
/// Element ApplSts10 of type xs:int.
int
ApplSts10
1
;
///< Required element.
/// Element ApplSts10Str of type xs:string.
std
::
string
ApplSts10Str
1
;
///< Required element.
/// Element ApplSts10Name of type xs:string.
std
::
string
ApplSts10Name
1
;
///< Required element.
/// Element ApplSts11 of type xs:int.
int
ApplSts11
1
;
///< Required element.
/// Element ApplSts11Str of type xs:string.
std
::
string
ApplSts11Str
1
;
///< Required element.
/// Element ApplSts11Name of type xs:string.
std
::
string
ApplSts11Name
1
;
///< Required element.
/// Element ApplSts12 of type xs:int.
int
ApplSts12
1
;
///< Required element.
/// Element ApplSts12Str of type xs:string.
std
::
string
ApplSts12Str
1
;
///< Required element.
/// Element ApplSts12Name of type xs:string.
std
::
string
ApplSts12Name
1
;
///< Required element.
/// Element ApplSts13 of type xs:int.
int
ApplSts13
1
;
///< Required element.
/// Element ApplSts13Str of type xs:string.
std
::
string
ApplSts13Str
1
;
///< Required element.
/// Element ApplSts13Name of type xs:string.
std
::
string
ApplSts13Name
1
;
///< Required element.
/// Element ApplSts14 of type xs:int.
int
ApplSts14
1
;
///< Required element.
/// Element ApplSts14Str of type xs:string.
std
::
string
ApplSts14Str
1
;
///< Required element.
/// Element ApplSts14Name of type xs:string.
std
::
string
ApplSts14Name
1
;
///< Required element.
/// Element ApplSts15 of type xs:int.
int
ApplSts15
1
;
///< Required element.
/// Element ApplSts15Str of type xs:string.
std
::
string
ApplSts15Str
1
;
///< Required element.
/// Element ApplSts15Name of type xs:string.
std
::
string
ApplSts15Name
1
;
///< Required element.
/// Element ApplSts16 of type xs:int.
int
ApplSts16
1
;
///< Required element.
/// Element ApplSts16Str of type xs:string.
std
::
string
ApplSts16Str
1
;
///< Required element.
/// Element ApplSts16Name of type xs:string.
std
::
string
ApplSts16Name
1
;
///< Required element.
/// Element ApplSts17 of type xs:int.
int
ApplSts17
1
;
///< Required element.
/// Element ApplSts17Str of type xs:string.
std
::
string
ApplSts17Str
1
;
///< Required element.
/// Element ApplSts17Name of type xs:string.
std
::
string
ApplSts17Name
1
;
///< Required element.
/// Element ApplSts18 of type xs:int.
int
ApplSts18
1
;
///< Required element.
/// Element ApplSts18Str of type xs:string.
std
::
string
ApplSts18Str
1
;
///< Required element.
/// Element ApplSts18Name of type xs:string.
std
::
string
ApplSts18Name
1
;
///< Required element.
/// Element ApplSts19 of type xs:int.
int
ApplSts19
1
;
///< Required element.
/// Element ApplSts19Str of type xs:string.
std
::
string
ApplSts19Str
1
;
///< Required element.
/// Element ApplSts19Name of type xs:string.
std
::
string
ApplSts19Name
1
;
///< Required element.
/// Element ApplSts20 of type xs:int.
int
ApplSts20
1
;
///< Required element.
/// Element ApplSts20Str of type xs:string.
std
::
string
ApplSts20Str
1
;
///< Required element.
/// Element ApplSts20Name of type xs:string.
std
::
string
ApplSts20Name
1
;
///< Required element.
/// Attribute ClientRequestHandle of type xs:string.
@
std
::
string
*
ClientRequestHandle
0
;
///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct
soap
*
soap
;
};
/// Element "http://www.proview.se/webservices/statussrv/1.0/":Restart of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":Restart is a complexType.
class
_s0__Restart
{
public
:
/// Attribute ClientRequestHandle of type xs:string.
@
std
::
string
*
ClientRequestHandle
0
;
///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct
soap
*
soap
;
};
/// Element "http://www.proview.se/webservices/statussrv/1.0/":RestartResponse of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":RestartResponse is a complexType.
class
_s0__RestartResponse
{
public
:
/// Attribute ClientRequestHandle of type xs:string.
@
std
::
string
*
ClientRequestHandle
0
;
///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct
soap
*
soap
;
};
/******************************************************************************\
* *
* Services *
* *
\******************************************************************************/
//gsoap s0 service name: Service
//gsoap s0 service type: Service
//gsoap s0 service namespace: http://www.proview.se/webservices/statussrv/1.0/
//gsoap s0 service transport: http://schemas.xmlsoap.org/soap/http
/** @mainpage Service Definitions
@section Service_bindings Bindings
- @ref Service
*/
/**
@page Service Binding "Service"
@section Service_operations Operations of Binding "Service"
- @ref __s0__GetStatus
- @ref __s0__GetExtStatus
- @ref __s0__Restart
@section Service_ports Endpoints of Binding "Service"
*/
/******************************************************************************\
* *
* Service *
* *
\******************************************************************************/
/******************************************************************************\
* *
* __s0__GetStatus *
* *
\******************************************************************************/
/// Operation "__s0__GetStatus" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="s0:GetStatus"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___s0__GetStatus(
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
_s0__GetStatus* s0__GetStatus,
// response parameters:
_s0__GetStatusResponse* s0__GetStatusResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __s0__GetStatus(
struct soap *soap,
// request parameters:
_s0__GetStatus* s0__GetStatus,
// response parameters:
_s0__GetStatusResponse* s0__GetStatusResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap s0 service method-style: GetStatus document
//gsoap s0 service method-encoding: GetStatus literal
//gsoap s0 service method-action: GetStatus s0:GetStatus
int
__s0__GetStatus
(
_s0__GetStatus
*
s0__GetStatus
,
///< Request parameter
_s0__GetStatusResponse
*
s0__GetStatusResponse
///< Response parameter
);
/******************************************************************************\
* *
* __s0__GetExtStatus *
* *
\******************************************************************************/
/// Operation "__s0__GetExtStatus" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="s0:GetExtStatus"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___s0__GetExtStatus(
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
_s0__GetExtStatus* s0__GetExtStatus,
// response parameters:
_s0__GetExtStatusResponse* s0__GetExtStatusResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __s0__GetExtStatus(
struct soap *soap,
// request parameters:
_s0__GetExtStatus* s0__GetExtStatus,
// response parameters:
_s0__GetExtStatusResponse* s0__GetExtStatusResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap s0 service method-style: GetExtStatus document
//gsoap s0 service method-encoding: GetExtStatus literal
//gsoap s0 service method-action: GetExtStatus s0:GetExtStatus
int
__s0__GetExtStatus
(
_s0__GetExtStatus
*
s0__GetExtStatus
,
///< Request parameter
_s0__GetExtStatusResponse
*
s0__GetExtStatusResponse
///< Response parameter
);
/******************************************************************************\
* *
* __s0__Restart *
* *
\******************************************************************************/
/// Operation "__s0__Restart" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="s0:Restart"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___s0__Restart(
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
_s0__Restart* s0__Restart,
// response parameters:
_s0__RestartResponse* s0__RestartResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __s0__Restart(
struct soap *soap,
// request parameters:
_s0__Restart* s0__Restart,
// response parameters:
_s0__RestartResponse* s0__RestartResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap s0 service method-style: Restart document
//gsoap s0 service method-encoding: Restart literal
//gsoap s0 service method-action: Restart s0:Restart
int
__s0__Restart
(
_s0__Restart
*
s0__Restart
,
///< Request parameter
_s0__RestartResponse
*
s0__RestartResponse
///< Response parameter
);
/* End of statussrv_msg.h */
src/lib/statussrv/src/statussrv_utl.cpp
0 → 100644
View file @
4469e089
#include "statussrv_H.h"
#include "Service.nsmap"
#include "statussrv_Stub.h"
#include "statussrv_utl.h"
#include "co_time.h"
#include "rt_pwr_msg.h"
static
struct
soap
soap
;
static
int
init_done
=
0
;
static
int
port
=
18084
;
pwr_tStatus
statussrv_GetStatus
(
char
*
nodename
,
statussrv_sGetStatus
*
result
)
{
pwr_tStatus
sts
=
PWR__SUCCESS
;
char
endpoint
[
80
];
if
(
!
init_done
)
{
soap_init
(
&
soap
);
init_done
=
1
;
}
sprintf
(
endpoint
,
"http://%s:%d"
,
nodename
,
port
);
_s0__GetStatus
get_status
;
_s0__GetStatusResponse
get_status_response
;
get_status
.
ClientRequestHandle
=
new
std
::
string
(
"StatusSrv Client"
);
if
(
soap_call___s0__GetStatus
(
&
soap
,
endpoint
,
NULL
,
&
get_status
,
&
get_status_response
)
==
SOAP_OK
)
{
strncpy
(
result
->
Version
,
get_status_response
.
Version
.
c_str
(),
sizeof
(
result
->
Version
));
result
->
SystemStatus
=
get_status_response
.
SystemStatus
;
strncpy
(
result
->
SystemStatusStr
,
get_status_response
.
SystemStatusStr
.
c_str
(),
sizeof
(
result
->
SystemStatusStr
));
if
(
get_status_response
.
Description
)
strncpy
(
result
->
Description
,
get_status_response
.
Description
->
c_str
(),
sizeof
(
result
->
Description
));
else
strcpy
(
result
->
Description
,
""
);
if
(
get_status_response
.
SystemTime
)
time_AsciiToA
(
(
char
*
)
get_status_response
.
SystemTime
->
c_str
(),
&
result
->
SystemTime
);
else
memset
(
&
result
->
SystemTime
,
0
,
sizeof
(
result
->
SystemTime
));
if
(
get_status_response
.
BootTime
)
time_AsciiToA
(
(
char
*
)
get_status_response
.
BootTime
->
c_str
(),
&
result
->
BootTime
);
else
memset
(
&
result
->
BootTime
,
0
,
sizeof
(
result
->
BootTime
));
if
(
get_status_response
.
RestartTime
)
time_AsciiToA
(
(
char
*
)
get_status_response
.
RestartTime
->
c_str
(),
&
result
->
RestartTime
);
else
memset
(
&
result
->
RestartTime
,
0
,
sizeof
(
result
->
RestartTime
));
if
(
get_status_response
.
Restarts
)
result
->
Restarts
=
*
get_status_response
.
Restarts
;
else
result
->
Restarts
=
-
1
;
}
else
{
sts
=
PWR__SRVCONNECTION
;
memset
(
result
,
0
,
sizeof
(
*
result
));
result
->
SystemStatus
=
sts
;
strcpy
(
result
->
SystemStatusStr
,
"Connection down to server"
);
}
soap_destroy
(
&
soap
);
soap_end
(
&
soap
);
// soap_done( &soap);
return
sts
;
}
pwr_tStatus
statussrv_GetExtStatus
(
char
*
nodename
,
statussrv_sGetExtStatus
*
result
)
{
pwr_tStatus
sts
=
PWR__SUCCESS
;
char
endpoint
[
80
];
if
(
!
init_done
)
{
soap_init
(
&
soap
);
init_done
=
1
;
}
sprintf
(
endpoint
,
"http://%s:%d"
,
nodename
,
port
);
_s0__GetExtStatus
get_status
;
_s0__GetExtStatusResponse
get_status_response
;
get_status
.
ClientRequestHandle
=
new
std
::
string
(
"StatusSrv Client"
);
if
(
soap_call___s0__GetExtStatus
(
&
soap
,
endpoint
,
NULL
,
&
get_status
,
&
get_status_response
)
==
SOAP_OK
)
{
result
->
ServerSts
[
0
]
=
get_status_response
.
ServerSts1
;
strncpy
(
result
->
ServerStsStr
[
0
],
get_status_response
.
ServerSts1Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
0
],
get_status_response
.
ServerSts1Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
1
]
=
get_status_response
.
ServerSts2
;
strncpy
(
result
->
ServerStsStr
[
1
],
get_status_response
.
ServerSts2Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
1
],
get_status_response
.
ServerSts2Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
2
]
=
get_status_response
.
ServerSts3
;
strncpy
(
result
->
ServerStsStr
[
2
],
get_status_response
.
ServerSts3Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
2
],
get_status_response
.
ServerSts3Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
3
]
=
get_status_response
.
ServerSts4
;
strncpy
(
result
->
ServerStsStr
[
3
],
get_status_response
.
ServerSts4Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
3
],
get_status_response
.
ServerSts4Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
4
]
=
get_status_response
.
ServerSts5
;
strncpy
(
result
->
ServerStsStr
[
4
],
get_status_response
.
ServerSts5Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
4
],
get_status_response
.
ServerSts5Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
5
]
=
get_status_response
.
ServerSts6
;
strncpy
(
result
->
ServerStsStr
[
5
],
get_status_response
.
ServerSts6Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
5
],
get_status_response
.
ServerSts6Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
6
]
=
get_status_response
.
ServerSts7
;
strncpy
(
result
->
ServerStsStr
[
6
],
get_status_response
.
ServerSts7Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
6
],
get_status_response
.
ServerSts7Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
7
]
=
get_status_response
.
ServerSts8
;
strncpy
(
result
->
ServerStsStr
[
7
],
get_status_response
.
ServerSts8Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
7
],
get_status_response
.
ServerSts8Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
8
]
=
get_status_response
.
ServerSts9
;
strncpy
(
result
->
ServerStsStr
[
8
],
get_status_response
.
ServerSts9Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
8
],
get_status_response
.
ServerSts9Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
9
]
=
get_status_response
.
ServerSts10
;
strncpy
(
result
->
ServerStsStr
[
9
],
get_status_response
.
ServerSts10Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
9
],
get_status_response
.
ServerSts10Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
10
]
=
get_status_response
.
ServerSts11
;
strncpy
(
result
->
ServerStsStr
[
10
],
get_status_response
.
ServerSts11Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
10
],
get_status_response
.
ServerSts11Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
11
]
=
get_status_response
.
ServerSts12
;
strncpy
(
result
->
ServerStsStr
[
11
],
get_status_response
.
ServerSts12Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
11
],
get_status_response
.
ServerSts12Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
12
]
=
get_status_response
.
ServerSts13
;
strncpy
(
result
->
ServerStsStr
[
12
],
get_status_response
.
ServerSts13Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
12
],
get_status_response
.
ServerSts13Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
13
]
=
get_status_response
.
ServerSts14
;
strncpy
(
result
->
ServerStsStr
[
13
],
get_status_response
.
ServerSts14Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
13
],
get_status_response
.
ServerSts14Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
14
]
=
get_status_response
.
ServerSts15
;
strncpy
(
result
->
ServerStsStr
[
14
],
get_status_response
.
ServerSts15Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
14
],
get_status_response
.
ServerSts15Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
15
]
=
get_status_response
.
ServerSts16
;
strncpy
(
result
->
ServerStsStr
[
15
],
get_status_response
.
ServerSts16Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
15
],
get_status_response
.
ServerSts16Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
16
]
=
get_status_response
.
ServerSts17
;
strncpy
(
result
->
ServerStsStr
[
16
],
get_status_response
.
ServerSts17Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
16
],
get_status_response
.
ServerSts17Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
17
]
=
get_status_response
.
ServerSts18
;
strncpy
(
result
->
ServerStsStr
[
17
],
get_status_response
.
ServerSts18Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
17
],
get_status_response
.
ServerSts18Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
18
]
=
get_status_response
.
ServerSts19
;
strncpy
(
result
->
ServerStsStr
[
18
],
get_status_response
.
ServerSts19Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
18
],
get_status_response
.
ServerSts19Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ServerSts
[
19
]
=
get_status_response
.
ServerSts20
;
strncpy
(
result
->
ServerStsStr
[
19
],
get_status_response
.
ServerSts20Str
.
c_str
(),
sizeof
(
result
->
ServerStsStr
[
0
]));
strncpy
(
result
->
ServerStsName
[
19
],
get_status_response
.
ServerSts20Name
.
c_str
(),
sizeof
(
result
->
ServerStsName
[
0
]));
result
->
ApplSts
[
0
]
=
get_status_response
.
ApplSts1
;
strncpy
(
result
->
ApplStsStr
[
0
],
get_status_response
.
ApplSts1Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
0
],
get_status_response
.
ApplSts1Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
1
]
=
get_status_response
.
ApplSts2
;
strncpy
(
result
->
ApplStsStr
[
1
],
get_status_response
.
ApplSts2Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
1
],
get_status_response
.
ApplSts2Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
2
]
=
get_status_response
.
ApplSts3
;
strncpy
(
result
->
ApplStsStr
[
2
],
get_status_response
.
ApplSts3Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
2
],
get_status_response
.
ApplSts3Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
3
]
=
get_status_response
.
ApplSts4
;
strncpy
(
result
->
ApplStsStr
[
3
],
get_status_response
.
ApplSts4Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
3
],
get_status_response
.
ApplSts4Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
4
]
=
get_status_response
.
ApplSts5
;
strncpy
(
result
->
ApplStsStr
[
4
],
get_status_response
.
ApplSts5Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
4
],
get_status_response
.
ApplSts5Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
5
]
=
get_status_response
.
ApplSts6
;
strncpy
(
result
->
ApplStsStr
[
5
],
get_status_response
.
ApplSts6Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
5
],
get_status_response
.
ApplSts6Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
6
]
=
get_status_response
.
ApplSts7
;
strncpy
(
result
->
ApplStsStr
[
6
],
get_status_response
.
ApplSts7Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
6
],
get_status_response
.
ApplSts7Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
7
]
=
get_status_response
.
ApplSts8
;
strncpy
(
result
->
ApplStsStr
[
7
],
get_status_response
.
ApplSts8Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
7
],
get_status_response
.
ApplSts8Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
8
]
=
get_status_response
.
ApplSts9
;
strncpy
(
result
->
ApplStsStr
[
8
],
get_status_response
.
ApplSts9Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
8
],
get_status_response
.
ApplSts9Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
9
]
=
get_status_response
.
ApplSts10
;
strncpy
(
result
->
ApplStsStr
[
9
],
get_status_response
.
ApplSts10Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
9
],
get_status_response
.
ApplSts10Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
10
]
=
get_status_response
.
ApplSts11
;
strncpy
(
result
->
ApplStsStr
[
10
],
get_status_response
.
ApplSts11Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
10
],
get_status_response
.
ApplSts11Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
11
]
=
get_status_response
.
ApplSts12
;
strncpy
(
result
->
ApplStsStr
[
11
],
get_status_response
.
ApplSts12Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
11
],
get_status_response
.
ApplSts12Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
12
]
=
get_status_response
.
ApplSts13
;
strncpy
(
result
->
ApplStsStr
[
12
],
get_status_response
.
ApplSts13Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
12
],
get_status_response
.
ApplSts13Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
13
]
=
get_status_response
.
ApplSts14
;
strncpy
(
result
->
ApplStsStr
[
13
],
get_status_response
.
ApplSts14Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
13
],
get_status_response
.
ApplSts14Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
14
]
=
get_status_response
.
ApplSts15
;
strncpy
(
result
->
ApplStsStr
[
14
],
get_status_response
.
ApplSts15Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
14
],
get_status_response
.
ApplSts15Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
15
]
=
get_status_response
.
ApplSts16
;
strncpy
(
result
->
ApplStsStr
[
15
],
get_status_response
.
ApplSts16Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
15
],
get_status_response
.
ApplSts16Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
16
]
=
get_status_response
.
ApplSts17
;
strncpy
(
result
->
ApplStsStr
[
16
],
get_status_response
.
ApplSts17Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
16
],
get_status_response
.
ApplSts17Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
17
]
=
get_status_response
.
ApplSts18
;
strncpy
(
result
->
ApplStsStr
[
17
],
get_status_response
.
ApplSts18Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
17
],
get_status_response
.
ApplSts18Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
18
]
=
get_status_response
.
ApplSts19
;
strncpy
(
result
->
ApplStsStr
[
18
],
get_status_response
.
ApplSts19Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
18
],
get_status_response
.
ApplSts19Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
result
->
ApplSts
[
19
]
=
get_status_response
.
ApplSts20
;
strncpy
(
result
->
ApplStsStr
[
19
],
get_status_response
.
ApplSts20Str
.
c_str
(),
sizeof
(
result
->
ApplStsStr
[
0
]));
strncpy
(
result
->
ApplStsName
[
19
],
get_status_response
.
ApplSts20Name
.
c_str
(),
sizeof
(
result
->
ApplStsName
[
0
]));
}
else
{
sts
=
PWR__SRVCONNECTION
;
memset
(
result
,
0
,
sizeof
(
*
result
));
}
soap_destroy
(
&
soap
);
soap_end
(
&
soap
);
// soap_done( &soap);
return
sts
;
}
src/lib/statussrv/src/statussrv_utl.h
0 → 100644
View file @
4469e089
/**
* Proview $Id: statussrv_utl.h,v 1.1 2007-05-11 14:59:19 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
#ifndef statussrv_utl_h
#define statussrv_utl_h
#ifndef pwr_h
# include "pwr.h"
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
struct
{
char
Version
[
20
];
pwr_tStatus
SystemStatus
;
char
SystemStatusStr
[
120
];
pwr_tString80
Description
;
pwr_tTime
SystemTime
;
pwr_tTime
BootTime
;
pwr_tTime
RestartTime
;
int
Restarts
;
}
statussrv_sGetStatus
;
typedef
struct
{
pwr_tStatus
ServerSts
[
20
];
char
ServerStsStr
[
20
][
120
];
char
ServerStsName
[
20
][
80
];
pwr_tStatus
ApplSts
[
20
];
char
ApplStsStr
[
20
][
120
];
char
ApplStsName
[
20
][
80
];
}
statussrv_sGetExtStatus
;
pwr_tStatus
statussrv_GetStatus
(
char
*
nodename
,
statussrv_sGetStatus
*
result
);
pwr_tStatus
statussrv_GetExtStatus
(
char
*
nodename
,
statussrv_sGetExtStatus
*
result
);
#ifdef __cplusplus
}
#endif
#endif
src/lib/statussrv/src/typemap.dat
0 → 100644
View file @
4469e089
s0 = "http://www.proview.se/webservices/statussrv/1.0/"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment