Commit 5ad190de authored by claes's avatar claes

Request StartRtMon added

parent 640d9012
/*
* Proview $Id: rt_statussrv.cpp,v 1.3 2007-05-21 14:21:39 claes Exp $
* Proview $Id: rt_statussrv.cpp,v 1.4 2007-05-25 13:38:07 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -23,6 +23,7 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <pthread.h>
#include <unistd.h>
#include "pwr.h"
#include "pwr_version.h"
......@@ -529,25 +530,105 @@ SOAP_FMAC5 int SOAP_FMAC6 __s0__XttStart(struct soap *soap,
char lang[40] = "";
pwr_tOName opplace = "";
char display[80] = "";
pwr_tCmd cmd;
char *argv[] = {"rt_xtt", 0, 0, 0, 0, 0, 0, 0, 0, 0};
char sw_l[] = "-l";
char sw_d[] = "--display";
char sw_q[] = "-q";
char sw_c[] = "-c";
if ( s0__XttStart->ClientRequestHandle)
s0__XttStartResponse->ClientRequestHandle =
new std::string( *s0__XttStart->ClientRequestHandle);
if ( s0__XttStart->Language) {
sprintf( lang, "-l %s", s0__XttStart->Language->c_str());
if ( s0__XttStart->Language)
strncpy( lang, s0__XttStart->Language->c_str(), sizeof(lang));
if ( s0__XttStart->OpPlace)
strncpy( opplace, s0__XttStart->OpPlace->c_str(), sizeof(opplace));
if ( s0__XttStart->Display)
strncpy( display, s0__XttStart->Display->c_str(), sizeof(display));
int i = 1;
if ( strcmp( opplace, "") != 0)
argv[i++] = opplace;
argv[i++] = sw_q;
argv[i++] = sw_c;
if ( strcmp( display, "") != 0) {
argv[i++] = sw_d;
argv[i++] = display;
}
if ( strcmp( lang, "") != 0) {
argv[i++] = sw_l;
argv[i++] = lang;
}
pid_t pid = fork();
switch ( pid) {
case -1:
printf( "rt_statussrv: fork failed\n");
break;
case 0: {
// Child process
// Socket open after fork, close
soap->fclosesocket(soap, (SOAP_SOCKET)soap->master);
execvp( "rt_xtt", argv);
break;
}
default: ;
}
if ( s0__XttStart->OpPlace) {
strcpy( opplace, s0__XttStart->OpPlace->c_str());
return SOAP_OK;
}
SOAP_FMAC5 int SOAP_FMAC6 __s0__RtMonStart(struct soap *soap,
_s0__RtMonStart *s0__RtMonStart,
_s0__RtMonStartResponse *s0__RtMonStartResponse)
{
char lang[40] = "";
char display[80] = "";
char *argv[] = {"pwr_rtmon", "--display", 0, 0, 0};
char sw_l[] = "-l";
char sw_d[] = "--display";
if ( s0__RtMonStart->ClientRequestHandle)
s0__RtMonStartResponse->ClientRequestHandle =
new std::string( *s0__RtMonStart->ClientRequestHandle);
if ( s0__RtMonStart->Language)
strncpy( lang, s0__RtMonStart->Language->c_str(), sizeof(lang));
if ( s0__RtMonStart->Display)
strncpy( display, s0__RtMonStart->Display->c_str(), sizeof(display));
int i = 1;
if ( strcmp( display, "") != 0) {
argv[i++] = sw_d;
argv[i++] = display;
}
if ( s0__XttStart->Display) {
sprintf( display, "--display %s", s0__XttStart->Display->c_str());
if ( strcmp( lang, "") != 0) {
argv[i++] = sw_l;
argv[i++] = lang;
}
sprintf( cmd, "rt_xtt %s -q -c %s %s &", opplace, display, lang);
pid_t pid = fork();
switch ( pid) {
case -1:
printf( "rt_statussrv: fork failed\n");
break;
case 0: {
// Child process
// Socket open after fork, close
soap->fclosesocket(soap, (SOAP_SOCKET)soap->master);
system( cmd);
execvp( "pwr_rtmon", argv);
break;
}
default: ;
}
return SOAP_OK;
}
......@@ -6,7 +6,7 @@
*/
#include "statussrv_H.h"
SOAP_SOURCE_STAMP("@(#) statussrv_Server.cpp ver 2.7.9d 2007-05-21 09:05:52 GMT")
SOAP_SOURCE_STAMP("@(#) statussrv_Server.cpp ver 2.7.9d 2007-05-25 06:59:31 GMT")
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
......@@ -79,6 +79,8 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *soap)
return soap_serve___s0__Restart(soap);
if (!soap_match_tag(soap, soap->tag, "s0:XttStart"))
return soap_serve___s0__XttStart(soap);
if (!soap_match_tag(soap, soap->tag, "s0:RtMonStart"))
return soap_serve___s0__RtMonStart(soap);
return soap->error = SOAP_NO_METHOD;
}
#endif
......@@ -247,4 +249,45 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__XttStart(struct soap *soap)
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__RtMonStart(struct soap *soap)
{ struct __s0__RtMonStart soap_tmp___s0__RtMonStart;
_s0__RtMonStartResponse s0__RtMonStartResponse;
s0__RtMonStartResponse.soap_default(soap);
soap_default___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart);
soap->encodingStyle = NULL;
if (!soap_get___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", 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__RtMonStart(soap, soap_tmp___s0__RtMonStart.s0__RtMonStart, &s0__RtMonStartResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
s0__RtMonStartResponse.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__RtMonStartResponse.soap_put(soap, "s0:RtMonStartResponse", "")
|| 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__RtMonStartResponse.soap_put(soap, "s0:RtMonStartResponse", "")
|| 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 */
......@@ -191,6 +191,20 @@
<s:attribute name="ClientRequestHandle" type="s:string" />
</s:complexType>
</s:element>
<s:element name="RtMonStart">
<s:complexType>
<s:attribute name="ClientRequestHandle" type="s:string" />
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Language" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Display" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="RtMonStartResponse">
<s:complexType>
<s:attribute name="ClientRequestHandle" type="s:string" />
</s:complexType>
</s:element>
</s:schema>
</types>
<message name="GetStatusSoapIn">
......@@ -217,6 +231,12 @@
<message name="XttStartSoapOut">
<part name="parameters" element="s0:XttStartResponse" />
</message>
<message name="RtMonStartSoapIn">
<part name="parameters" element="s0:RtMonStart" />
</message>
<message name="RtMonStartSoapOut">
<part name="parameters" element="s0:RtMonStartResponse" />
</message>
<portType name="Service">
<operation name="GetStatus">
<input message="s0:GetStatusSoapIn" />
......@@ -234,6 +254,10 @@
<input message="s0:XttStartSoapIn" />
<output message="s0:XttStartSoapOut" />
</operation>
<operation name="RtMonStart">
<input message="s0:RtMonStartSoapIn" />
<output message="s0:RtMonStartSoapOut" />
</operation>
</portType>
<binding name="Service" type="s0:Service">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
......@@ -273,5 +297,14 @@
<soap:body use="literal" />
</output>
</operation>
<operation name="RtMonStart">
<soap:operation soapAction="s0:RtMonStart" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
</definitions>
......@@ -7,7 +7,7 @@
#include "statussrv_H.h"
SOAP_SOURCE_STAMP("@(#) statussrv_C.cpp ver 2.7.9d 2007-05-21 09:05:52 GMT")
SOAP_SOURCE_STAMP("@(#) statussrv_C.cpp ver 2.7.9d 2007-05-25 06:59:31 GMT")
#ifndef WITH_NOGLOBAL
......@@ -158,6 +158,10 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
return soap_in_xsd__int(soap, NULL, NULL, "xsd:int");
case SOAP_TYPE_xsd__anyType:
return soap_in_xsd__anyType(soap, NULL, NULL, "xsd:anyType");
case SOAP_TYPE_PointerTo_s0__RtMonStartResponse:
return soap_in_PointerTo_s0__RtMonStartResponse(soap, NULL, NULL, "s0:RtMonStartResponse");
case SOAP_TYPE_PointerTo_s0__RtMonStart:
return soap_in_PointerTo_s0__RtMonStart(soap, NULL, NULL, "s0:RtMonStart");
case SOAP_TYPE_PointerTo_s0__XttStartResponse:
return soap_in_PointerTo_s0__XttStartResponse(soap, NULL, NULL, "s0:XttStartResponse");
case SOAP_TYPE_PointerTo_s0__XttStart:
......@@ -218,6 +222,14 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
return s ? *s : NULL;
}
t = soap->tag;
if (!soap_match_tag(soap, t, "s0:RtMonStartResponse"))
{ *type = SOAP_TYPE__s0__RtMonStartResponse;
return soap_in__s0__RtMonStartResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "s0:RtMonStart"))
{ *type = SOAP_TYPE__s0__RtMonStart;
return soap_in__s0__RtMonStart(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "s0:XttStartResponse"))
{ *type = SOAP_TYPE__s0__XttStartResponse;
return soap_in__s0__XttStartResponse(soap, NULL, NULL, NULL);
......@@ -325,6 +337,10 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, co
return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte");
case SOAP_TYPE_int:
return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
case SOAP_TYPE__s0__RtMonStartResponse:
return ((_s0__RtMonStartResponse *)ptr)->soap_out(soap, "s0:RtMonStartResponse", id, NULL);
case SOAP_TYPE__s0__RtMonStart:
return ((_s0__RtMonStart *)ptr)->soap_out(soap, "s0:RtMonStart", id, NULL);
case SOAP_TYPE__s0__XttStartResponse:
return ((_s0__XttStartResponse *)ptr)->soap_out(soap, "s0:XttStartResponse", id, NULL);
case SOAP_TYPE__s0__XttStart:
......@@ -349,6 +365,10 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, co
return ((xsd__int *)ptr)->soap_out(soap, tag, id, "xsd:int");
case SOAP_TYPE_xsd__anyType:
return ((xsd__anyType *)ptr)->soap_out(soap, tag, id, "xsd:anyType");
case SOAP_TYPE_PointerTo_s0__RtMonStartResponse:
return soap_out_PointerTo_s0__RtMonStartResponse(soap, tag, id, (_s0__RtMonStartResponse *const*)ptr, "s0:RtMonStartResponse");
case SOAP_TYPE_PointerTo_s0__RtMonStart:
return soap_out_PointerTo_s0__RtMonStart(soap, tag, id, (_s0__RtMonStart *const*)ptr, "s0:RtMonStart");
case SOAP_TYPE_PointerTo_s0__XttStartResponse:
return soap_out_PointerTo_s0__XttStartResponse(soap, tag, id, (_s0__XttStartResponse *const*)ptr, "s0:XttStartResponse");
case SOAP_TYPE_PointerTo_s0__XttStart:
......@@ -392,6 +412,12 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr,
(void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */
switch (type)
{
case SOAP_TYPE__s0__RtMonStartResponse:
((_s0__RtMonStartResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__s0__RtMonStart:
((_s0__RtMonStart *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__s0__XttStartResponse:
((_s0__XttStartResponse *)ptr)->soap_serialize(soap);
break;
......@@ -428,6 +454,9 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr,
case SOAP_TYPE_xsd__anyType:
((xsd__anyType *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE___s0__RtMonStart:
soap_serialize___s0__RtMonStart(soap, (const struct __s0__RtMonStart *)ptr);
break;
case SOAP_TYPE___s0__XttStart:
soap_serialize___s0__XttStart(soap, (const struct __s0__XttStart *)ptr);
break;
......@@ -440,6 +469,12 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr,
case SOAP_TYPE___s0__GetStatus:
soap_serialize___s0__GetStatus(soap, (const struct __s0__GetStatus *)ptr);
break;
case SOAP_TYPE_PointerTo_s0__RtMonStartResponse:
soap_serialize_PointerTo_s0__RtMonStartResponse(soap, (_s0__RtMonStartResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_s0__RtMonStart:
soap_serialize_PointerTo_s0__RtMonStart(soap, (_s0__RtMonStart *const*)ptr);
break;
case SOAP_TYPE_PointerTo_s0__XttStartResponse:
soap_serialize_PointerTo_s0__XttStartResponse(soap, (_s0__XttStartResponse *const*)ptr);
break;
......@@ -512,6 +547,10 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const ch
return (void*)soap_instantiate__s0__XttStart(soap, -1, type, arrayType, n);
case SOAP_TYPE__s0__XttStartResponse:
return (void*)soap_instantiate__s0__XttStartResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__s0__RtMonStart:
return (void*)soap_instantiate__s0__RtMonStart(soap, -1, type, arrayType, n);
case SOAP_TYPE__s0__RtMonStartResponse:
return (void*)soap_instantiate__s0__RtMonStartResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE___s0__GetStatus:
return (void*)soap_instantiate___s0__GetStatus(soap, -1, type, arrayType, n);
case SOAP_TYPE___s0__GetExtStatus:
......@@ -520,6 +559,8 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const ch
return (void*)soap_instantiate___s0__Restart(soap, -1, type, arrayType, n);
case SOAP_TYPE___s0__XttStart:
return (void*)soap_instantiate___s0__XttStart(soap, -1, type, arrayType, n);
case SOAP_TYPE___s0__RtMonStart:
return (void*)soap_instantiate___s0__RtMonStart(soap, -1, type, arrayType, n);
#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Header:
return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n);
......@@ -619,6 +660,18 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
else
delete[] (_s0__XttStartResponse*)p->ptr;
break;
case SOAP_TYPE__s0__RtMonStart:
if (p->size < 0)
delete (_s0__RtMonStart*)p->ptr;
else
delete[] (_s0__RtMonStart*)p->ptr;
break;
case SOAP_TYPE__s0__RtMonStartResponse:
if (p->size < 0)
delete (_s0__RtMonStartResponse*)p->ptr;
else
delete[] (_s0__RtMonStartResponse*)p->ptr;
break;
case SOAP_TYPE___s0__GetStatus:
if (p->size < 0)
delete (struct __s0__GetStatus*)p->ptr;
......@@ -643,6 +696,12 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
else
delete[] (struct __s0__XttStart*)p->ptr;
break;
case SOAP_TYPE___s0__RtMonStart:
if (p->size < 0)
delete (struct __s0__RtMonStart*)p->ptr;
else
delete[] (struct __s0__RtMonStart*)p->ptr;
break;
case SOAP_TYPE_SOAP_ENV__Header:
if (p->size < 0)
delete (struct SOAP_ENV__Header*)p->ptr;
......@@ -762,6 +821,327 @@ SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int
return soap_inint(soap, tag, a, type, SOAP_TYPE_int);
}
void _s0__RtMonStartResponse::soap_default(struct soap *soap)
{
this->soap = soap;
((_s0__RtMonStartResponse*)this)->ClientRequestHandle = NULL;
/* transient soap skipped */
}
void _s0__RtMonStartResponse::soap_serialize(struct soap *soap) const
{
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
}
int _s0__RtMonStartResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__s0__RtMonStartResponse);
if (this->soap_out(soap, tag, id, type))
return soap->error;
return soap_putindependent(soap);
}
int _s0__RtMonStartResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__s0__RtMonStartResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__s0__RtMonStartResponse(struct soap *soap, const char *tag, int id, const _s0__RtMonStartResponse *a, const char *type)
{
if (((_s0__RtMonStartResponse *)a)->ClientRequestHandle)
soap_set_attr(soap, "ClientRequestHandle", ((_s0__RtMonStartResponse *)a)->ClientRequestHandle->c_str());
soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__s0__RtMonStartResponse), type);
/* transient soap skipped */
soap_element_end_out(soap, tag);
return SOAP_OK;
}
void *_s0__RtMonStartResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__s0__RtMonStartResponse(soap, this, tag, type);
}
SOAP_FMAC3 _s0__RtMonStartResponse * SOAP_FMAC4 soap_get__s0__RtMonStartResponse(struct soap *soap, _s0__RtMonStartResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__s0__RtMonStartResponse(soap, tag, p, type)))
soap_getindependent(soap);
return p;
}
void *_s0__RtMonStartResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__s0__RtMonStartResponse(soap, tag, this, type);
}
SOAP_FMAC3 _s0__RtMonStartResponse * SOAP_FMAC4 soap_in__s0__RtMonStartResponse(struct soap *soap, const char *tag, _s0__RtMonStartResponse *a, const char *type)
{
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_s0__RtMonStartResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__s0__RtMonStartResponse, sizeof(_s0__RtMonStartResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__s0__RtMonStartResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_s0__RtMonStartResponse *)a->soap_in(soap, tag, type);
}
}
{ const char *t = soap_attr_value(soap, "ClientRequestHandle", 0);
if (t)
{ if (!(((_s0__RtMonStartResponse *)a)->ClientRequestHandle = (std::string *)soap_malloc(soap, sizeof(std::string))))
{ soap->error = SOAP_EOM;
return NULL;
}
char *s;
if (soap_s2string(soap, t, &s))
return NULL;
if (s)
{ ((_s0__RtMonStartResponse *)a)->ClientRequestHandle = soap_new_std__string(soap, -1);
((_s0__RtMonStartResponse *)a)->ClientRequestHandle->assign(s);
}
}
};
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
/* transient soap skipped */
if (soap->error == SOAP_TAG_MISMATCH)
soap->error = soap_ignore_element(soap);
if (soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
if (soap_element_end_in(soap, tag))
return NULL;
}
else
{ a = (_s0__RtMonStartResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__s0__RtMonStartResponse, 0, sizeof(_s0__RtMonStartResponse), 0, soap_copy__s0__RtMonStartResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC5 _s0__RtMonStartResponse * SOAP_FMAC6 soap_new__s0__RtMonStartResponse(struct soap *soap, int n)
{ return soap_instantiate__s0__RtMonStartResponse(soap, n, NULL, NULL, NULL);
}
SOAP_FMAC5 void SOAP_FMAC6 soap_delete__s0__RtMonStartResponse(struct soap *soap, _s0__RtMonStartResponse *p)
{ soap_delete(soap, p);
}
SOAP_FMAC3 _s0__RtMonStartResponse * SOAP_FMAC4 soap_instantiate__s0__RtMonStartResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__s0__RtMonStartResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__s0__RtMonStartResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)new _s0__RtMonStartResponse;
if (size)
*size = sizeof(_s0__RtMonStartResponse);
((_s0__RtMonStartResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)new _s0__RtMonStartResponse[n];
if (!cp->ptr)
{ soap->error = SOAP_EOM;
return NULL;
}
if (size)
*size = n * sizeof(_s0__RtMonStartResponse);
for (int i = 0; i < n; i++)
((_s0__RtMonStartResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (_s0__RtMonStartResponse*)cp->ptr;
}
#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__s0__RtMonStartResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _s0__RtMonStartResponse %p -> %p\n", q, p));
*(_s0__RtMonStartResponse*)p = *(_s0__RtMonStartResponse*)q;
}
#ifdef __cplusplus
}
#endif
void _s0__RtMonStart::soap_default(struct soap *soap)
{
this->soap = soap;
((_s0__RtMonStart*)this)->Language = NULL;
((_s0__RtMonStart*)this)->Display = NULL;
((_s0__RtMonStart*)this)->ClientRequestHandle = NULL;
/* transient soap skipped */
}
void _s0__RtMonStart::soap_serialize(struct soap *soap) const
{
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &((_s0__RtMonStart*)this)->Language);
soap_serialize_PointerTostd__string(soap, &((_s0__RtMonStart*)this)->Display);
/* transient soap skipped */
}
int _s0__RtMonStart::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__s0__RtMonStart);
if (this->soap_out(soap, tag, id, type))
return soap->error;
return soap_putindependent(soap);
}
int _s0__RtMonStart::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__s0__RtMonStart(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__s0__RtMonStart(struct soap *soap, const char *tag, int id, const _s0__RtMonStart *a, const char *type)
{
if (((_s0__RtMonStart *)a)->ClientRequestHandle)
soap_set_attr(soap, "ClientRequestHandle", ((_s0__RtMonStart *)a)->ClientRequestHandle->c_str());
soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__s0__RtMonStart), type);
soap_out_PointerTostd__string(soap, "s0:Language", -1, &(((_s0__RtMonStart*)a)->Language), "");
soap_out_PointerTostd__string(soap, "s0:Display", -1, &(((_s0__RtMonStart*)a)->Display), "");
/* transient soap skipped */
soap_element_end_out(soap, tag);
return SOAP_OK;
}
void *_s0__RtMonStart::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__s0__RtMonStart(soap, this, tag, type);
}
SOAP_FMAC3 _s0__RtMonStart * SOAP_FMAC4 soap_get__s0__RtMonStart(struct soap *soap, _s0__RtMonStart *p, const char *tag, const char *type)
{
if ((p = soap_in__s0__RtMonStart(soap, tag, p, type)))
soap_getindependent(soap);
return p;
}
void *_s0__RtMonStart::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__s0__RtMonStart(soap, tag, this, type);
}
SOAP_FMAC3 _s0__RtMonStart * SOAP_FMAC4 soap_in__s0__RtMonStart(struct soap *soap, const char *tag, _s0__RtMonStart *a, const char *type)
{
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_s0__RtMonStart *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__s0__RtMonStart, sizeof(_s0__RtMonStart), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__s0__RtMonStart)
{ soap_revert(soap);
*soap->id = '\0';
return (_s0__RtMonStart *)a->soap_in(soap, tag, type);
}
}
{ const char *t = soap_attr_value(soap, "ClientRequestHandle", 0);
if (t)
{ if (!(((_s0__RtMonStart *)a)->ClientRequestHandle = (std::string *)soap_malloc(soap, sizeof(std::string))))
{ soap->error = SOAP_EOM;
return NULL;
}
char *s;
if (soap_s2string(soap, t, &s))
return NULL;
if (s)
{ ((_s0__RtMonStart *)a)->ClientRequestHandle = soap_new_std__string(soap, -1);
((_s0__RtMonStart *)a)->ClientRequestHandle->assign(s);
}
}
}
short soap_flag_Language1 = 1, soap_flag_Display1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_Language1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "s0:Language", &(((_s0__RtMonStart*)a)->Language), "xsd:string"))
{ soap_flag_Language1--;
continue;
}
if (soap_flag_Display1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "s0:Display", &(((_s0__RtMonStart*)a)->Display), "xsd:string"))
{ soap_flag_Display1--;
continue;
}
/* transient soap skipped */
if (soap->error == SOAP_TAG_MISMATCH)
soap->error = soap_ignore_element(soap);
if (soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
if (soap_element_end_in(soap, tag))
return NULL;
}
else
{ a = (_s0__RtMonStart *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__s0__RtMonStart, 0, sizeof(_s0__RtMonStart), 0, soap_copy__s0__RtMonStart);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC5 _s0__RtMonStart * SOAP_FMAC6 soap_new__s0__RtMonStart(struct soap *soap, int n)
{ return soap_instantiate__s0__RtMonStart(soap, n, NULL, NULL, NULL);
}
SOAP_FMAC5 void SOAP_FMAC6 soap_delete__s0__RtMonStart(struct soap *soap, _s0__RtMonStart *p)
{ soap_delete(soap, p);
}
SOAP_FMAC3 _s0__RtMonStart * SOAP_FMAC4 soap_instantiate__s0__RtMonStart(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__s0__RtMonStart(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__s0__RtMonStart, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)new _s0__RtMonStart;
if (size)
*size = sizeof(_s0__RtMonStart);
((_s0__RtMonStart*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)new _s0__RtMonStart[n];
if (!cp->ptr)
{ soap->error = SOAP_EOM;
return NULL;
}
if (size)
*size = n * sizeof(_s0__RtMonStart);
for (int i = 0; i < n; i++)
((_s0__RtMonStart*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (_s0__RtMonStart*)cp->ptr;
}
#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__s0__RtMonStart(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _s0__RtMonStart %p -> %p\n", q, p));
*(_s0__RtMonStart*)p = *(_s0__RtMonStart*)q;
}
#ifdef __cplusplus
}
#endif
void _s0__XttStartResponse::soap_default(struct soap *soap)
{
this->soap = soap;
......@@ -4367,6 +4747,112 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap *soap, int st,
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_default___s0__RtMonStart(struct soap *soap, struct __s0__RtMonStart *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->s0__RtMonStart = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___s0__RtMonStart(struct soap *soap, const struct __s0__RtMonStart *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_s0__RtMonStart(soap, &a->s0__RtMonStart);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___s0__RtMonStart(struct soap *soap, const struct __s0__RtMonStart *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___s0__RtMonStart(soap, tag, id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___s0__RtMonStart(struct soap *soap, const char *tag, int id, const struct __s0__RtMonStart *a, const char *type)
{
soap_out_PointerTo_s0__RtMonStart(soap, "s0:RtMonStart", -1, &a->s0__RtMonStart, "");
return SOAP_OK;
}
SOAP_FMAC3 struct __s0__RtMonStart * SOAP_FMAC4 soap_get___s0__RtMonStart(struct soap *soap, struct __s0__RtMonStart *p, const char *tag, const char *type)
{
if ((p = soap_in___s0__RtMonStart(soap, tag, p, type)))
soap_getindependent(soap);
return p;
}
SOAP_FMAC3 struct __s0__RtMonStart * SOAP_FMAC4 soap_in___s0__RtMonStart(struct soap *soap, const char *tag, struct __s0__RtMonStart *a, const char *type)
{
short soap_flag_s0__RtMonStart = 1;
int soap_flag;
a = (struct __s0__RtMonStart *)soap_id_enter(soap, soap->id, a, SOAP_TYPE___s0__RtMonStart, sizeof(struct __s0__RtMonStart), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___s0__RtMonStart(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_s0__RtMonStart && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_s0__RtMonStart(soap, "s0:RtMonStart", &a->s0__RtMonStart, ""))
{ soap_flag_s0__RtMonStart--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{
soap->error = SOAP_OK;
break;
}
if (soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC5 struct __s0__RtMonStart * SOAP_FMAC6 soap_new___s0__RtMonStart(struct soap *soap, int n)
{ return soap_instantiate___s0__RtMonStart(soap, n, NULL, NULL, NULL);
}
SOAP_FMAC5 void SOAP_FMAC6 soap_delete___s0__RtMonStart(struct soap *soap, struct __s0__RtMonStart *p)
{ soap_delete(soap, p);
}
SOAP_FMAC3 struct __s0__RtMonStart * SOAP_FMAC4 soap_instantiate___s0__RtMonStart(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___s0__RtMonStart(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___s0__RtMonStart, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)new struct __s0__RtMonStart;
if (size)
*size = sizeof(struct __s0__RtMonStart);
}
else
{ cp->ptr = (void*)new struct __s0__RtMonStart[n];
if (!cp->ptr)
{ soap->error = SOAP_EOM;
return NULL;
}
if (size)
*size = n * sizeof(struct __s0__RtMonStart);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct __s0__RtMonStart*)cp->ptr;
}
#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___s0__RtMonStart(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __s0__RtMonStart %p -> %p\n", q, p));
*(struct __s0__RtMonStart*)p = *(struct __s0__RtMonStart*)q;
}
#ifdef __cplusplus
}
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_default___s0__XttStart(struct soap *soap, struct __s0__XttStart *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
......@@ -4953,6 +5439,112 @@ SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(s
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__RtMonStartResponse(struct soap *soap, _s0__RtMonStartResponse *const*a)
{
if (!soap_reference(soap, *a, SOAP_TYPE__s0__RtMonStartResponse))
(*a)->soap_serialize(soap);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_s0__RtMonStartResponse(struct soap *soap, _s0__RtMonStartResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_s0__RtMonStartResponse);
if (soap_out_PointerTo_s0__RtMonStartResponse(soap, tag, id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_s0__RtMonStartResponse(struct soap *soap, const char *tag, int id, _s0__RtMonStartResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__s0__RtMonStartResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _s0__RtMonStartResponse ** SOAP_FMAC4 soap_get_PointerTo_s0__RtMonStartResponse(struct soap *soap, _s0__RtMonStartResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_s0__RtMonStartResponse(soap, tag, p, type)))
soap_getindependent(soap);
return p;
}
SOAP_FMAC3 _s0__RtMonStartResponse ** SOAP_FMAC4 soap_in_PointerTo_s0__RtMonStartResponse(struct soap *soap, const char *tag, _s0__RtMonStartResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_s0__RtMonStartResponse **)soap_malloc(soap, sizeof(_s0__RtMonStartResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_s0__RtMonStartResponse *)soap_instantiate__s0__RtMonStartResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ a = (_s0__RtMonStartResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__s0__RtMonStartResponse, sizeof(_s0__RtMonStartResponse), 0);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__RtMonStart(struct soap *soap, _s0__RtMonStart *const*a)
{
if (!soap_reference(soap, *a, SOAP_TYPE__s0__RtMonStart))
(*a)->soap_serialize(soap);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_s0__RtMonStart(struct soap *soap, _s0__RtMonStart *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_s0__RtMonStart);
if (soap_out_PointerTo_s0__RtMonStart(soap, tag, id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_s0__RtMonStart(struct soap *soap, const char *tag, int id, _s0__RtMonStart *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__s0__RtMonStart);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _s0__RtMonStart ** SOAP_FMAC4 soap_get_PointerTo_s0__RtMonStart(struct soap *soap, _s0__RtMonStart **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_s0__RtMonStart(soap, tag, p, type)))
soap_getindependent(soap);
return p;
}
SOAP_FMAC3 _s0__RtMonStart ** SOAP_FMAC4 soap_in_PointerTo_s0__RtMonStart(struct soap *soap, const char *tag, _s0__RtMonStart **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_s0__RtMonStart **)soap_malloc(soap, sizeof(_s0__RtMonStart *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_s0__RtMonStart *)soap_instantiate__s0__RtMonStart(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ a = (_s0__RtMonStart **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__s0__RtMonStart, sizeof(_s0__RtMonStart), 0);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__XttStartResponse(struct soap *soap, _s0__XttStartResponse *const*a)
{
if (!soap_reference(soap, *a, SOAP_TYPE__s0__XttStartResponse))
......
......@@ -6,7 +6,7 @@
*/
#include "statussrv_H.h"
SOAP_SOURCE_STAMP("@(#) statussrv_Client.cpp ver 2.7.9d 2007-05-21 09:05:52 GMT")
SOAP_SOURCE_STAMP("@(#) statussrv_Client.cpp ver 2.7.9d 2007-05-25 06:59:31 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)
......@@ -217,4 +217,56 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__XttStart(struct soap *soap, const char
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__RtMonStart(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse)
{ struct __s0__RtMonStart soap_tmp___s0__RtMonStart;
if (!soap_action)
soap_action = "s0:RtMonStart";
soap->encodingStyle = NULL;
soap_tmp___s0__RtMonStart.s0__RtMonStart = s0__RtMonStart;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__RtMonStart(soap, &soap_tmp___s0__RtMonStart);
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__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", "")
|| 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__RtMonStart(soap, &soap_tmp___s0__RtMonStart, "-s0:RtMonStart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__RtMonStartResponse)
return soap_closesock(soap);
s0__RtMonStartResponse->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__RtMonStartResponse->soap_get(soap, "s0:RtMonStartResponse", "");
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 */
......@@ -51,6 +51,42 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int
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__RtMonStartResponse
#define SOAP_TYPE__s0__RtMonStartResponse (22)
#endif
SOAP_FMAC3 int SOAP_FMAC4 soap_out__s0__RtMonStartResponse(struct soap*, const char*, int, const _s0__RtMonStartResponse *, const char*);
SOAP_FMAC3 _s0__RtMonStartResponse * SOAP_FMAC4 soap_get__s0__RtMonStartResponse(struct soap*, _s0__RtMonStartResponse *, const char*, const char*);
SOAP_FMAC3 _s0__RtMonStartResponse * SOAP_FMAC4 soap_in__s0__RtMonStartResponse(struct soap*, const char*, _s0__RtMonStartResponse *, const char*);
SOAP_FMAC5 _s0__RtMonStartResponse * SOAP_FMAC6 soap_new__s0__RtMonStartResponse(struct soap*, int);
SOAP_FMAC5 void SOAP_FMAC6 soap_delete__s0__RtMonStartResponse(struct soap*, _s0__RtMonStartResponse*);
SOAP_FMAC3 _s0__RtMonStartResponse * SOAP_FMAC4 soap_instantiate__s0__RtMonStartResponse(struct soap*, int, const char*, const char*, size_t*);
#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__s0__RtMonStartResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__RtMonStart
#define SOAP_TYPE__s0__RtMonStart (21)
#endif
SOAP_FMAC3 int SOAP_FMAC4 soap_out__s0__RtMonStart(struct soap*, const char*, int, const _s0__RtMonStart *, const char*);
SOAP_FMAC3 _s0__RtMonStart * SOAP_FMAC4 soap_get__s0__RtMonStart(struct soap*, _s0__RtMonStart *, const char*, const char*);
SOAP_FMAC3 _s0__RtMonStart * SOAP_FMAC4 soap_in__s0__RtMonStart(struct soap*, const char*, _s0__RtMonStart *, const char*);
SOAP_FMAC5 _s0__RtMonStart * SOAP_FMAC6 soap_new__s0__RtMonStart(struct soap*, int);
SOAP_FMAC5 void SOAP_FMAC6 soap_delete__s0__RtMonStart(struct soap*, _s0__RtMonStart*);
SOAP_FMAC3 _s0__RtMonStart * SOAP_FMAC4 soap_instantiate__s0__RtMonStart(struct soap*, int, const char*, const char*, size_t*);
#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__s0__RtMonStart(struct soap*, int, int, void*, size_t, const void*, size_t);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE__s0__XttStartResponse
#define SOAP_TYPE__s0__XttStartResponse (20)
#endif
......@@ -272,7 +308,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_xsd__anyType(struct soap*, int, int, void*,
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (46)
#define SOAP_TYPE_SOAP_ENV__Fault (52)
#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 *);
......@@ -296,7 +332,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Fault(struct soap*, int, int, voi
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (45)
#define SOAP_TYPE_SOAP_ENV__Reason (51)
#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 *);
......@@ -320,7 +356,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap*, int, int, vo
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (44)
#define SOAP_TYPE_SOAP_ENV__Detail (50)
#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 *);
......@@ -344,7 +380,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Detail(struct soap*, int, int, vo
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (42)
#define SOAP_TYPE_SOAP_ENV__Code (48)
#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 *);
......@@ -368,7 +404,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Code(struct soap*, int, int, void
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (41)
#define SOAP_TYPE_SOAP_ENV__Header (47)
#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 *);
......@@ -389,8 +425,28 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap*, int, int, vo
#endif
#ifndef SOAP_TYPE___s0__RtMonStart
#define SOAP_TYPE___s0__RtMonStart (44)
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_default___s0__RtMonStart(struct soap*, struct __s0__RtMonStart *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___s0__RtMonStart(struct soap*, const struct __s0__RtMonStart *);
SOAP_FMAC3 int SOAP_FMAC4 soap_put___s0__RtMonStart(struct soap*, const struct __s0__RtMonStart *, const char*, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___s0__RtMonStart(struct soap*, const char*, int, const struct __s0__RtMonStart *, const char*);
SOAP_FMAC3 struct __s0__RtMonStart * SOAP_FMAC4 soap_get___s0__RtMonStart(struct soap*, struct __s0__RtMonStart *, const char*, const char*);
SOAP_FMAC3 struct __s0__RtMonStart * SOAP_FMAC4 soap_in___s0__RtMonStart(struct soap*, const char*, struct __s0__RtMonStart *, const char*);
SOAP_FMAC5 struct __s0__RtMonStart * SOAP_FMAC6 soap_new___s0__RtMonStart(struct soap*, int);
SOAP_FMAC5 void SOAP_FMAC6 soap_delete___s0__RtMonStart(struct soap*, struct __s0__RtMonStart*);
SOAP_FMAC3 struct __s0__RtMonStart * SOAP_FMAC4 soap_instantiate___s0__RtMonStart(struct soap*, int, const char*, const char*, size_t*);
#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___s0__RtMonStart(struct soap*, int, int, void*, size_t, const void*, size_t);
#ifdef __cplusplus
}
#endif
#ifndef SOAP_TYPE___s0__XttStart
#define SOAP_TYPE___s0__XttStart (38)
#define SOAP_TYPE___s0__XttStart (40)
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_default___s0__XttStart(struct soap*, struct __s0__XttStart *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___s0__XttStart(struct soap*, const struct __s0__XttStart *);
......@@ -410,7 +466,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy___s0__XttStart(struct soap*, int, int, void
#endif
#ifndef SOAP_TYPE___s0__Restart
#define SOAP_TYPE___s0__Restart (34)
#define SOAP_TYPE___s0__Restart (36)
#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 *);
......@@ -430,7 +486,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy___s0__Restart(struct soap*, int, int, void*
#endif
#ifndef SOAP_TYPE___s0__GetExtStatus
#define SOAP_TYPE___s0__GetExtStatus (30)
#define SOAP_TYPE___s0__GetExtStatus (32)
#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 *);
......@@ -450,7 +506,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy___s0__GetExtStatus(struct soap*, int, int,
#endif
#ifndef SOAP_TYPE___s0__GetStatus
#define SOAP_TYPE___s0__GetStatus (26)
#define SOAP_TYPE___s0__GetStatus (28)
#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 *);
......@@ -472,7 +528,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy___s0__GetStatus(struct soap*, int, int, voi
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (48)
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (54)
#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*);
......@@ -485,7 +541,7 @@ SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reas
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (47)
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (53)
#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*);
......@@ -498,7 +554,7 @@ SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Deta
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
#define SOAP_TYPE_PointerToSOAP_ENV__Code (43)
#define SOAP_TYPE_PointerToSOAP_ENV__Code (49)
#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*);
......@@ -508,8 +564,26 @@ SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(s
#endif
#ifndef SOAP_TYPE_PointerTo_s0__RtMonStartResponse
#define SOAP_TYPE_PointerTo_s0__RtMonStartResponse (42)
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__RtMonStartResponse(struct soap*, _s0__RtMonStartResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_s0__RtMonStartResponse(struct soap*, _s0__RtMonStartResponse *const*, const char*, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_s0__RtMonStartResponse(struct soap*, const char *, int, _s0__RtMonStartResponse *const*, const char *);
SOAP_FMAC3 _s0__RtMonStartResponse ** SOAP_FMAC4 soap_get_PointerTo_s0__RtMonStartResponse(struct soap*, _s0__RtMonStartResponse **, const char*, const char*);
SOAP_FMAC3 _s0__RtMonStartResponse ** SOAP_FMAC4 soap_in_PointerTo_s0__RtMonStartResponse(struct soap*, const char*, _s0__RtMonStartResponse **, const char*);
#ifndef SOAP_TYPE_PointerTo_s0__RtMonStart
#define SOAP_TYPE_PointerTo_s0__RtMonStart (41)
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__RtMonStart(struct soap*, _s0__RtMonStart *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_s0__RtMonStart(struct soap*, _s0__RtMonStart *const*, const char*, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_s0__RtMonStart(struct soap*, const char *, int, _s0__RtMonStart *const*, const char *);
SOAP_FMAC3 _s0__RtMonStart ** SOAP_FMAC4 soap_get_PointerTo_s0__RtMonStart(struct soap*, _s0__RtMonStart **, const char*, const char*);
SOAP_FMAC3 _s0__RtMonStart ** SOAP_FMAC4 soap_in_PointerTo_s0__RtMonStart(struct soap*, const char*, _s0__RtMonStart **, const char*);
#ifndef SOAP_TYPE_PointerTo_s0__XttStartResponse
#define SOAP_TYPE_PointerTo_s0__XttStartResponse (36)
#define SOAP_TYPE_PointerTo_s0__XttStartResponse (38)
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__XttStartResponse(struct soap*, _s0__XttStartResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_s0__XttStartResponse(struct soap*, _s0__XttStartResponse *const*, const char*, const char*);
......@@ -518,7 +592,7 @@ SOAP_FMAC3 _s0__XttStartResponse ** SOAP_FMAC4 soap_get_PointerTo_s0__XttStartRe
SOAP_FMAC3 _s0__XttStartResponse ** SOAP_FMAC4 soap_in_PointerTo_s0__XttStartResponse(struct soap*, const char*, _s0__XttStartResponse **, const char*);
#ifndef SOAP_TYPE_PointerTo_s0__XttStart
#define SOAP_TYPE_PointerTo_s0__XttStart (35)
#define SOAP_TYPE_PointerTo_s0__XttStart (37)
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_s0__XttStart(struct soap*, _s0__XttStart *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_s0__XttStart(struct soap*, _s0__XttStart *const*, const char*, const char*);
......@@ -527,7 +601,7 @@ SOAP_FMAC3 _s0__XttStart ** SOAP_FMAC4 soap_get_PointerTo_s0__XttStart(struct so
SOAP_FMAC3 _s0__XttStart ** SOAP_FMAC4 soap_in_PointerTo_s0__XttStart(struct soap*, const char*, _s0__XttStart **, const char*);
#ifndef SOAP_TYPE_PointerTo_s0__RestartResponse
#define SOAP_TYPE_PointerTo_s0__RestartResponse (32)
#define SOAP_TYPE_PointerTo_s0__RestartResponse (34)
#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*);
......@@ -536,7 +610,7 @@ SOAP_FMAC3 _s0__RestartResponse ** SOAP_FMAC4 soap_get_PointerTo_s0__RestartResp
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 (31)
#define SOAP_TYPE_PointerTo_s0__Restart (33)
#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*);
......@@ -545,7 +619,7 @@ SOAP_FMAC3 _s0__Restart ** SOAP_FMAC4 soap_get_PointerTo_s0__Restart(struct soap
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 (28)
#define SOAP_TYPE_PointerTo_s0__GetExtStatusResponse (30)
#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*);
......@@ -554,7 +628,7 @@ SOAP_FMAC3 _s0__GetExtStatusResponse ** SOAP_FMAC4 soap_get_PointerTo_s0__GetExt
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 (27)
#define SOAP_TYPE_PointerTo_s0__GetExtStatus (29)
#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*);
......@@ -563,7 +637,7 @@ SOAP_FMAC3 _s0__GetExtStatus ** SOAP_FMAC4 soap_get_PointerTo_s0__GetExtStatus(s
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 (24)
#define SOAP_TYPE_PointerTo_s0__GetStatusResponse (26)
#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*);
......@@ -572,7 +646,7 @@ SOAP_FMAC3 _s0__GetStatusResponse ** SOAP_FMAC4 soap_get_PointerTo_s0__GetStatus
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 (23)
#define SOAP_TYPE_PointerTo_s0__GetStatus (25)
#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*);
......@@ -581,7 +655,7 @@ SOAP_FMAC3 _s0__GetStatus ** SOAP_FMAC4 soap_get_PointerTo_s0__GetStatus(struct
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 (22)
#define SOAP_TYPE_PointerToint (24)
#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*);
......@@ -590,7 +664,7 @@ SOAP_FMAC3 int ** SOAP_FMAC4 soap_get_PointerToint(struct soap*, int **, const c
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 (21)
#define SOAP_TYPE_PointerTostd__string (23)
#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*);
......
......@@ -49,4 +49,6 @@ SOAP_FMAC5 int SOAP_FMAC6 __s0__Restart(struct soap*, _s0__Restart *s0__Restart,
SOAP_FMAC5 int SOAP_FMAC6 __s0__XttStart(struct soap*, _s0__XttStart *s0__XttStart, _s0__XttStartResponse *s0__XttStartResponse);
SOAP_FMAC5 int SOAP_FMAC6 __s0__RtMonStart(struct soap*, _s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse);
#endif
......@@ -28,5 +28,6 @@ class Service
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; };
virtual int __s0__XttStart(_s0__XttStart *s0__XttStart, _s0__XttStartResponse *s0__XttStartResponse) { return soap ? soap_call___s0__XttStart(soap, endpoint, NULL, s0__XttStart, s0__XttStartResponse) : SOAP_EOM; };
virtual int __s0__RtMonStart(_s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse) { return soap ? soap_call___s0__RtMonStart(soap, endpoint, NULL, s0__RtMonStart, s0__RtMonStartResponse) : SOAP_EOM; };
};
#endif
......@@ -400,8 +400,52 @@ public:
};
#endif
#ifndef SOAP_TYPE__s0__RtMonStart
#define SOAP_TYPE__s0__RtMonStart (21)
/* s0:RtMonStart */
class SOAP_CMAC _s0__RtMonStart
{
public:
std::string *Language; /* optional element of type xsd:string */
std::string *Display; /* optional element of type xsd:string */
std::string *ClientRequestHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 21; } /* = unique id SOAP_TYPE__s0__RtMonStart */
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__RtMonStart() : Language(NULL), Display(NULL), ClientRequestHandle(NULL), soap(NULL) { }
virtual ~_s0__RtMonStart() { }
};
#endif
#ifndef SOAP_TYPE__s0__RtMonStartResponse
#define SOAP_TYPE__s0__RtMonStartResponse (22)
/* s0:RtMonStartResponse */
class SOAP_CMAC _s0__RtMonStartResponse
{
public:
std::string *ClientRequestHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 22; } /* = unique id SOAP_TYPE__s0__RtMonStartResponse */
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__RtMonStartResponse() : ClientRequestHandle(NULL), soap(NULL) { }
virtual ~_s0__RtMonStartResponse() { }
};
#endif
#ifndef SOAP_TYPE___s0__GetStatus
#define SOAP_TYPE___s0__GetStatus (26)
#define SOAP_TYPE___s0__GetStatus (28)
/* Operation wrapper: */
struct __s0__GetStatus
{
......@@ -411,7 +455,7 @@ public:
#endif
#ifndef SOAP_TYPE___s0__GetExtStatus
#define SOAP_TYPE___s0__GetExtStatus (30)
#define SOAP_TYPE___s0__GetExtStatus (32)
/* Operation wrapper: */
struct __s0__GetExtStatus
{
......@@ -421,7 +465,7 @@ public:
#endif
#ifndef SOAP_TYPE___s0__Restart
#define SOAP_TYPE___s0__Restart (34)
#define SOAP_TYPE___s0__Restart (36)
/* Operation wrapper: */
struct __s0__Restart
{
......@@ -431,7 +475,7 @@ public:
#endif
#ifndef SOAP_TYPE___s0__XttStart
#define SOAP_TYPE___s0__XttStart (38)
#define SOAP_TYPE___s0__XttStart (40)
/* Operation wrapper: */
struct __s0__XttStart
{
......@@ -440,8 +484,18 @@ public:
};
#endif
#ifndef SOAP_TYPE___s0__RtMonStart
#define SOAP_TYPE___s0__RtMonStart (44)
/* Operation wrapper: */
struct __s0__RtMonStart
{
public:
_s0__RtMonStart *s0__RtMonStart; /* optional element of type s0:RtMonStart */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (41)
#define SOAP_TYPE_SOAP_ENV__Header (47)
/* SOAP Header: */
struct SOAP_ENV__Header
{
......@@ -451,7 +505,7 @@ public:
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (42)
#define SOAP_TYPE_SOAP_ENV__Code (48)
/* SOAP Fault Code: */
struct SOAP_ENV__Code
{
......@@ -462,7 +516,7 @@ public:
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (44)
#define SOAP_TYPE_SOAP_ENV__Detail (50)
/* SOAP-ENV:Detail */
struct SOAP_ENV__Detail
{
......@@ -474,7 +528,7 @@ public:
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (45)
#define SOAP_TYPE_SOAP_ENV__Reason (51)
/* SOAP-ENV:Reason */
struct SOAP_ENV__Reason
{
......@@ -484,7 +538,7 @@ public:
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (46)
#define SOAP_TYPE_SOAP_ENV__Fault (52)
/* SOAP Fault: */
struct SOAP_ENV__Fault
{
......@@ -554,6 +608,8 @@ SOAP_FMAC5 int SOAP_FMAC6 __s0__Restart(struct soap*, _s0__Restart *s0__Restart,
SOAP_FMAC5 int SOAP_FMAC6 __s0__XttStart(struct soap*, _s0__XttStart *s0__XttStart, _s0__XttStartResponse *s0__XttStartResponse);
SOAP_FMAC5 int SOAP_FMAC6 __s0__RtMonStart(struct soap*, _s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse);
/******************************************************************************\
* *
* Stubs *
......@@ -569,6 +625,8 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__Restart(struct soap *soap, const char
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__XttStart(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__XttStart *s0__XttStart, _s0__XttStartResponse *s0__XttStartResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__RtMonStart(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__RtMonStart *s0__RtMonStart, _s0__RtMonStartResponse *s0__RtMonStartResponse);
/******************************************************************************\
* *
* Skeletons *
......@@ -587,6 +645,8 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__Restart(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__XttStart(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__RtMonStart(struct soap*);
#endif
/* End of statussrv_Stub.h */
/* statussrv_msg.h
Generated by wsdl2h 1.2.9d from statussrv.wsdl and typemap.dat
2007-05-21 09:05:43 GMT
2007-05-25 06:59:12 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.
......@@ -108,6 +108,12 @@ class _s0__XttStart;
// Forward declaration of class _s0__XttStartResponse.
class _s0__XttStartResponse;
// Forward declaration of class _s0__RtMonStart.
class _s0__RtMonStart;
// Forward declaration of class _s0__RtMonStartResponse.
class _s0__RtMonStartResponse;
/// Element "http://www.proview.se/webservices/statussrv/1.0/":GetStatus of complexType.
......@@ -486,6 +492,34 @@ class _s0__XttStartResponse
struct soap *soap ;
};
/// Element "http://www.proview.se/webservices/statussrv/1.0/":RtMonStart of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":RtMonStart is a complexType.
class _s0__RtMonStart
{ public:
/// Element Language of type xs:string.
std::string* Language 0; ///< Optional element.
/// Element Display of type xs:string.
std::string* Display 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/":RtMonStartResponse of complexType.
/// "http://www.proview.se/webservices/statussrv/1.0/":RtMonStartResponse is a complexType.
class _s0__RtMonStartResponse
{ 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 *
......@@ -514,6 +548,7 @@ class _s0__XttStartResponse
- @ref __s0__GetExtStatus
- @ref __s0__Restart
- @ref __s0__XttStart
- @ref __s0__RtMonStart
@section Service_ports Endpoints of Binding "Service"
......@@ -738,4 +773,57 @@ int __s0__XttStart(
_s0__XttStartResponse* s0__XttStartResponse ///< Response parameter
);
/******************************************************************************\
* *
* __s0__RtMonStart *
* *
\******************************************************************************/
/// Operation "__s0__RtMonStart" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="s0:RtMonStart"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___s0__RtMonStart(
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__RtMonStart* s0__RtMonStart,
// response parameters:
_s0__RtMonStartResponse* s0__RtMonStartResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __s0__RtMonStart(
struct soap *soap,
// request parameters:
_s0__RtMonStart* s0__RtMonStart,
// response parameters:
_s0__RtMonStartResponse* s0__RtMonStartResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap s0 service method-style: RtMonStart document
//gsoap s0 service method-encoding: RtMonStart literal
//gsoap s0 service method-action: RtMonStart s0:RtMonStart
int __s0__RtMonStart(
_s0__RtMonStart* s0__RtMonStart, ///< Request parameter
_s0__RtMonStartResponse* s0__RtMonStartResponse ///< Response parameter
);
/* End of statussrv_msg.h */
......@@ -408,3 +408,36 @@ pwr_tStatus statussrv_XttStart( char *nodename, char *opplace, char *lang, char
return sts;
}
pwr_tStatus statussrv_RtMonStart( char *nodename, char *lang, char *display)
{
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__RtMonStart rtmon_start;
_s0__RtMonStartResponse rtmon_start_response;
rtmon_start.ClientRequestHandle = new std::string("StatusSrv Client");
if ( lang && strcmp( lang, "") != 0)
rtmon_start.Language = new std::string(lang);
if ( display && strcmp( display, "") != 0)
rtmon_start.Display = new std::string(display);
if ( soap_call___s0__RtMonStart( &soap, endpoint, NULL, &rtmon_start, &rtmon_start_response) ==
SOAP_OK) {
}
else {
sts = PWR__SRVCONNECTION;
}
soap_destroy( &soap);
soap_end( &soap);
return sts;
}
/**
* Proview $Id: statussrv_utl.h,v 1.2 2007-05-21 14:20:04 claes Exp $
* Proview $Id: statussrv_utl.h,v 1.3 2007-05-25 13:38:07 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -55,6 +55,7 @@ pwr_tStatus statussrv_GetStatus( char *nodename, statussrv_sGetStatus *result);
pwr_tStatus statussrv_GetExtStatus( char *nodename, statussrv_sGetExtStatus *result);
pwr_tStatus statussrv_Restart( char *nodename);
pwr_tStatus statussrv_XttStart( char *nodename, char *opplace, char *lang, char *display);
pwr_tStatus statussrv_RtMonStart( char *nodename, char *lang, char *display);
#ifdef __cplusplus
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment