Commit 208e8111 authored by claes's avatar claes

New opc module

parent cd3e9542
/*
* Proview $Id: opc_provider.cpp,v 1.1 2007-03-01 09:12:54 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 <vector.h>
#include <string.h>
#include <stdio.h>
#include <iostream.h>
#include <fstream.h>
#include "pwr.h"
#include "pwr_class.h"
#include "pwr_baseclasses.h"
#include "wb_vext.h"
#include "rt_procom.h"
#include "opc_provider.h"
#include "wb_ldh.h"
#include "wb_ldh_msg.h"
#include "rt_gdh_msg.h"
#include "co_cdh.h"
#include "co_dcli.h"
#include "opc_soap_H.h"
#include "Service.nsmap"
#define START_OIX 1000
static pwr_tVid opc_vid;
static char opc_vname[32];
static char opc_endpoint[256];
// Wb only
void opc_provider::object( co_procom *pcom)
{
if ( m_list.size() <= 1 || m_list[0].fchoix == 0) {
pcom->provideObject( LDH__NOSUCHOBJ,0,0,0,0,0,0,0,"","");
return;
}
objectOid( pcom, m_list[0].fchoix);
}
void opc_provider::objectOid( co_procom *pcom, pwr_tOix oix)
{
if ( m_list.size() == 0) {
// Load Rootlist
_ns1__Browse browse;
_ns1__BrowseResponse browse_response;
std::string s("dataType");
browse.PropertyNames.push_back( s);
if ( soap_call___ns1__Browse( &soap, opc_endpoint, NULL, &browse, &browse_response) ==
SOAP_OK) {
for ( int i = 0; i < (int)browse_response.Elements.size(); i++) {
procom_obj o;
strcpy( o.name, browse_response.Elements[i]->Name->c_str());
strcpy( o.lname, o.name);
o.oix = next_oix++;
if ( i != 0)
o.bwsoix = o.oix - 1;
if ( i != (int)browse_response.Elements.size() - 1)
o.fwsoix = o.oix + 1;
if ( browse_response.Elements[i]->HasChildren)
o.flags |= procom_obj_mFlags_Loaded;
else
o.flags |= procom_obj_mFlags_Loaded;
m_list.push_back( o);
}
}
else
soap_print_fault( &soap, stderr);
}
if ( oix >= m_list.size() || oix < 0) {
pcom->provideStatus( GDH__NOSUCHOBJ);
return;
}
pcom->provideObjects( GDH__SUCCESS, m_list);
}
void opc_provider::objectName( co_procom *pcom, char *name)
{
for ( int i = 0; i < (int) m_list.size(); i++) {
if ( !m_list[i].flags & procom_obj_mFlags_Deleted) {
if ( cdh_NoCaseStrcmp( name, longname(m_list[i].oix)) == 0) {
objectOid( pcom, i);
return;
}
}
}
if ( m_env == pvd_eEnv_Wb)
pcom->provideObject( 0,0,0,0,0,0,0,0,"","");
else
pcom->provideStatus( GDH__NOSUCHOBJ);
}
// Wb only
void opc_provider::objectBody( co_procom *pcom, pwr_tOix oix)
{
}
// Wb only
void opc_provider::createObject( co_procom *pcom, pwr_tOix destoix, int desttype,
pwr_tCid cid, char *name)
{
}
// Wb only
void opc_provider::moveObject( co_procom *pcom, pwr_tOix oix, pwr_tOix destoix,
int desttype)
{
}
// Wb only
void opc_provider::deleteObject( co_procom *pcom, pwr_tOix oix)
{
}
// Wb only
void opc_provider::copyObject( co_procom *pcom, pwr_tOix oix, pwr_tOix destoix, int desttype,
char *name)
{
}
// Wb only
void opc_provider::deleteFamily( co_procom *pcom, pwr_tOix oix)
{
}
// Wb only
void opc_provider::renameObject( co_procom *pcom, pwr_tOix oix, char *name)
{
}
void opc_provider::writeAttribute( co_procom *pcom, pwr_tOix oix, unsigned int offset,
unsigned int size, char *buffer)
{
if ( oix >= m_list.size() || oix <= 0) {
pcom->provideStatus( LDH__NOSUCHOBJ);
return;
}
if ( offset + size > m_list[oix].body_size) {
pcom->provideStatus( LDH__NOSUCHATTR);
return;
}
memcpy( (void *)((unsigned long)m_list[oix].body + (unsigned long)offset), buffer, size);
pcom->provideStatus( 1);
}
// Rt only
void opc_provider::readAttribute( co_procom *pcom, pwr_tOix oix, unsigned int offset,
unsigned int size)
{
if ( oix >= m_list.size() || oix <= 0) {
pcom->provideStatus( GDH__NOSUCHOBJ);
return;
}
if ( offset + size > m_list[oix].body_size) {
pcom->provideStatus( GDH__NOSUCHOBJ);
return;
}
void *p = (void *)((unsigned long)m_list[oix].body + (unsigned long)offset);
pcom->provideAttr( GDH__SUCCESS, oix, size, p);
}
// Rt only
void opc_provider::subAssociateBuffer( co_procom *pcom, void **buff, int oix, int offset,
int size, pwr_tSubid sid)
{
if ( oix < (int)m_list.size())
*buff = (char *)m_list[oix].body + offset;
else
*buff = 0;
}
// Wb only
void opc_provider::commit( co_procom *pcom)
{
pwr_tStatus sts;
save( &sts);
pcom->provideStatus( sts);
}
// Wb only
void opc_provider::abort( co_procom *pcom)
{
pwr_tStatus sts;
m_list.clear();
next_oix = 1;
load( &sts);
pcom->provideStatus( sts);
}
void opc_provider::delete_tree( pwr_tOix oix)
{
m_list[oix].flags = procom_obj_mFlags_Deleted;
for ( pwr_tOix ix = m_list[oix].fchoix;
ix;
ix = m_list[ix].fwsoix)
delete_tree( ix);
}
char *opc_provider::longname( pwr_tOix oix)
{
if ( m_list[oix].fthoix == 0)
strcpy( m_list[oix].lname, m_list[oix].name);
else {
strcpy( m_list[oix].lname, longname( m_list[oix].fthoix));
strcat( m_list[oix].lname, "-");
strcat( m_list[oix].lname, m_list[oix].name);
}
return m_list[oix].lname;
}
bool opc_provider::find( pwr_tOix fthoix, char *name, pwr_tOix *oix)
{
for ( int i = 0; i < (int) m_list.size(); i++) {
if ( !m_list[i].flags & procom_obj_mFlags_Deleted) {
if ( m_list[i].fthoix == fthoix &&
cdh_NoCaseStrcmp( name, m_list[i].name) == 0) {
*oix = m_list[i].oix;
return true;
}
}
}
return false;
}
void usage()
{
cout << "remote_pvd_pwrcli Proview provider client" << endl << endl <<
"Arguments: " << endl <<
" 1 Opc server URL" << endl <<
" 2 Extern volume id" << endl <<
" 3 Extern volume name" << endl <<
" 4 Server identity (optional, default 200)" << endl;
}
int main(int argc, char *argv[])
{
pwr_tStatus sts;
char server_url[256];
char extern_vid[40];
char extern_volume_name[40];
int server_id;
/* Read arguments */
if ( argc < 4) {
usage();
strcpy( server_url, "http://localhost:18083");
strcpy( extern_vid, "0.1.99.55");
strcpy( extern_volume_name, "MyOpcVolume");
// exit(0);
}
else {
strcpy( server_url, argv[1]);
strcpy( extern_vid, argv[2]);
strcpy( extern_volume_name, argv[3]);
}
if ( argc >= 5) {
sts = sscanf( argv[4], "%d", &server_id);
if ( sts != 1) {
usage();
exit(0);
}
}
else
server_id = 200;
strcpy( opc_endpoint, server_url);
cdh_StringToVolumeId( extern_vid, &opc_vid);
strcpy( opc_vname, extern_volume_name);
opc_provider provider( pvd_eEnv_Rt);
rt_procom procom( &provider,
errh_eAnix_appl20, // Application index
"opc_provider", // Process name
server_id, // Sid
opc_vid, // Vid
opc_vname, // Volume name
0); // Global
procom.init();
// provider.nodeUp();
soap_init( &provider.soap);
procom.mainLoop();
}
/*
* Proview $Id: opc_provider.h,v 1.1 2007-03-01 09:12:54 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.
**/
#ifndef opc_provider_h
#define opc_provider_h
#include "co_provider.h"
#include "co_procom.h"
#include "opc_soap_H.h"
class opc_provider : public co_provider {
public:
opc_provider( pvd_eEnv env = pvd_eEnv_Wb) : co_provider(env), root(0), next_oix(1) {}
virtual void object( co_procom *pcom);
virtual void objectOid( co_procom *pcom, pwr_tOix oix);
virtual void objectName( co_procom *pcom, char *name);
virtual void objectBody( co_procom *pcom, pwr_tOix oix);
virtual void createObject( co_procom *pcom, pwr_tOix destoix, int desttype,
pwr_tCid cid, char *name);
virtual void moveObject( co_procom *pcom, pwr_tOix oix, pwr_tOix destoix, int desttype);
virtual void copyObject( co_procom *pcom, pwr_tOix oix, pwr_tOix destoix, int desttype,
char *name);
virtual void deleteObject( co_procom *pcom, pwr_tOix oix);
virtual void deleteFamily( co_procom *pcom, pwr_tOix oix);
virtual void renameObject( co_procom *pcom, pwr_tOix oix, char *name);
virtual void writeAttribute( co_procom *pcom, pwr_tOix oix, unsigned int offset,
unsigned int size, char *buffer);
virtual void readAttribute( co_procom *pcom, pwr_tOix oix, unsigned int offset,
unsigned int size);
virtual void subAssociateBuffer( co_procom *pcom, void **buff, int oix, int offset,
int size, pwr_tSubid sid);
virtual void commit( co_procom *pcom);
virtual void abort( co_procom *pcom);
virtual char *longname( pwr_tOix oix);
virtual void delete_tree( pwr_tOix oix);
virtual void save( pwr_tStatus *sts) {}
virtual void load( pwr_tStatus *rsts) {}
virtual bool find( pwr_tOix fthoix, char *name, pwr_tOix *oix);
vector<procom_obj> m_list;
pwr_tOix root;
pwr_tOix next_oix;
struct soap soap;
};
#endif
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
ifndef link_rule_mk
link_rule_mk := 1
link = $(ldxx) $(elinkflags) $(domap) -o $(export_exe) \
$(export_obj) -lpwr_opc -lpwr_rt -lpwr_co -lpwr_msg_dummy
endif
/*
* Proview $Id: opc_server.cpp,v 1.1 2007-03-01 09:12:54 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 "pwr.h"
#include "pwr_version.h"
#include "co_cdh.h"
#include "rt_gdh.h"
#include "opc_utl.h"
#include "opc_soap_H.h"
#include "Service.nsmap"
int main()
{
struct soap soap;
int m,s; // Master and slave sockets
pwr_tStatus sts;
sts = gdh_Init("opc_server");
if ( EVEN(sts)) {
exit(sts);
}
soap_init( &soap);
m = soap_bind( &soap, NULL, 18083, 100);
if ( m < 0)
soap_print_fault( &soap, stderr);
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: accepted connection from IP=%lu.%lu.%lu.%lu socket=%d", 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);
fprintf( stderr, "Request served\n");
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 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__GetStatus(struct soap*,
_ns1__GetStatus *ns1__GetStatus,
_ns1__GetStatusResponse *ns1__GetStatusResponse)
{
pwr_tTime current_time;
clock_gettime( CLOCK_REALTIME, &current_time);
ns1__GetStatusResponse->GetStatusResult = new ns1__ReplyBase();
ns1__GetStatusResponse->GetStatusResult->RcvTime = current_time.tv_sec;
ns1__GetStatusResponse->GetStatusResult->ReplyTime = current_time.tv_sec;
ns1__GetStatusResponse->GetStatusResult->RevisedLocaleID = new std::string( "en");
ns1__GetStatusResponse->GetStatusResult->ServerState = ns1__serverState__running;
ns1__GetStatusResponse->GetStatusResult->ClientRequestHandle = ns1__GetStatus->ClientRequestHandle;
ns1__GetStatusResponse->Status = new ns1__ServerStatus();
ns1__GetStatusResponse->Status->VendorInfo = new std::string("Proview " pwrv_cPwrVersionStr);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Read(struct soap*,
_ns1__Read *ns1__Read,
_ns1__ReadResponse *ns1__ReadResponse)
{
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Write(struct soap*,
_ns1__Write *ns1__Write,
_ns1__WriteResponse *ns1__WriteResponse)
{
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Subscribe(struct soap*,
_ns1__Subscribe *ns1__Subscribe,
_ns1__SubscribeResponse *ns1__SubscribeResponse)
{
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__SubscriptionPolledRefresh(struct soap*,
_ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh,
_ns1__SubscriptionPolledRefreshResponse *ns1__SubscriptionPolledRefreshResponse)
{
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__SubscriptionCancel(struct soap*,
_ns1__SubscriptionCancel *ns1__SubscriptionCancel,
_ns1__SubscriptionCancelResponse *ns1__SubscriptionCancelResponse)
{
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Browse(struct soap*, _ns1__Browse *ns1__Browse,
_ns1__BrowseResponse *ns1__BrowseResponse)
{
pwr_tStatus sts;
pwr_tOid oid, child, ch;
pwr_tOName name;
pwr_tCid cid;
if ( (!ns1__Browse->ItemName || ns1__Browse->ItemName->empty()) &&
(!ns1__Browse->ItemPath || ns1__Browse->ItemPath->empty())) {
// Return rootlist
for ( sts = gdh_GetRootList( &oid); ODD(sts); sts = gdh_GetNextSibling( oid, &oid)) {
sts = gdh_ObjidToName( oid, name, sizeof(name), cdh_mName_object);
if ( EVEN(sts)) continue;
sts = gdh_GetObjectClass( oid, &cid);
if ( EVEN(sts)) continue;
ns1__BrowseElement *element = new ns1__BrowseElement();
element->Name = new std::string( name);
element->ItemName = element->Name;
element->IsItem = ( cid == pwr_eClass_PlantHier || cid == pwr_eClass_NodeHier) ? true : false;
element->HasChildren = ODD( gdh_GetChild( oid, &ch)) ? true : false;
ns1__BrowseResponse->Elements.push_back( element);
for ( int i = 0; i < (int)ns1__Browse->PropertyNames.size(); i++) {
ns1__ItemProperty *property = new ns1__ItemProperty();
property->Name = ns1__Browse->PropertyNames[i];
if ( property->Name == "\"\":dataType") {
property->Value = (char *) malloc( 6);
strcpy( property->Value, "float");
}
element->Properties.push_back( property);
}
}
}
else {
// Return attributes and children
pwr_tOName itemname;
if ( ns1__Browse->ItemPath && !ns1__Browse->ItemPath->empty()) {
strncpy( itemname, ns1__Browse->ItemPath->c_str(), sizeof( itemname));
if ( ns1__Browse->ItemName && !ns1__Browse->ItemName->empty()) {
strcat( itemname, "-");
strcat( itemname, ns1__Browse->ItemName->c_str());
}
}
else
strncpy( itemname, ns1__Browse->ItemName->c_str(), sizeof(itemname));
sts = gdh_NameToObjid( itemname, &oid);
if ( EVEN(sts)) {
return 0;
}
for ( sts = gdh_GetChild( oid, &child); ODD(sts); sts = gdh_GetNextSibling( child, &child)) {
sts = gdh_ObjidToName( child, name, sizeof(name), cdh_mName_object);
if ( EVEN(sts)) continue;
sts = gdh_GetObjectClass( child, &cid);
if ( EVEN(sts)) continue;
ns1__BrowseElement *element = new ns1__BrowseElement();
element->Name = new std::string( name);
element->ItemName = element->Name;
element->ItemPath = new std::string( itemname);
element->IsItem = ( cid == pwr_eClass_PlantHier || cid == pwr_eClass_NodeHier) ? true : false;
element->HasChildren = ODD( gdh_GetChild( child, &ch)) ? true : false;
ns1__BrowseResponse->Elements.push_back( element);
}
}
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __ns1__GetProperties(struct soap*,
_ns1__GetProperties *ns1__GetProperties,
_ns1__GetPropertiesResponse *ns1__GetPropertiesResponse)
{
return 0;
}
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
ifndef link_rule_mk
link_rule_mk := 1
link = $(ldxx) $(elinkflags) $(domap) -o $(export_exe) \
$(export_obj) -lpwr_opc -lpwr_rt -lpwr_co -lpwr_msg_dummy
endif
#include "opc_soap_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},
{"ns1", "http://opcfoundation.org/webservices/XMLDA/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
<?xml version="1.0" encoding="utf-8"?>
<!--
COPYRIGHT (c) 2003 OPC Foundation. All rights reserved.
http://www.opcfoundation.org
Use subject to the OPC Foundation License Agreement found at the following URL:
http://www.opcfoundation.org/Downloads/LicenseAgreement.asp
-->
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://opcfoundation.org/webservices/XMLDA/1.0/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://opcfoundation.org/webservices/XMLDA/1.0/" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://opcfoundation.org/webservices/XMLDA/1.0/">
<s:element name="GetStatus">
<s:complexType>
<s:attribute name="LocaleID" type="s:string" />
<s:attribute name="ClientRequestHandle" type="s:string" />
</s:complexType>
</s:element>
<s:element name="GetStatusResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetStatusResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="1" name="Status" type="s0:ServerStatus" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ReplyBase">
<s:attribute name="RcvTime" type="s:dateTime" use="required" />
<s:attribute name="ReplyTime" type="s:dateTime" use="required" />
<s:attribute name="ClientRequestHandle" type="s:string" />
<s:attribute name="RevisedLocaleID" type="s:string" />
<s:attribute name="ServerState" type="s0:serverState" use="required" />
</s:complexType>
<s:simpleType name="serverState">
<s:restriction base="s:string">
<s:enumeration value="running" />
<s:enumeration value="failed" />
<s:enumeration value="noConfig" />
<s:enumeration value="suspended" />
<s:enumeration value="test" />
<s:enumeration value="commFault" />
</s:restriction>
</s:simpleType>
<s:complexType name="ServerStatus">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="VendorInfo" type="s:string" />
<s:element minOccurs="0" maxOccurs="unbounded" name="SupportedLocaleIDs" type="s:string" />
<s:element minOccurs="0" maxOccurs="unbounded" name="SupportedInterfaceVersions" type="s0:interfaceVersion" />
</s:sequence>
<s:attribute name="StartTime" type="s:dateTime" use="required" />
<s:attribute name="ProductVersion" type="s:string" />
</s:complexType>
<s:simpleType name="interfaceVersion">
<s:restriction base="s:string">
<s:enumeration value="XML_DA_Version_1_0" />
</s:restriction>
</s:simpleType>
<s:element name="Read">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Options" type="s0:RequestOptions" />
<s:element minOccurs="0" maxOccurs="1" name="ItemList" type="s0:ReadRequestItemList" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="RequestOptions">
<s:attribute default="true" name="ReturnErrorText" type="s:boolean" />
<s:attribute default="false" name="ReturnDiagnosticInfo" type="s:boolean" />
<s:attribute default="false" name="ReturnItemTime" type="s:boolean" />
<s:attribute default="false" name="ReturnItemPath" type="s:boolean" />
<s:attribute default="false" name="ReturnItemName" type="s:boolean" />
<s:attribute name="RequestDeadline" type="s:dateTime" />
<s:attribute name="ClientRequestHandle" type="s:string" />
<s:attribute name="LocaleID" type="s:string" />
</s:complexType>
<s:complexType name="ReadRequestItemList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Items" type="s0:ReadRequestItem" />
</s:sequence>
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ReqType" type="s:QName" />
<s:attribute name="MaxAge" type="s:int" />
</s:complexType>
<s:complexType name="ReadRequestItem">
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ReqType" type="s:QName" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="ClientItemHandle" type="s:string" />
<s:attribute name="MaxAge" type="s:int" />
</s:complexType>
<s:element name="ReadResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ReadResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="1" name="RItemList" type="s0:ReplyItemList" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s0:OPCError" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ReplyItemList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Items" type="s0:ItemValue" />
</s:sequence>
<s:attribute name="Reserved" type="s:string" />
</s:complexType>
<s:complexType name="ItemValue">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="DiagnosticInfo" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Value" />
<s:element minOccurs="0" maxOccurs="1" name="Quality" type="s0:OPCQuality" />
</s:sequence>
<s:attribute name="ValueTypeQualifier" type="s:QName" />
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="ClientItemHandle" type="s:string" />
<s:attribute name="Timestamp" type="s:dateTime" />
<s:attribute name="ResultID" type="s:QName" />
</s:complexType>
<s:complexType name="OPCQuality">
<s:attribute default="good" name="QualityField" type="s0:qualityBits" />
<s:attribute default="none" name="LimitField" type="s0:limitBits" />
<s:attribute default="0" name="VendorField" type="s:unsignedByte" />
</s:complexType>
<s:simpleType name="qualityBits">
<s:restriction base="s:string">
<s:enumeration value="bad" />
<s:enumeration value="badConfigurationError" />
<s:enumeration value="badNotConnected" />
<s:enumeration value="badDeviceFailure" />
<s:enumeration value="badSensorFailure" />
<s:enumeration value="badLastKnownValue" />
<s:enumeration value="badCommFailure" />
<s:enumeration value="badOutOfService" />
<s:enumeration value="badWaitingForInitialData" />
<s:enumeration value="uncertain" />
<s:enumeration value="uncertainLastUsableValue" />
<s:enumeration value="uncertainSensorNotAccurate" />
<s:enumeration value="uncertainEUExceeded" />
<s:enumeration value="uncertainSubNormal" />
<s:enumeration value="good" />
<s:enumeration value="goodLocalOverride" />
</s:restriction>
</s:simpleType>
<s:simpleType name="limitBits">
<s:restriction base="s:string">
<s:enumeration value="none" />
<s:enumeration value="low" />
<s:enumeration value="high" />
<s:enumeration value="constant" />
</s:restriction>
</s:simpleType>
<s:complexType name="OPCError">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" />
</s:sequence>
<s:attribute name="ID" type="s:QName" use="required" />
</s:complexType>
<s:complexType name="ArrayOfFloat">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="float" type="s:float" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfInt">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfUnsignedInt">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="unsignedInt" type="s:unsignedInt" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfLong">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="long" type="s:long" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfUnsignedLong">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="unsignedLong" type="s:unsignedLong" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDouble">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="double" type="s:double" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfUnsignedShort">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="unsignedShort" type="s:unsignedShort" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfBoolean">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="boolean" type="s:boolean" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDateTime">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="dateTime" type="s:dateTime" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfAnyType">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="anyType" nillable="true" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfDecimal">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="decimal" type="s:decimal" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfByte">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="byte" type="s:byte" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfShort">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="short" type="s:short" />
</s:sequence>
</s:complexType>
<s:element name="Write">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Options" type="s0:RequestOptions" />
<s:element minOccurs="0" maxOccurs="1" name="ItemList" type="s0:WriteRequestItemList" />
</s:sequence>
<s:attribute name="ReturnValuesOnReply" type="s:boolean" use="required" />
</s:complexType>
</s:element>
<s:complexType name="WriteRequestItemList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Items" type="s0:ItemValue" />
</s:sequence>
<s:attribute name="ItemPath" type="s:string" />
</s:complexType>
<s:element name="WriteResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="WriteResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="1" name="RItemList" type="s0:ReplyItemList" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s0:OPCError" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Subscribe">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Options" type="s0:RequestOptions" />
<s:element minOccurs="0" maxOccurs="1" name="ItemList" type="s0:SubscribeRequestItemList" />
</s:sequence>
<s:attribute name="ReturnValuesOnReply" type="s:boolean" use="required" />
<s:attribute default="0" name="SubscriptionPingRate" type="s:int" />
</s:complexType>
</s:element>
<s:complexType name="SubscribeRequestItemList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Items" type="s0:SubscribeRequestItem" />
</s:sequence>
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ReqType" type="s:QName" />
<s:attribute name="Deadband" type="s:float" />
<s:attribute name="RequestedSamplingRate" type="s:int" />
<s:attribute name="EnableBuffering" type="s:boolean" />
</s:complexType>
<s:complexType name="SubscribeRequestItem">
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ReqType" type="s:QName" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="ClientItemHandle" type="s:string" />
<s:attribute name="Deadband" type="s:float" />
<s:attribute name="RequestedSamplingRate" type="s:int" />
<s:attribute name="EnableBuffering" type="s:boolean" />
</s:complexType>
<s:complexType name="SubscribeReplyItemList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Items" type="s0:SubscribeItemValue" />
</s:sequence>
<s:attribute name="RevisedSamplingRate" type="s:int" />
</s:complexType>
<s:complexType name="SubscribeItemValue">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ItemValue" type="s0:ItemValue" />
</s:sequence>
<s:attribute name="RevisedSamplingRate" type="s:int" />
</s:complexType>
<s:element name="SubscribeResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SubscribeResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="1" name="RItemList" type="s0:SubscribeReplyItemList" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s0:OPCError" />
</s:sequence>
<s:attribute name="ServerSubHandle" type="s:string" />
</s:complexType>
</s:element>
<s:element name="SubscriptionPolledRefresh">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Options" type="s0:RequestOptions" />
<s:element minOccurs="0" maxOccurs="unbounded" name="ServerSubHandles" type="s:string" />
</s:sequence>
<s:attribute name="HoldTime" type="s:dateTime" />
<s:attribute default="0" name="WaitTime" type="s:int" />
<s:attribute default="false" name="ReturnAllItems" type="s:boolean" />
</s:complexType>
</s:element>
<s:complexType name="SubscribePolledRefreshReplyItemList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Items" type="s0:ItemValue" />
</s:sequence>
<s:attribute name="SubscriptionHandle" type="s:string" />
</s:complexType>
<s:element name="SubscriptionPolledRefreshResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SubscriptionPolledRefreshResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="unbounded" name="InvalidServerSubHandles" type="s:string" />
<s:element minOccurs="0" maxOccurs="unbounded" name="RItemList" type="s0:SubscribePolledRefreshReplyItemList" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s0:OPCError" />
</s:sequence>
<s:attribute default="false" name="DataBufferOverflow" type="s:boolean" />
</s:complexType>
</s:element>
<s:element name="SubscriptionCancel">
<s:complexType>
<s:attribute name="ServerSubHandle" type="s:string" />
<s:attribute name="ClientRequestHandle" type="s:string" />
</s:complexType>
</s:element>
<s:element name="SubscriptionCancelResponse">
<s:complexType>
<s:attribute name="ClientRequestHandle" type="s:string" />
</s:complexType>
</s:element>
<s:element name="Browse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="PropertyNames" type="s:QName" />
</s:sequence>
<s:attribute name="LocaleID" type="s:string" />
<s:attribute name="ClientRequestHandle" type="s:string" />
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="ContinuationPoint" type="s:string" />
<s:attribute default="0" name="MaxElementsReturned" type="s:int" />
<s:attribute default="all" name="BrowseFilter" type="s0:browseFilter" />
<s:attribute name="ElementNameFilter" type="s:string" />
<s:attribute name="VendorFilter" type="s:string" />
<s:attribute default="false" name="ReturnAllProperties" type="s:boolean" />
<s:attribute default="false" name="ReturnPropertyValues" type="s:boolean" />
<s:attribute default="false" name="ReturnErrorText" type="s:boolean" />
</s:complexType>
</s:element>
<s:simpleType name="browseFilter">
<s:restriction base="s:string">
<s:enumeration value="all" />
<s:enumeration value="branch" />
<s:enumeration value="item" />
</s:restriction>
</s:simpleType>
<s:complexType name="BrowseElement">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Properties" type="s0:ItemProperty" />
</s:sequence>
<s:attribute name="Name" type="s:string" />
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="IsItem" type="s:boolean" use="required" />
<s:attribute name="HasChildren" type="s:boolean" use="required" />
</s:complexType>
<s:complexType name="ItemProperty">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Value" />
</s:sequence>
<s:attribute name="Name" type="s:QName" use="required" />
<s:attribute name="Description" type="s:string" />
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="ResultID" type="s:QName" />
</s:complexType>
<s:element name="BrowseResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="BrowseResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Elements" type="s0:BrowseElement" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s0:OPCError" />
</s:sequence>
<s:attribute name="ContinuationPoint" type="s:string" />
<s:attribute default="false" name="MoreElements" type="s:boolean" />
</s:complexType>
</s:element>
<s:element name="GetProperties">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="ItemIDs" type="s0:ItemIdentifier" />
<s:element minOccurs="0" maxOccurs="unbounded" name="PropertyNames" type="s:QName" />
</s:sequence>
<s:attribute name="LocaleID" type="s:string" />
<s:attribute name="ClientRequestHandle" type="s:string" />
<s:attribute name="ItemPath" type="s:string" />
<s:attribute default="false" name="ReturnAllProperties" type="s:boolean" />
<s:attribute default="false" name="ReturnPropertyValues" type="s:boolean" />
<s:attribute default="false" name="ReturnErrorText" type="s:boolean" />
</s:complexType>
</s:element>
<s:complexType name="ItemIdentifier">
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ItemName" type="s:string" />
</s:complexType>
<s:complexType name="PropertyReplyList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Properties" type="s0:ItemProperty" />
</s:sequence>
<s:attribute name="ItemPath" type="s:string" />
<s:attribute name="ItemName" type="s:string" />
<s:attribute name="ResultID" type="s:QName" />
</s:complexType>
<s:element name="GetPropertiesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetPropertiesResult" type="s0:ReplyBase" />
<s:element minOccurs="0" maxOccurs="unbounded" name="PropertyLists" type="s0:PropertyReplyList" />
<s:element minOccurs="0" maxOccurs="unbounded" name="Errors" type="s0:OPCError" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
<message name="GetStatusSoapIn">
<part name="parameters" element="s0:GetStatus" />
</message>
<message name="GetStatusSoapOut">
<part name="parameters" element="s0:GetStatusResponse" />
</message>
<message name="ReadSoapIn">
<part name="parameters" element="s0:Read" />
</message>
<message name="ReadSoapOut">
<part name="parameters" element="s0:ReadResponse" />
</message>
<message name="WriteSoapIn">
<part name="parameters" element="s0:Write" />
</message>
<message name="WriteSoapOut">
<part name="parameters" element="s0:WriteResponse" />
</message>
<message name="SubscribeSoapIn">
<part name="parameters" element="s0:Subscribe" />
</message>
<message name="SubscribeSoapOut">
<part name="parameters" element="s0:SubscribeResponse" />
</message>
<message name="SubscriptionPolledRefreshSoapIn">
<part name="parameters" element="s0:SubscriptionPolledRefresh" />
</message>
<message name="SubscriptionPolledRefreshSoapOut">
<part name="parameters" element="s0:SubscriptionPolledRefreshResponse" />
</message>
<message name="SubscriptionCancelSoapIn">
<part name="parameters" element="s0:SubscriptionCancel" />
</message>
<message name="SubscriptionCancelSoapOut">
<part name="parameters" element="s0:SubscriptionCancelResponse" />
</message>
<message name="BrowseSoapIn">
<part name="parameters" element="s0:Browse" />
</message>
<message name="BrowseSoapOut">
<part name="parameters" element="s0:BrowseResponse" />
</message>
<message name="GetPropertiesSoapIn">
<part name="parameters" element="s0:GetProperties" />
</message>
<message name="GetPropertiesSoapOut">
<part name="parameters" element="s0:GetPropertiesResponse" />
</message>
<portType name="Service">
<operation name="GetStatus">
<input message="s0:GetStatusSoapIn" />
<output message="s0:GetStatusSoapOut" />
</operation>
<operation name="Read">
<input message="s0:ReadSoapIn" />
<output message="s0:ReadSoapOut" />
</operation>
<operation name="Write">
<input message="s0:WriteSoapIn" />
<output message="s0:WriteSoapOut" />
</operation>
<operation name="Subscribe">
<input message="s0:SubscribeSoapIn" />
<output message="s0:SubscribeSoapOut" />
</operation>
<operation name="SubscriptionPolledRefresh">
<input message="s0:SubscriptionPolledRefreshSoapIn" />
<output message="s0:SubscriptionPolledRefreshSoapOut" />
</operation>
<operation name="SubscriptionCancel">
<input message="s0:SubscriptionCancelSoapIn" />
<output message="s0:SubscriptionCancelSoapOut" />
</operation>
<operation name="Browse">
<input message="s0:BrowseSoapIn" />
<output message="s0:BrowseSoapOut" />
</operation>
<operation name="GetProperties">
<input message="s0:GetPropertiesSoapIn" />
<output message="s0:GetPropertiesSoapOut" />
</operation>
</portType>
<binding name="Service" type="s0:Service">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="GetStatus">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/GetStatus" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Read">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/Read" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Write">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/Write" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Subscribe">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/Subscribe" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="SubscriptionPolledRefresh">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionPolledRefresh" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="SubscriptionCancel">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionCancel" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Browse">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/Browse" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="GetProperties">
<soap:operation soapAction="http://opcfoundation.org/webservices/XMLDA/1.0/GetProperties" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
</definitions>
/* opc_msg.h
Generated by wsdl2h 1.2.9d from ./opc.wsdl and typemap.dat
2007-02-26 09:40:26 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://opcfoundation.org/webservices/XMLDA/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:
ns1 = "http://opcfoundation.org/webservices/XMLDA/1.0/"
*/
//gsoap ns1 schema namespace: http://opcfoundation.org/webservices/XMLDA/1.0/
//gsoap ns1 schema elementForm: qualified
//gsoap ns1 schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Primitive built-in type "xs:QName"
typedef std::string xsd__QName;
/// Primitive built-in type "xs:decimal"
typedef std::string xsd__decimal;
// Forward declaration of class ns1__ReplyBase.
class ns1__ReplyBase;
// Forward declaration of class ns1__ServerStatus.
class ns1__ServerStatus;
// Forward declaration of class ns1__RequestOptions.
class ns1__RequestOptions;
// Forward declaration of class ns1__ReadRequestItemList.
class ns1__ReadRequestItemList;
// Forward declaration of class ns1__ReadRequestItem.
class ns1__ReadRequestItem;
// Forward declaration of class ns1__ReplyItemList.
class ns1__ReplyItemList;
// Forward declaration of class ns1__ItemValue.
class ns1__ItemValue;
// Forward declaration of class ns1__OPCQuality.
class ns1__OPCQuality;
// Forward declaration of class ns1__OPCError.
class ns1__OPCError;
// Forward declaration of class ns1__ArrayOfFloat.
class ns1__ArrayOfFloat;
// Forward declaration of class ns1__ArrayOfInt.
class ns1__ArrayOfInt;
// Forward declaration of class ns1__ArrayOfUnsignedInt.
class ns1__ArrayOfUnsignedInt;
// Forward declaration of class ns1__ArrayOfLong.
class ns1__ArrayOfLong;
// Forward declaration of class ns1__ArrayOfUnsignedLong.
class ns1__ArrayOfUnsignedLong;
// Forward declaration of class ns1__ArrayOfDouble.
class ns1__ArrayOfDouble;
// Forward declaration of class ns1__ArrayOfUnsignedShort.
class ns1__ArrayOfUnsignedShort;
// Forward declaration of class ns1__ArrayOfBoolean.
class ns1__ArrayOfBoolean;
// Forward declaration of class ns1__ArrayOfString.
class ns1__ArrayOfString;
// Forward declaration of class ns1__ArrayOfDateTime.
class ns1__ArrayOfDateTime;
// Forward declaration of class ns1__ArrayOfAnyType.
class ns1__ArrayOfAnyType;
// Forward declaration of class ns1__ArrayOfDecimal.
class ns1__ArrayOfDecimal;
// Forward declaration of class ns1__ArrayOfByte.
class ns1__ArrayOfByte;
// Forward declaration of class ns1__ArrayOfShort.
class ns1__ArrayOfShort;
// Forward declaration of class ns1__WriteRequestItemList.
class ns1__WriteRequestItemList;
// Forward declaration of class ns1__SubscribeRequestItemList.
class ns1__SubscribeRequestItemList;
// Forward declaration of class ns1__SubscribeRequestItem.
class ns1__SubscribeRequestItem;
// Forward declaration of class ns1__SubscribeReplyItemList.
class ns1__SubscribeReplyItemList;
// Forward declaration of class ns1__SubscribeItemValue.
class ns1__SubscribeItemValue;
// Forward declaration of class ns1__SubscribePolledRefreshReplyItemList.
class ns1__SubscribePolledRefreshReplyItemList;
// Forward declaration of class ns1__BrowseElement.
class ns1__BrowseElement;
// Forward declaration of class ns1__ItemProperty.
class ns1__ItemProperty;
// Forward declaration of class ns1__ItemIdentifier.
class ns1__ItemIdentifier;
// Forward declaration of class ns1__PropertyReplyList.
class ns1__PropertyReplyList;
// Forward declaration of class _ns1__GetStatus.
class _ns1__GetStatus;
// Forward declaration of class _ns1__GetStatusResponse.
class _ns1__GetStatusResponse;
// Forward declaration of class _ns1__Read.
class _ns1__Read;
// Forward declaration of class _ns1__ReadResponse.
class _ns1__ReadResponse;
// Forward declaration of class _ns1__Write.
class _ns1__Write;
// Forward declaration of class _ns1__WriteResponse.
class _ns1__WriteResponse;
// Forward declaration of class _ns1__Subscribe.
class _ns1__Subscribe;
// Forward declaration of class _ns1__SubscribeResponse.
class _ns1__SubscribeResponse;
// Forward declaration of class _ns1__SubscriptionPolledRefresh.
class _ns1__SubscriptionPolledRefresh;
// Forward declaration of class _ns1__SubscriptionPolledRefreshResponse.
class _ns1__SubscriptionPolledRefreshResponse;
// Forward declaration of class _ns1__SubscriptionCancel.
class _ns1__SubscriptionCancel;
// Forward declaration of class _ns1__SubscriptionCancelResponse.
class _ns1__SubscriptionCancelResponse;
// Forward declaration of class _ns1__Browse.
class _ns1__Browse;
// Forward declaration of class _ns1__BrowseResponse.
class _ns1__BrowseResponse;
// Forward declaration of class _ns1__GetProperties.
class _ns1__GetProperties;
// Forward declaration of class _ns1__GetPropertiesResponse.
class _ns1__GetPropertiesResponse;
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":serverState is a simpleType restriction of xs:string.
/// Note: enum values are prefixed with 'ns1__serverState' to avoid name clashes, please use wsdl2h option -e to omit this prefix
enum ns1__serverState
{
ns1__serverState__running, ///< xs:string value="running"
ns1__serverState__failed, ///< xs:string value="failed"
ns1__serverState__noConfig, ///< xs:string value="noConfig"
ns1__serverState__suspended, ///< xs:string value="suspended"
ns1__serverState__test, ///< xs:string value="test"
ns1__serverState__commFault, ///< xs:string value="commFault"
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":interfaceVersion is a simpleType restriction of xs:string.
/// Note: enum values are prefixed with 'ns1__interfaceVersion' to avoid name clashes, please use wsdl2h option -e to omit this prefix
enum ns1__interfaceVersion
{
ns1__interfaceVersion__XML_USCOREDA_USCOREVersion_USCORE1_USCORE0, ///< xs:string value="XML_DA_Version_1_0"
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":qualityBits is a simpleType restriction of xs:string.
/// Note: enum values are prefixed with 'ns1__qualityBits' to avoid name clashes, please use wsdl2h option -e to omit this prefix
enum ns1__qualityBits
{
ns1__qualityBits__bad, ///< xs:string value="bad"
ns1__qualityBits__badConfigurationError, ///< xs:string value="badConfigurationError"
ns1__qualityBits__badNotConnected, ///< xs:string value="badNotConnected"
ns1__qualityBits__badDeviceFailure, ///< xs:string value="badDeviceFailure"
ns1__qualityBits__badSensorFailure, ///< xs:string value="badSensorFailure"
ns1__qualityBits__badLastKnownValue, ///< xs:string value="badLastKnownValue"
ns1__qualityBits__badCommFailure, ///< xs:string value="badCommFailure"
ns1__qualityBits__badOutOfService, ///< xs:string value="badOutOfService"
ns1__qualityBits__badWaitingForInitialData, ///< xs:string value="badWaitingForInitialData"
ns1__qualityBits__uncertain, ///< xs:string value="uncertain"
ns1__qualityBits__uncertainLastUsableValue, ///< xs:string value="uncertainLastUsableValue"
ns1__qualityBits__uncertainSensorNotAccurate, ///< xs:string value="uncertainSensorNotAccurate"
ns1__qualityBits__uncertainEUExceeded, ///< xs:string value="uncertainEUExceeded"
ns1__qualityBits__uncertainSubNormal, ///< xs:string value="uncertainSubNormal"
ns1__qualityBits__good, ///< xs:string value="good"
ns1__qualityBits__goodLocalOverride, ///< xs:string value="goodLocalOverride"
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":limitBits is a simpleType restriction of xs:string.
/// Note: enum values are prefixed with 'ns1__limitBits' to avoid name clashes, please use wsdl2h option -e to omit this prefix
enum ns1__limitBits
{
ns1__limitBits__none, ///< xs:string value="none"
ns1__limitBits__low, ///< xs:string value="low"
ns1__limitBits__high, ///< xs:string value="high"
ns1__limitBits__constant, ///< xs:string value="constant"
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":browseFilter is a simpleType restriction of xs:string.
/// Note: enum values are prefixed with 'ns1__browseFilter' to avoid name clashes, please use wsdl2h option -e to omit this prefix
enum ns1__browseFilter
{
ns1__browseFilter__all, ///< xs:string value="all"
ns1__browseFilter__branch, ///< xs:string value="branch"
ns1__browseFilter__item, ///< xs:string value="item"
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase is a complexType.
class ns1__ReplyBase
{ public:
/// Attribute RcvTime of type xs:dateTime.
@time_t RcvTime 1; ///< Required attribute.
/// Attribute ReplyTime of type xs:dateTime.
@time_t ReplyTime 1; ///< Required attribute.
/// Attribute ClientRequestHandle of type xs:string.
@std::string* ClientRequestHandle 0; ///< Optional attribute.
/// Attribute RevisedLocaleID of type xs:string.
@std::string* RevisedLocaleID 0; ///< Optional attribute.
/// Attribute ServerState of type "http://opcfoundation.org/webservices/XMLDA/1.0/":serverState.
@enum ns1__serverState ServerState 1; ///< Required attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ServerStatus is a complexType.
class ns1__ServerStatus
{ public:
/// Element StatusInfo of type xs:string.
std::string* StatusInfo 0; ///< Optional element.
/// Element VendorInfo of type xs:string.
std::string* VendorInfo 0; ///< Optional element.
/// Vector of std::string with length 0..unbounded
std::vector<std::string > SupportedLocaleIDs 0;
/// Vector of enum ns1__interfaceVersion with length 0..unbounded
std::vector<enum ns1__interfaceVersion> SupportedInterfaceVersions 0;
/// Attribute StartTime of type xs:dateTime.
@time_t StartTime 1; ///< Required attribute.
/// Attribute ProductVersion of type xs:string.
@std::string* ProductVersion 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":RequestOptions is a complexType.
class ns1__RequestOptions
{ public:
/// Attribute ReturnErrorText of type xs:boolean.
@bool* ReturnErrorText 0; ///< Optional attribute.
/// Attribute ReturnDiagnosticInfo of type xs:boolean.
@bool* ReturnDiagnosticInfo 0; ///< Optional attribute.
/// Attribute ReturnItemTime of type xs:boolean.
@bool* ReturnItemTime 0; ///< Optional attribute.
/// Attribute ReturnItemPath of type xs:boolean.
@bool* ReturnItemPath 0; ///< Optional attribute.
/// Attribute ReturnItemName of type xs:boolean.
@bool* ReturnItemName 0; ///< Optional attribute.
/// Attribute RequestDeadline of type xs:dateTime.
@time_t* RequestDeadline 0; ///< Optional attribute.
/// Attribute ClientRequestHandle of type xs:string.
@std::string* ClientRequestHandle 0; ///< Optional attribute.
/// Attribute LocaleID of type xs:string.
@std::string* LocaleID 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ReadRequestItemList is a complexType.
class ns1__ReadRequestItemList
{ public:
/// Vector of ns1__ReadRequestItem* with length 0..unbounded
std::vector<ns1__ReadRequestItem* > Items 0;
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ReqType of type xs:QName.
@xsd__QName* ReqType 0; ///< Optional attribute.
/// Attribute MaxAge of type xs:int.
@int* MaxAge 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ReadRequestItem is a complexType.
class ns1__ReadRequestItem
{ public:
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ReqType of type xs:QName.
@xsd__QName* ReqType 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute ClientItemHandle of type xs:string.
@std::string* ClientItemHandle 0; ///< Optional attribute.
/// Attribute MaxAge of type xs:int.
@int* MaxAge 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyItemList is a complexType.
class ns1__ReplyItemList
{ public:
/// Vector of ns1__ItemValue* with length 0..unbounded
std::vector<ns1__ItemValue* > Items 0;
/// Attribute Reserved of type xs:string.
@std::string* Reserved 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ItemValue is a complexType.
class ns1__ItemValue
{ public:
/// Element DiagnosticInfo of type xs:string.
std::string* DiagnosticInfo 0; ///< Optional element.
/// Element 'Value' has no type or ref: assuming XML content.
_XML Value 0; ///< Optional element.
/// Element Quality of type "http://opcfoundation.org/webservices/XMLDA/1.0/":OPCQuality.
ns1__OPCQuality* Quality 0; ///< Optional element.
/// Attribute ValueTypeQualifier of type xs:QName.
@xsd__QName* ValueTypeQualifier 0; ///< Optional attribute.
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute ClientItemHandle of type xs:string.
@std::string* ClientItemHandle 0; ///< Optional attribute.
/// Attribute Timestamp of type xs:dateTime.
@time_t* Timestamp 0; ///< Optional attribute.
/// Attribute ResultID of type xs:QName.
@xsd__QName* ResultID 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":OPCQuality is a complexType.
class ns1__OPCQuality
{ public:
/// Attribute QualityField of type "http://opcfoundation.org/webservices/XMLDA/1.0/":qualityBits.
@enum ns1__qualityBits* QualityField 0; ///< Optional attribute.
/// Attribute LimitField of type "http://opcfoundation.org/webservices/XMLDA/1.0/":limitBits.
@enum ns1__limitBits* LimitField 0; ///< Optional attribute.
/// Attribute VendorField of type xs:unsignedByte.
@unsigned short* VendorField 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":OPCError is a complexType.
class ns1__OPCError
{ public:
/// Element Text of type xs:string.
std::string* Text 0; ///< Optional element.
/// Attribute ID of type xs:QName.
@xsd__QName ID 1; ///< Required attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfFloat is a complexType.
class ns1__ArrayOfFloat
{ public:
/// Vector of float with length 0..unbounded
std::vector<float > float_ 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfInt is a complexType.
class ns1__ArrayOfInt
{ public:
/// Vector of int with length 0..unbounded
std::vector<int > int_ 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfUnsignedInt is a complexType.
class ns1__ArrayOfUnsignedInt
{ public:
/// Vector of unsigned int with length 0..unbounded
std::vector<unsigned int > unsignedInt 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfLong is a complexType.
class ns1__ArrayOfLong
{ public:
/// Vector of LONG64 with length 0..unbounded
std::vector<LONG64 > long_ 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfUnsignedLong is a complexType.
class ns1__ArrayOfUnsignedLong
{ public:
/// Vector of ULONG64 with length 0..unbounded
std::vector<ULONG64 > unsignedLong 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfDouble is a complexType.
class ns1__ArrayOfDouble
{ public:
/// Vector of double with length 0..unbounded
std::vector<double > double_ 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfUnsignedShort is a complexType.
class ns1__ArrayOfUnsignedShort
{ public:
/// Vector of unsigned short with length 0..unbounded
std::vector<unsigned short > unsignedShort 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfBoolean is a complexType.
class ns1__ArrayOfBoolean
{ public:
/// Vector of bool with length 0..unbounded
std::vector<bool > boolean 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfString is a complexType.
class ns1__ArrayOfString
{ public:
/// Vector of std::string with length 0..unbounded
std::vector<std::string > string 0; ///< Nullable pointer.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfDateTime is a complexType.
class ns1__ArrayOfDateTime
{ public:
/// Vector of time_t with length 0..unbounded
std::vector<time_t > dateTime 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfAnyType is a complexType.
class ns1__ArrayOfAnyType
{ public:
/// Element 'anyType' has no type or ref: assuming XML content.
/// Vector of XML with length 0..unbounded
std::vector<_XML > anyType 0; ///< Nullable pointer.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfDecimal is a complexType.
class ns1__ArrayOfDecimal
{ public:
/// Vector of xsd__decimal with length 0..unbounded
std::vector<xsd__decimal > decimal 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfByte is a complexType.
class ns1__ArrayOfByte
{ public:
/// Vector of char with length 0..unbounded
std::vector<char > byte 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ArrayOfShort is a complexType.
class ns1__ArrayOfShort
{ public:
/// Vector of short with length 0..unbounded
std::vector<short > short_ 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":WriteRequestItemList is a complexType.
class ns1__WriteRequestItemList
{ public:
/// Vector of ns1__ItemValue* with length 0..unbounded
std::vector<ns1__ItemValue* > Items 0;
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeRequestItemList is a complexType.
class ns1__SubscribeRequestItemList
{ public:
/// Vector of ns1__SubscribeRequestItem* with length 0..unbounded
std::vector<ns1__SubscribeRequestItem*> Items 0;
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ReqType of type xs:QName.
@xsd__QName* ReqType 0; ///< Optional attribute.
/// Attribute Deadband of type xs:float.
@float* Deadband 0; ///< Optional attribute.
/// Attribute RequestedSamplingRate of type xs:int.
@int* RequestedSamplingRate 0; ///< Optional attribute.
/// Attribute EnableBuffering of type xs:boolean.
@bool* EnableBuffering 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeRequestItem is a complexType.
class ns1__SubscribeRequestItem
{ public:
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ReqType of type xs:QName.
@xsd__QName* ReqType 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute ClientItemHandle of type xs:string.
@std::string* ClientItemHandle 0; ///< Optional attribute.
/// Attribute Deadband of type xs:float.
@float* Deadband 0; ///< Optional attribute.
/// Attribute RequestedSamplingRate of type xs:int.
@int* RequestedSamplingRate 0; ///< Optional attribute.
/// Attribute EnableBuffering of type xs:boolean.
@bool* EnableBuffering 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeReplyItemList is a complexType.
class ns1__SubscribeReplyItemList
{ public:
/// Vector of ns1__SubscribeItemValue* with length 0..unbounded
std::vector<ns1__SubscribeItemValue*> Items 0;
/// Attribute RevisedSamplingRate of type xs:int.
@int* RevisedSamplingRate 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeItemValue is a complexType.
class ns1__SubscribeItemValue
{ public:
/// Element ItemValue of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ItemValue.
ns1__ItemValue* ItemValue 0; ///< Optional element.
/// Attribute RevisedSamplingRate of type xs:int.
@int* RevisedSamplingRate 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribePolledRefreshReplyItemList is a complexType.
class ns1__SubscribePolledRefreshReplyItemList
{ public:
/// Vector of ns1__ItemValue* with length 0..unbounded
std::vector<ns1__ItemValue* > Items 0;
/// Attribute SubscriptionHandle of type xs:string.
@std::string* SubscriptionHandle 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":BrowseElement is a complexType.
class ns1__BrowseElement
{ public:
/// Vector of ns1__ItemProperty* with length 0..unbounded
std::vector<ns1__ItemProperty* > Properties 0;
/// Attribute Name of type xs:string.
@std::string* Name 0; ///< Optional attribute.
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute IsItem of type xs:boolean.
@bool IsItem 1; ///< Required attribute.
/// Attribute HasChildren of type xs:boolean.
@bool HasChildren 1; ///< Required attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ItemProperty is a complexType.
class ns1__ItemProperty
{ public:
/// Element 'Value' has no type or ref: assuming XML content.
_XML Value 0; ///< Optional element.
/// Attribute Name of type xs:QName.
@xsd__QName Name 1; ///< Required attribute.
/// Attribute Description of type xs:string.
@std::string* Description 0; ///< Optional attribute.
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute ResultID of type xs:QName.
@xsd__QName* ResultID 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ItemIdentifier is a complexType.
class ns1__ItemIdentifier
{ public:
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":PropertyReplyList is a complexType.
class ns1__PropertyReplyList
{ public:
/// Vector of ns1__ItemProperty* with length 0..unbounded
std::vector<ns1__ItemProperty* > Properties 0;
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute ResultID of type xs:QName.
@xsd__QName* ResultID 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":GetStatus of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":GetStatus is a complexType.
class _ns1__GetStatus
{ public:
/// Attribute LocaleID of type xs:string.
@std::string* LocaleID 0; ///< Optional attribute.
/// 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://opcfoundation.org/webservices/XMLDA/1.0/":GetStatusResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":GetStatusResponse is a complexType.
class _ns1__GetStatusResponse
{ public:
/// Element GetStatusResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* GetStatusResult 0; ///< Optional element.
/// Element Status of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ServerStatus.
ns1__ServerStatus* Status 0; ///< Optional element.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":Read of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":Read is a complexType.
class _ns1__Read
{ public:
/// Element Options of type "http://opcfoundation.org/webservices/XMLDA/1.0/":RequestOptions.
ns1__RequestOptions* Options 0; ///< Optional element.
/// Element ItemList of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReadRequestItemList.
ns1__ReadRequestItemList* ItemList 0; ///< Optional element.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":ReadResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":ReadResponse is a complexType.
class _ns1__ReadResponse
{ public:
/// Element ReadResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* ReadResult 0; ///< Optional element.
/// Element RItemList of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyItemList.
ns1__ReplyItemList* RItemList 0; ///< Optional element.
/// Vector of ns1__OPCError* with length 0..unbounded
std::vector<ns1__OPCError* > Errors 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":Write of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":Write is a complexType.
class _ns1__Write
{ public:
/// Element Options of type "http://opcfoundation.org/webservices/XMLDA/1.0/":RequestOptions.
ns1__RequestOptions* Options 0; ///< Optional element.
/// Element ItemList of type "http://opcfoundation.org/webservices/XMLDA/1.0/":WriteRequestItemList.
ns1__WriteRequestItemList* ItemList 0; ///< Optional element.
/// Attribute ReturnValuesOnReply of type xs:boolean.
@bool ReturnValuesOnReply 1; ///< Required attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":WriteResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":WriteResponse is a complexType.
class _ns1__WriteResponse
{ public:
/// Element WriteResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* WriteResult 0; ///< Optional element.
/// Element RItemList of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyItemList.
ns1__ReplyItemList* RItemList 0; ///< Optional element.
/// Vector of ns1__OPCError* with length 0..unbounded
std::vector<ns1__OPCError* > Errors 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":Subscribe of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":Subscribe is a complexType.
class _ns1__Subscribe
{ public:
/// Element Options of type "http://opcfoundation.org/webservices/XMLDA/1.0/":RequestOptions.
ns1__RequestOptions* Options 0; ///< Optional element.
/// Element ItemList of type "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeRequestItemList.
ns1__SubscribeRequestItemList* ItemList 0; ///< Optional element.
/// Attribute ReturnValuesOnReply of type xs:boolean.
@bool ReturnValuesOnReply 1; ///< Required attribute.
/// Attribute SubscriptionPingRate of type xs:int.
@int* SubscriptionPingRate 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeResponse is a complexType.
class _ns1__SubscribeResponse
{ public:
/// Element SubscribeResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* SubscribeResult 0; ///< Optional element.
/// Element RItemList of type "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscribeReplyItemList.
ns1__SubscribeReplyItemList* RItemList 0; ///< Optional element.
/// Vector of ns1__OPCError* with length 0..unbounded
std::vector<ns1__OPCError* > Errors 0;
/// Attribute ServerSubHandle of type xs:string.
@std::string* ServerSubHandle 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionPolledRefresh of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionPolledRefresh is a complexType.
class _ns1__SubscriptionPolledRefresh
{ public:
/// Element Options of type "http://opcfoundation.org/webservices/XMLDA/1.0/":RequestOptions.
ns1__RequestOptions* Options 0; ///< Optional element.
/// Vector of std::string with length 0..unbounded
std::vector<std::string > ServerSubHandles 0;
/// Attribute HoldTime of type xs:dateTime.
@time_t* HoldTime 0; ///< Optional attribute.
/// Attribute WaitTime of type xs:int.
@int* WaitTime 0; ///< Optional attribute.
/// Attribute ReturnAllItems of type xs:boolean.
@bool* ReturnAllItems 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionPolledRefreshResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionPolledRefreshResponse is a complexType.
class _ns1__SubscriptionPolledRefreshResponse
{ public:
/// Element SubscriptionPolledRefreshResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* SubscriptionPolledRefreshResult 0; ///< Optional element.
/// Vector of std::string with length 0..unbounded
std::vector<std::string > InvalidServerSubHandles 0;
/// Vector of ns1__SubscribePolledRefreshReplyItemList* with length 0..unbounded
std::vector<ns1__SubscribePolledRefreshReplyItemList*> RItemList 0;
/// Vector of ns1__OPCError* with length 0..unbounded
std::vector<ns1__OPCError* > Errors 0;
/// Attribute DataBufferOverflow of type xs:boolean.
@bool* DataBufferOverflow 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionCancel of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionCancel is a complexType.
class _ns1__SubscriptionCancel
{ public:
/// Attribute ServerSubHandle of type xs:string.
@std::string* ServerSubHandle 0; ///< Optional attribute.
/// 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://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionCancelResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":SubscriptionCancelResponse is a complexType.
class _ns1__SubscriptionCancelResponse
{ 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://opcfoundation.org/webservices/XMLDA/1.0/":Browse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":Browse is a complexType.
class _ns1__Browse
{ public:
/// Vector of xsd__QName with length 0..unbounded
std::vector<xsd__QName > PropertyNames 0;
/// Attribute LocaleID of type xs:string.
@std::string* LocaleID 0; ///< Optional attribute.
/// Attribute ClientRequestHandle of type xs:string.
@std::string* ClientRequestHandle 0; ///< Optional attribute.
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ItemName of type xs:string.
@std::string* ItemName 0; ///< Optional attribute.
/// Attribute ContinuationPoint of type xs:string.
@std::string* ContinuationPoint 0; ///< Optional attribute.
/// Attribute MaxElementsReturned of type xs:int.
@int* MaxElementsReturned 0; ///< Optional attribute.
/// Attribute BrowseFilter of type "http://opcfoundation.org/webservices/XMLDA/1.0/":browseFilter.
@enum ns1__browseFilter* BrowseFilter 0; ///< Optional attribute.
/// Attribute ElementNameFilter of type xs:string.
@std::string* ElementNameFilter 0; ///< Optional attribute.
/// Attribute VendorFilter of type xs:string.
@std::string* VendorFilter 0; ///< Optional attribute.
/// Attribute ReturnAllProperties of type xs:boolean.
@bool* ReturnAllProperties 0; ///< Optional attribute.
/// Attribute ReturnPropertyValues of type xs:boolean.
@bool* ReturnPropertyValues 0; ///< Optional attribute.
/// Attribute ReturnErrorText of type xs:boolean.
@bool* ReturnErrorText 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":BrowseResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":BrowseResponse is a complexType.
class _ns1__BrowseResponse
{ public:
/// Element BrowseResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* BrowseResult 0; ///< Optional element.
/// Vector of ns1__BrowseElement* with length 0..unbounded
std::vector<ns1__BrowseElement* > Elements 0;
/// Vector of ns1__OPCError* with length 0..unbounded
std::vector<ns1__OPCError* > Errors 0;
/// Attribute ContinuationPoint of type xs:string.
@std::string* ContinuationPoint 0; ///< Optional attribute.
/// Attribute MoreElements of type xs:boolean.
@bool* MoreElements 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":GetProperties of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":GetProperties is a complexType.
class _ns1__GetProperties
{ public:
/// Vector of ns1__ItemIdentifier* with length 0..unbounded
std::vector<ns1__ItemIdentifier* > ItemIDs 0;
/// Vector of xsd__QName with length 0..unbounded
std::vector<xsd__QName > PropertyNames 0;
/// Attribute LocaleID of type xs:string.
@std::string* LocaleID 0; ///< Optional attribute.
/// Attribute ClientRequestHandle of type xs:string.
@std::string* ClientRequestHandle 0; ///< Optional attribute.
/// Attribute ItemPath of type xs:string.
@std::string* ItemPath 0; ///< Optional attribute.
/// Attribute ReturnAllProperties of type xs:boolean.
@bool* ReturnAllProperties 0; ///< Optional attribute.
/// Attribute ReturnPropertyValues of type xs:boolean.
@bool* ReturnPropertyValues 0; ///< Optional attribute.
/// Attribute ReturnErrorText of type xs:boolean.
@bool* ReturnErrorText 0; ///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/// Element "http://opcfoundation.org/webservices/XMLDA/1.0/":GetPropertiesResponse of complexType.
/// "http://opcfoundation.org/webservices/XMLDA/1.0/":GetPropertiesResponse is a complexType.
class _ns1__GetPropertiesResponse
{ public:
/// Element GetPropertiesResult of type "http://opcfoundation.org/webservices/XMLDA/1.0/":ReplyBase.
ns1__ReplyBase* GetPropertiesResult 0; ///< Optional element.
/// Vector of ns1__PropertyReplyList* with length 0..unbounded
std::vector<ns1__PropertyReplyList*> PropertyLists 0;
/// Vector of ns1__OPCError* with length 0..unbounded
std::vector<ns1__OPCError* > Errors 0;
/// A handle to the soap struct that manages this instance (automatically set)
struct soap *soap ;
};
/******************************************************************************\
* *
* Services *
* *
\******************************************************************************/
//gsoap ns1 service name: Service
//gsoap ns1 service type: Service
//gsoap ns1 service namespace: http://opcfoundation.org/webservices/XMLDA/1.0/
//gsoap ns1 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 __ns1__GetStatus
- @ref __ns1__Read
- @ref __ns1__Write
- @ref __ns1__Subscribe
- @ref __ns1__SubscriptionPolledRefresh
- @ref __ns1__SubscriptionCancel
- @ref __ns1__Browse
- @ref __ns1__GetProperties
@section Service_ports Endpoints of Binding "Service"
*/
/******************************************************************************\
* *
* Service *
* *
\******************************************************************************/
/******************************************************************************\
* *
* __ns1__GetStatus *
* *
\******************************************************************************/
/// Operation "__ns1__GetStatus" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/GetStatus"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__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:
_ns1__GetStatus* ns1__GetStatus,
// response parameters:
_ns1__GetStatusResponse* ns1__GetStatusResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__GetStatus(
struct soap *soap,
// request parameters:
_ns1__GetStatus* ns1__GetStatus,
// response parameters:
_ns1__GetStatusResponse* ns1__GetStatusResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: GetStatus document
//gsoap ns1 service method-encoding: GetStatus literal
//gsoap ns1 service method-action: GetStatus http://opcfoundation.org/webservices/XMLDA/1.0/GetStatus
int __ns1__GetStatus(
_ns1__GetStatus* ns1__GetStatus, ///< Request parameter
_ns1__GetStatusResponse* ns1__GetStatusResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__Read *
* *
\******************************************************************************/
/// Operation "__ns1__Read" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/Read"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__Read(
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:
_ns1__Read* ns1__Read,
// response parameters:
_ns1__ReadResponse* ns1__ReadResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__Read(
struct soap *soap,
// request parameters:
_ns1__Read* ns1__Read,
// response parameters:
_ns1__ReadResponse* ns1__ReadResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: Read document
//gsoap ns1 service method-encoding: Read literal
//gsoap ns1 service method-action: Read http://opcfoundation.org/webservices/XMLDA/1.0/Read
int __ns1__Read(
_ns1__Read* ns1__Read, ///< Request parameter
_ns1__ReadResponse* ns1__ReadResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__Write *
* *
\******************************************************************************/
/// Operation "__ns1__Write" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/Write"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__Write(
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:
_ns1__Write* ns1__Write,
// response parameters:
_ns1__WriteResponse* ns1__WriteResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__Write(
struct soap *soap,
// request parameters:
_ns1__Write* ns1__Write,
// response parameters:
_ns1__WriteResponse* ns1__WriteResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: Write document
//gsoap ns1 service method-encoding: Write literal
//gsoap ns1 service method-action: Write http://opcfoundation.org/webservices/XMLDA/1.0/Write
int __ns1__Write(
_ns1__Write* ns1__Write, ///< Request parameter
_ns1__WriteResponse* ns1__WriteResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__Subscribe *
* *
\******************************************************************************/
/// Operation "__ns1__Subscribe" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/Subscribe"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__Subscribe(
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:
_ns1__Subscribe* ns1__Subscribe,
// response parameters:
_ns1__SubscribeResponse* ns1__SubscribeResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__Subscribe(
struct soap *soap,
// request parameters:
_ns1__Subscribe* ns1__Subscribe,
// response parameters:
_ns1__SubscribeResponse* ns1__SubscribeResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: Subscribe document
//gsoap ns1 service method-encoding: Subscribe literal
//gsoap ns1 service method-action: Subscribe http://opcfoundation.org/webservices/XMLDA/1.0/Subscribe
int __ns1__Subscribe(
_ns1__Subscribe* ns1__Subscribe, ///< Request parameter
_ns1__SubscribeResponse* ns1__SubscribeResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__SubscriptionPolledRefresh *
* *
\******************************************************************************/
/// Operation "__ns1__SubscriptionPolledRefresh" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionPolledRefresh"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__SubscriptionPolledRefresh(
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:
_ns1__SubscriptionPolledRefresh* ns1__SubscriptionPolledRefresh,
// response parameters:
_ns1__SubscriptionPolledRefreshResponse* ns1__SubscriptionPolledRefreshResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__SubscriptionPolledRefresh(
struct soap *soap,
// request parameters:
_ns1__SubscriptionPolledRefresh* ns1__SubscriptionPolledRefresh,
// response parameters:
_ns1__SubscriptionPolledRefreshResponse* ns1__SubscriptionPolledRefreshResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: SubscriptionPolledRefresh document
//gsoap ns1 service method-encoding: SubscriptionPolledRefresh literal
//gsoap ns1 service method-action: SubscriptionPolledRefresh http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionPolledRefresh
int __ns1__SubscriptionPolledRefresh(
_ns1__SubscriptionPolledRefresh* ns1__SubscriptionPolledRefresh, ///< Request parameter
_ns1__SubscriptionPolledRefreshResponse* ns1__SubscriptionPolledRefreshResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__SubscriptionCancel *
* *
\******************************************************************************/
/// Operation "__ns1__SubscriptionCancel" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionCancel"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__SubscriptionCancel(
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:
_ns1__SubscriptionCancel* ns1__SubscriptionCancel,
// response parameters:
_ns1__SubscriptionCancelResponse* ns1__SubscriptionCancelResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__SubscriptionCancel(
struct soap *soap,
// request parameters:
_ns1__SubscriptionCancel* ns1__SubscriptionCancel,
// response parameters:
_ns1__SubscriptionCancelResponse* ns1__SubscriptionCancelResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: SubscriptionCancel document
//gsoap ns1 service method-encoding: SubscriptionCancel literal
//gsoap ns1 service method-action: SubscriptionCancel http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionCancel
int __ns1__SubscriptionCancel(
_ns1__SubscriptionCancel* ns1__SubscriptionCancel, ///< Request parameter
_ns1__SubscriptionCancelResponse* ns1__SubscriptionCancelResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__Browse *
* *
\******************************************************************************/
/// Operation "__ns1__Browse" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/Browse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__Browse(
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:
_ns1__Browse* ns1__Browse,
// response parameters:
_ns1__BrowseResponse* ns1__BrowseResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__Browse(
struct soap *soap,
// request parameters:
_ns1__Browse* ns1__Browse,
// response parameters:
_ns1__BrowseResponse* ns1__BrowseResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: Browse document
//gsoap ns1 service method-encoding: Browse literal
//gsoap ns1 service method-action: Browse http://opcfoundation.org/webservices/XMLDA/1.0/Browse
int __ns1__Browse(
_ns1__Browse* ns1__Browse, ///< Request parameter
_ns1__BrowseResponse* ns1__BrowseResponse ///< Response parameter
);
/******************************************************************************\
* *
* __ns1__GetProperties *
* *
\******************************************************************************/
/// Operation "__ns1__GetProperties" of service binding "Service"
/**
Operation details:
- SOAP document/literal style
- SOAP action="http://opcfoundation.org/webservices/XMLDA/1.0/GetProperties"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
int soap_call___ns1__GetProperties(
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:
_ns1__GetProperties* ns1__GetProperties,
// response parameters:
_ns1__GetPropertiesResponse* ns1__GetPropertiesResponse
);
@endcode
C server function (called from the service dispatcher defined in soapServer.c[pp]):
@code
int __ns1__GetProperties(
struct soap *soap,
// request parameters:
_ns1__GetProperties* ns1__GetProperties,
// response parameters:
_ns1__GetPropertiesResponse* ns1__GetPropertiesResponse
);
@endcode
C++ proxy class (defined in soapServiceProxy.h):
class Service;
*/
//gsoap ns1 service method-style: GetProperties document
//gsoap ns1 service method-encoding: GetProperties literal
//gsoap ns1 service method-action: GetProperties http://opcfoundation.org/webservices/XMLDA/1.0/GetProperties
int __ns1__GetProperties(
_ns1__GetProperties* ns1__GetProperties, ///< Request parameter
_ns1__GetPropertiesResponse* ns1__GetPropertiesResponse ///< Response parameter
);
/* End of opc_msg.h */
This source diff could not be displayed because it is too large. You can view the blob instead.
/* opc_soap_Client.cpp
Generated by gSOAP 2.7.9d from opc_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 "opc_soap_H.h"
SOAP_SOURCE_STAMP("@(#) opc_soap_Client.cpp ver 2.7.9d 2007-02-26 14:18:39 GMT")
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__GetStatus(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__GetStatus *ns1__GetStatus, _ns1__GetStatusResponse *ns1__GetStatusResponse)
{ struct __ns1__GetStatus soap_tmp___ns1__GetStatus;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/GetStatus";
soap->encodingStyle = NULL;
soap_tmp___ns1__GetStatus.ns1__GetStatus = ns1__GetStatus;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__GetStatus(soap, &soap_tmp___ns1__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___ns1__GetStatus(soap, &soap_tmp___ns1__GetStatus, "-ns1: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___ns1__GetStatus(soap, &soap_tmp___ns1__GetStatus, "-ns1:GetStatus", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__GetStatusResponse)
return soap_closesock(soap);
ns1__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);
ns1__GetStatusResponse->soap_get(soap, "ns1: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___ns1__Read(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Read *ns1__Read, _ns1__ReadResponse *ns1__ReadResponse)
{ struct __ns1__Read soap_tmp___ns1__Read;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/Read";
soap->encodingStyle = NULL;
soap_tmp___ns1__Read.ns1__Read = ns1__Read;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__Read(soap, &soap_tmp___ns1__Read);
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___ns1__Read(soap, &soap_tmp___ns1__Read, "-ns1:Read", "")
|| 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___ns1__Read(soap, &soap_tmp___ns1__Read, "-ns1:Read", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__ReadResponse)
return soap_closesock(soap);
ns1__ReadResponse->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);
ns1__ReadResponse->soap_get(soap, "ns1:ReadResponse", "");
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___ns1__Write(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Write *ns1__Write, _ns1__WriteResponse *ns1__WriteResponse)
{ struct __ns1__Write soap_tmp___ns1__Write;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/Write";
soap->encodingStyle = NULL;
soap_tmp___ns1__Write.ns1__Write = ns1__Write;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__Write(soap, &soap_tmp___ns1__Write);
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___ns1__Write(soap, &soap_tmp___ns1__Write, "-ns1:Write", "")
|| 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___ns1__Write(soap, &soap_tmp___ns1__Write, "-ns1:Write", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__WriteResponse)
return soap_closesock(soap);
ns1__WriteResponse->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);
ns1__WriteResponse->soap_get(soap, "ns1:WriteResponse", "");
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___ns1__Subscribe(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Subscribe *ns1__Subscribe, _ns1__SubscribeResponse *ns1__SubscribeResponse)
{ struct __ns1__Subscribe soap_tmp___ns1__Subscribe;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/Subscribe";
soap->encodingStyle = NULL;
soap_tmp___ns1__Subscribe.ns1__Subscribe = ns1__Subscribe;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__Subscribe(soap, &soap_tmp___ns1__Subscribe);
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___ns1__Subscribe(soap, &soap_tmp___ns1__Subscribe, "-ns1:Subscribe", "")
|| 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___ns1__Subscribe(soap, &soap_tmp___ns1__Subscribe, "-ns1:Subscribe", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__SubscribeResponse)
return soap_closesock(soap);
ns1__SubscribeResponse->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);
ns1__SubscribeResponse->soap_get(soap, "ns1:SubscribeResponse", "");
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___ns1__SubscriptionPolledRefresh(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh, _ns1__SubscriptionPolledRefreshResponse *ns1__SubscriptionPolledRefreshResponse)
{ struct __ns1__SubscriptionPolledRefresh soap_tmp___ns1__SubscriptionPolledRefresh;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionPolledRefresh";
soap->encodingStyle = NULL;
soap_tmp___ns1__SubscriptionPolledRefresh.ns1__SubscriptionPolledRefresh = ns1__SubscriptionPolledRefresh;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__SubscriptionPolledRefresh(soap, &soap_tmp___ns1__SubscriptionPolledRefresh);
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___ns1__SubscriptionPolledRefresh(soap, &soap_tmp___ns1__SubscriptionPolledRefresh, "-ns1:SubscriptionPolledRefresh", "")
|| 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___ns1__SubscriptionPolledRefresh(soap, &soap_tmp___ns1__SubscriptionPolledRefresh, "-ns1:SubscriptionPolledRefresh", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__SubscriptionPolledRefreshResponse)
return soap_closesock(soap);
ns1__SubscriptionPolledRefreshResponse->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);
ns1__SubscriptionPolledRefreshResponse->soap_get(soap, "ns1:SubscriptionPolledRefreshResponse", "");
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___ns1__SubscriptionCancel(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__SubscriptionCancel *ns1__SubscriptionCancel, _ns1__SubscriptionCancelResponse *ns1__SubscriptionCancelResponse)
{ struct __ns1__SubscriptionCancel soap_tmp___ns1__SubscriptionCancel;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/SubscriptionCancel";
soap->encodingStyle = NULL;
soap_tmp___ns1__SubscriptionCancel.ns1__SubscriptionCancel = ns1__SubscriptionCancel;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__SubscriptionCancel(soap, &soap_tmp___ns1__SubscriptionCancel);
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___ns1__SubscriptionCancel(soap, &soap_tmp___ns1__SubscriptionCancel, "-ns1:SubscriptionCancel", "")
|| 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___ns1__SubscriptionCancel(soap, &soap_tmp___ns1__SubscriptionCancel, "-ns1:SubscriptionCancel", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__SubscriptionCancelResponse)
return soap_closesock(soap);
ns1__SubscriptionCancelResponse->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);
ns1__SubscriptionCancelResponse->soap_get(soap, "ns1:SubscriptionCancelResponse", "");
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___ns1__Browse(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Browse *ns1__Browse, _ns1__BrowseResponse *ns1__BrowseResponse)
{ struct __ns1__Browse soap_tmp___ns1__Browse;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/Browse";
soap->encodingStyle = NULL;
soap_tmp___ns1__Browse.ns1__Browse = ns1__Browse;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__Browse(soap, &soap_tmp___ns1__Browse);
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___ns1__Browse(soap, &soap_tmp___ns1__Browse, "-ns1:Browse", "")
|| 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___ns1__Browse(soap, &soap_tmp___ns1__Browse, "-ns1:Browse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__BrowseResponse)
return soap_closesock(soap);
ns1__BrowseResponse->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);
ns1__BrowseResponse->soap_get(soap, "ns1:BrowseResponse", "");
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___ns1__GetProperties(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__GetProperties *ns1__GetProperties, _ns1__GetPropertiesResponse *ns1__GetPropertiesResponse)
{ struct __ns1__GetProperties soap_tmp___ns1__GetProperties;
if (!soap_action)
soap_action = "http://opcfoundation.org/webservices/XMLDA/1.0/GetProperties";
soap->encodingStyle = NULL;
soap_tmp___ns1__GetProperties.ns1__GetProperties = ns1__GetProperties;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___ns1__GetProperties(soap, &soap_tmp___ns1__GetProperties);
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___ns1__GetProperties(soap, &soap_tmp___ns1__GetProperties, "-ns1:GetProperties", "")
|| 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___ns1__GetProperties(soap, &soap_tmp___ns1__GetProperties, "-ns1:GetProperties", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!ns1__GetPropertiesResponse)
return soap_closesock(soap);
ns1__GetPropertiesResponse->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);
ns1__GetPropertiesResponse->soap_get(soap, "ns1:GetPropertiesResponse", "");
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 opc_soap_Client.cpp */
This source diff could not be displayed because it is too large. You can view the blob instead.
/* opc_soap_Server.cpp
Generated by gSOAP 2.7.9d from opc_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 "opc_soap_H.h"
SOAP_SOURCE_STAMP("@(#) opc_soap_Server.cpp ver 2.7.9d 2007-02-26 14:18:39 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, "ns1:GetStatus"))
return soap_serve___ns1__GetStatus(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:Read"))
return soap_serve___ns1__Read(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:Write"))
return soap_serve___ns1__Write(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:Subscribe"))
return soap_serve___ns1__Subscribe(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:SubscriptionPolledRefresh"))
return soap_serve___ns1__SubscriptionPolledRefresh(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:SubscriptionCancel"))
return soap_serve___ns1__SubscriptionCancel(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:Browse"))
return soap_serve___ns1__Browse(soap);
if (!soap_match_tag(soap, soap->tag, "ns1:GetProperties"))
return soap_serve___ns1__GetProperties(soap);
return soap->error = SOAP_NO_METHOD;
}
#endif
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__GetStatus(struct soap *soap)
{ struct __ns1__GetStatus soap_tmp___ns1__GetStatus;
_ns1__GetStatusResponse ns1__GetStatusResponse;
ns1__GetStatusResponse.soap_default(soap);
soap_default___ns1__GetStatus(soap, &soap_tmp___ns1__GetStatus);
soap->encodingStyle = NULL;
if (!soap_get___ns1__GetStatus(soap, &soap_tmp___ns1__GetStatus, "-ns1: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 = __ns1__GetStatus(soap, soap_tmp___ns1__GetStatus.ns1__GetStatus, &ns1__GetStatusResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__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)
|| ns1__GetStatusResponse.soap_put(soap, "ns1: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)
|| ns1__GetStatusResponse.soap_put(soap, "ns1: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___ns1__Read(struct soap *soap)
{ struct __ns1__Read soap_tmp___ns1__Read;
_ns1__ReadResponse ns1__ReadResponse;
ns1__ReadResponse.soap_default(soap);
soap_default___ns1__Read(soap, &soap_tmp___ns1__Read);
soap->encodingStyle = NULL;
if (!soap_get___ns1__Read(soap, &soap_tmp___ns1__Read, "-ns1:Read", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__Read(soap, soap_tmp___ns1__Read.ns1__Read, &ns1__ReadResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__ReadResponse.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)
|| ns1__ReadResponse.soap_put(soap, "ns1:ReadResponse", "")
|| 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)
|| ns1__ReadResponse.soap_put(soap, "ns1:ReadResponse", "")
|| 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___ns1__Write(struct soap *soap)
{ struct __ns1__Write soap_tmp___ns1__Write;
_ns1__WriteResponse ns1__WriteResponse;
ns1__WriteResponse.soap_default(soap);
soap_default___ns1__Write(soap, &soap_tmp___ns1__Write);
soap->encodingStyle = NULL;
if (!soap_get___ns1__Write(soap, &soap_tmp___ns1__Write, "-ns1:Write", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__Write(soap, soap_tmp___ns1__Write.ns1__Write, &ns1__WriteResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__WriteResponse.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)
|| ns1__WriteResponse.soap_put(soap, "ns1:WriteResponse", "")
|| 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)
|| ns1__WriteResponse.soap_put(soap, "ns1:WriteResponse", "")
|| 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___ns1__Subscribe(struct soap *soap)
{ struct __ns1__Subscribe soap_tmp___ns1__Subscribe;
_ns1__SubscribeResponse ns1__SubscribeResponse;
ns1__SubscribeResponse.soap_default(soap);
soap_default___ns1__Subscribe(soap, &soap_tmp___ns1__Subscribe);
soap->encodingStyle = NULL;
if (!soap_get___ns1__Subscribe(soap, &soap_tmp___ns1__Subscribe, "-ns1:Subscribe", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__Subscribe(soap, soap_tmp___ns1__Subscribe.ns1__Subscribe, &ns1__SubscribeResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__SubscribeResponse.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)
|| ns1__SubscribeResponse.soap_put(soap, "ns1:SubscribeResponse", "")
|| 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)
|| ns1__SubscribeResponse.soap_put(soap, "ns1:SubscribeResponse", "")
|| 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___ns1__SubscriptionPolledRefresh(struct soap *soap)
{ struct __ns1__SubscriptionPolledRefresh soap_tmp___ns1__SubscriptionPolledRefresh;
_ns1__SubscriptionPolledRefreshResponse ns1__SubscriptionPolledRefreshResponse;
ns1__SubscriptionPolledRefreshResponse.soap_default(soap);
soap_default___ns1__SubscriptionPolledRefresh(soap, &soap_tmp___ns1__SubscriptionPolledRefresh);
soap->encodingStyle = NULL;
if (!soap_get___ns1__SubscriptionPolledRefresh(soap, &soap_tmp___ns1__SubscriptionPolledRefresh, "-ns1:SubscriptionPolledRefresh", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__SubscriptionPolledRefresh(soap, soap_tmp___ns1__SubscriptionPolledRefresh.ns1__SubscriptionPolledRefresh, &ns1__SubscriptionPolledRefreshResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__SubscriptionPolledRefreshResponse.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)
|| ns1__SubscriptionPolledRefreshResponse.soap_put(soap, "ns1:SubscriptionPolledRefreshResponse", "")
|| 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)
|| ns1__SubscriptionPolledRefreshResponse.soap_put(soap, "ns1:SubscriptionPolledRefreshResponse", "")
|| 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___ns1__SubscriptionCancel(struct soap *soap)
{ struct __ns1__SubscriptionCancel soap_tmp___ns1__SubscriptionCancel;
_ns1__SubscriptionCancelResponse ns1__SubscriptionCancelResponse;
ns1__SubscriptionCancelResponse.soap_default(soap);
soap_default___ns1__SubscriptionCancel(soap, &soap_tmp___ns1__SubscriptionCancel);
soap->encodingStyle = NULL;
if (!soap_get___ns1__SubscriptionCancel(soap, &soap_tmp___ns1__SubscriptionCancel, "-ns1:SubscriptionCancel", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__SubscriptionCancel(soap, soap_tmp___ns1__SubscriptionCancel.ns1__SubscriptionCancel, &ns1__SubscriptionCancelResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__SubscriptionCancelResponse.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)
|| ns1__SubscriptionCancelResponse.soap_put(soap, "ns1:SubscriptionCancelResponse", "")
|| 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)
|| ns1__SubscriptionCancelResponse.soap_put(soap, "ns1:SubscriptionCancelResponse", "")
|| 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___ns1__Browse(struct soap *soap)
{ struct __ns1__Browse soap_tmp___ns1__Browse;
_ns1__BrowseResponse ns1__BrowseResponse;
ns1__BrowseResponse.soap_default(soap);
soap_default___ns1__Browse(soap, &soap_tmp___ns1__Browse);
soap->encodingStyle = NULL;
if (!soap_get___ns1__Browse(soap, &soap_tmp___ns1__Browse, "-ns1:Browse", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__Browse(soap, soap_tmp___ns1__Browse.ns1__Browse, &ns1__BrowseResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__BrowseResponse.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)
|| ns1__BrowseResponse.soap_put(soap, "ns1:BrowseResponse", "")
|| 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)
|| ns1__BrowseResponse.soap_put(soap, "ns1:BrowseResponse", "")
|| 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___ns1__GetProperties(struct soap *soap)
{ struct __ns1__GetProperties soap_tmp___ns1__GetProperties;
_ns1__GetPropertiesResponse ns1__GetPropertiesResponse;
ns1__GetPropertiesResponse.soap_default(soap);
soap_default___ns1__GetProperties(soap, &soap_tmp___ns1__GetProperties);
soap->encodingStyle = NULL;
if (!soap_get___ns1__GetProperties(soap, &soap_tmp___ns1__GetProperties, "-ns1:GetProperties", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__GetProperties(soap, soap_tmp___ns1__GetProperties.ns1__GetProperties, &ns1__GetPropertiesResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
ns1__GetPropertiesResponse.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)
|| ns1__GetPropertiesResponse.soap_put(soap, "ns1:GetPropertiesResponse", "")
|| 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)
|| ns1__GetPropertiesResponse.soap_put(soap, "ns1:GetPropertiesResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
/* End of opc_soap_Server.cpp */
/* opc_soap_ServiceObject.h
Generated by gSOAP 2.7.9d from opc_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 opc_soap_Service_H
#define opc_soap_Service_H
#include "opc_soap_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},
{"ns1", "http://opcfoundation.org/webservices/XMLDA/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 __ns1__GetStatus(struct soap*, _ns1__GetStatus *ns1__GetStatus, _ns1__GetStatusResponse *ns1__GetStatusResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Read(struct soap*, _ns1__Read *ns1__Read, _ns1__ReadResponse *ns1__ReadResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Write(struct soap*, _ns1__Write *ns1__Write, _ns1__WriteResponse *ns1__WriteResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Subscribe(struct soap*, _ns1__Subscribe *ns1__Subscribe, _ns1__SubscribeResponse *ns1__SubscribeResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__SubscriptionPolledRefresh(struct soap*, _ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh, _ns1__SubscriptionPolledRefreshResponse *ns1__SubscriptionPolledRefreshResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__SubscriptionCancel(struct soap*, _ns1__SubscriptionCancel *ns1__SubscriptionCancel, _ns1__SubscriptionCancelResponse *ns1__SubscriptionCancelResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Browse(struct soap*, _ns1__Browse *ns1__Browse, _ns1__BrowseResponse *ns1__BrowseResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__GetProperties(struct soap*, _ns1__GetProperties *ns1__GetProperties, _ns1__GetPropertiesResponse *ns1__GetPropertiesResponse);
#endif
/* opc_soap_ServiceProxy.h
Generated by gSOAP 2.7.9d from opc_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 opc_soap_Service_H
#define opc_soap_Service_H
#include "opc_soap_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},
{"ns1", "http://opcfoundation.org/webservices/XMLDA/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 __ns1__GetStatus(_ns1__GetStatus *ns1__GetStatus, _ns1__GetStatusResponse *ns1__GetStatusResponse) { return soap ? soap_call___ns1__GetStatus(soap, endpoint, NULL, ns1__GetStatus, ns1__GetStatusResponse) : SOAP_EOM; };
virtual int __ns1__Read(_ns1__Read *ns1__Read, _ns1__ReadResponse *ns1__ReadResponse) { return soap ? soap_call___ns1__Read(soap, endpoint, NULL, ns1__Read, ns1__ReadResponse) : SOAP_EOM; };
virtual int __ns1__Write(_ns1__Write *ns1__Write, _ns1__WriteResponse *ns1__WriteResponse) { return soap ? soap_call___ns1__Write(soap, endpoint, NULL, ns1__Write, ns1__WriteResponse) : SOAP_EOM; };
virtual int __ns1__Subscribe(_ns1__Subscribe *ns1__Subscribe, _ns1__SubscribeResponse *ns1__SubscribeResponse) { return soap ? soap_call___ns1__Subscribe(soap, endpoint, NULL, ns1__Subscribe, ns1__SubscribeResponse) : SOAP_EOM; };
virtual int __ns1__SubscriptionPolledRefresh(_ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh, _ns1__SubscriptionPolledRefreshResponse *ns1__SubscriptionPolledRefreshResponse) { return soap ? soap_call___ns1__SubscriptionPolledRefresh(soap, endpoint, NULL, ns1__SubscriptionPolledRefresh, ns1__SubscriptionPolledRefreshResponse) : SOAP_EOM; };
virtual int __ns1__SubscriptionCancel(_ns1__SubscriptionCancel *ns1__SubscriptionCancel, _ns1__SubscriptionCancelResponse *ns1__SubscriptionCancelResponse) { return soap ? soap_call___ns1__SubscriptionCancel(soap, endpoint, NULL, ns1__SubscriptionCancel, ns1__SubscriptionCancelResponse) : SOAP_EOM; };
virtual int __ns1__Browse(_ns1__Browse *ns1__Browse, _ns1__BrowseResponse *ns1__BrowseResponse) { return soap ? soap_call___ns1__Browse(soap, endpoint, NULL, ns1__Browse, ns1__BrowseResponse) : SOAP_EOM; };
virtual int __ns1__GetProperties(_ns1__GetProperties *ns1__GetProperties, _ns1__GetPropertiesResponse *ns1__GetPropertiesResponse) { return soap ? soap_call___ns1__GetProperties(soap, endpoint, NULL, ns1__GetProperties, ns1__GetPropertiesResponse) : SOAP_EOM; };
};
#endif
/* opc_soap_Stub.h
Generated by gSOAP 2.7.9d from opc_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 opc_soap_Stub_H
#define opc_soap_Stub_H
#include <vector>
#include "stdsoap2.h"
/******************************************************************************\
* *
* Enumerations *
* *
\******************************************************************************/
#ifndef SOAP_TYPE_ns1__serverState
#define SOAP_TYPE_ns1__serverState (59)
/* ns1:serverState */
enum ns1__serverState {ns1__serverState__running = 0, ns1__serverState__failed = 1, ns1__serverState__noConfig = 2, ns1__serverState__suspended = 3, ns1__serverState__test = 4, ns1__serverState__commFault = 5};
#endif
#ifndef SOAP_TYPE_ns1__interfaceVersion
#define SOAP_TYPE_ns1__interfaceVersion (60)
/* ns1:interfaceVersion */
enum ns1__interfaceVersion {ns1__interfaceVersion__XML_USCOREDA_USCOREVersion_USCORE1_USCORE0 = 0};
#endif
#ifndef SOAP_TYPE_ns1__qualityBits
#define SOAP_TYPE_ns1__qualityBits (61)
/* ns1:qualityBits */
enum ns1__qualityBits {ns1__qualityBits__bad = 0, ns1__qualityBits__badConfigurationError = 1, ns1__qualityBits__badNotConnected = 2, ns1__qualityBits__badDeviceFailure = 3, ns1__qualityBits__badSensorFailure = 4, ns1__qualityBits__badLastKnownValue = 5, ns1__qualityBits__badCommFailure = 6, ns1__qualityBits__badOutOfService = 7, ns1__qualityBits__badWaitingForInitialData = 8, ns1__qualityBits__uncertain = 9, ns1__qualityBits__uncertainLastUsableValue = 10, ns1__qualityBits__uncertainSensorNotAccurate = 11, ns1__qualityBits__uncertainEUExceeded = 12, ns1__qualityBits__uncertainSubNormal = 13, ns1__qualityBits__good = 14, ns1__qualityBits__goodLocalOverride = 15};
#endif
#ifndef SOAP_TYPE_ns1__limitBits
#define SOAP_TYPE_ns1__limitBits (62)
/* ns1:limitBits */
enum ns1__limitBits {ns1__limitBits__none = 0, ns1__limitBits__low = 1, ns1__limitBits__high = 2, ns1__limitBits__constant = 3};
#endif
#ifndef SOAP_TYPE_ns1__browseFilter
#define SOAP_TYPE_ns1__browseFilter (63)
/* ns1:browseFilter */
enum ns1__browseFilter {ns1__browseFilter__all = 0, ns1__browseFilter__branch = 1, ns1__browseFilter__item = 2};
#endif
/******************************************************************************\
* *
* Classes and Structs *
* *
\******************************************************************************/
#if 0 /* volatile type: do not redeclare */
#endif
#ifndef SOAP_TYPE_ns1__ReplyBase
#define SOAP_TYPE_ns1__ReplyBase (10)
/* ns1:ReplyBase */
class SOAP_CMAC ns1__ReplyBase
{
public:
time_t RcvTime; /* required attribute */
time_t ReplyTime; /* required attribute */
std::string *ClientRequestHandle; /* optional attribute */
std::string *RevisedLocaleID; /* optional attribute */
enum ns1__serverState ServerState; /* required attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 10; } /* = unique id SOAP_TYPE_ns1__ReplyBase */
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*);
ns1__ReplyBase() : ClientRequestHandle(NULL), RevisedLocaleID(NULL), soap(NULL) { }
virtual ~ns1__ReplyBase() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ServerStatus
#define SOAP_TYPE_ns1__ServerStatus (11)
/* ns1:ServerStatus */
class SOAP_CMAC ns1__ServerStatus
{
public:
std::string *StatusInfo; /* optional element of type xsd:string */
std::string *VendorInfo; /* optional element of type xsd:string */
std::vector<std::string >SupportedLocaleIDs; /* optional element of type xsd:string */
std::vector<enum ns1__interfaceVersion >SupportedInterfaceVersions; /* optional element of type ns1:interfaceVersion */
time_t StartTime; /* required attribute */
std::string *ProductVersion; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 11; } /* = unique id SOAP_TYPE_ns1__ServerStatus */
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*);
ns1__ServerStatus() : StatusInfo(NULL), VendorInfo(NULL), ProductVersion(NULL), soap(NULL) { }
virtual ~ns1__ServerStatus() { }
};
#endif
#ifndef SOAP_TYPE_ns1__RequestOptions
#define SOAP_TYPE_ns1__RequestOptions (12)
/* ns1:RequestOptions */
class SOAP_CMAC ns1__RequestOptions
{
public:
bool *ReturnErrorText; /* optional attribute */
bool *ReturnDiagnosticInfo; /* optional attribute */
bool *ReturnItemTime; /* optional attribute */
bool *ReturnItemPath; /* optional attribute */
bool *ReturnItemName; /* optional attribute */
time_t *RequestDeadline; /* optional attribute */
std::string *ClientRequestHandle; /* optional attribute */
std::string *LocaleID; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 12; } /* = unique id SOAP_TYPE_ns1__RequestOptions */
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*);
ns1__RequestOptions() : ReturnErrorText(NULL), ReturnDiagnosticInfo(NULL), ReturnItemTime(NULL), ReturnItemPath(NULL), ReturnItemName(NULL), RequestDeadline(NULL), ClientRequestHandle(NULL), LocaleID(NULL), soap(NULL) { }
virtual ~ns1__RequestOptions() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ReadRequestItemList
#define SOAP_TYPE_ns1__ReadRequestItemList (13)
/* ns1:ReadRequestItemList */
class SOAP_CMAC ns1__ReadRequestItemList
{
public:
std::vector<class ns1__ReadRequestItem * >Items; /* optional element of type ns1:ReadRequestItem */
std::string *ItemPath; /* optional attribute */
std::string *ReqType; /* optional attribute */
int *MaxAge; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 13; } /* = unique id SOAP_TYPE_ns1__ReadRequestItemList */
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*);
ns1__ReadRequestItemList() : ItemPath(NULL), ReqType(NULL), MaxAge(NULL), soap(NULL) { }
virtual ~ns1__ReadRequestItemList() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ReadRequestItem
#define SOAP_TYPE_ns1__ReadRequestItem (14)
/* ns1:ReadRequestItem */
class SOAP_CMAC ns1__ReadRequestItem
{
public:
std::string *ItemPath; /* optional attribute */
std::string *ReqType; /* optional attribute */
std::string *ItemName; /* optional attribute */
std::string *ClientItemHandle; /* optional attribute */
int *MaxAge; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 14; } /* = unique id SOAP_TYPE_ns1__ReadRequestItem */
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*);
ns1__ReadRequestItem() : ItemPath(NULL), ReqType(NULL), ItemName(NULL), ClientItemHandle(NULL), MaxAge(NULL), soap(NULL) { }
virtual ~ns1__ReadRequestItem() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ReplyItemList
#define SOAP_TYPE_ns1__ReplyItemList (15)
/* ns1:ReplyItemList */
class SOAP_CMAC ns1__ReplyItemList
{
public:
std::vector<class ns1__ItemValue * >Items; /* optional element of type ns1:ItemValue */
std::string *Reserved; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 15; } /* = unique id SOAP_TYPE_ns1__ReplyItemList */
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*);
ns1__ReplyItemList() : Reserved(NULL), soap(NULL) { }
virtual ~ns1__ReplyItemList() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ItemValue
#define SOAP_TYPE_ns1__ItemValue (16)
/* ns1:ItemValue */
class SOAP_CMAC ns1__ItemValue
{
public:
std::string *DiagnosticInfo; /* optional element of type xsd:string */
char *Value; /* optional element of type xsd:anyType */
class ns1__OPCQuality *Quality; /* optional element of type ns1:OPCQuality */
std::string *ValueTypeQualifier; /* optional attribute */
std::string *ItemPath; /* optional attribute */
std::string *ItemName; /* optional attribute */
std::string *ClientItemHandle; /* optional attribute */
time_t *Timestamp; /* optional attribute */
std::string *ResultID; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 16; } /* = unique id SOAP_TYPE_ns1__ItemValue */
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*);
ns1__ItemValue() : DiagnosticInfo(NULL), Value(NULL), Quality(NULL), ValueTypeQualifier(NULL), ItemPath(NULL), ItemName(NULL), ClientItemHandle(NULL), Timestamp(NULL), ResultID(NULL), soap(NULL) { }
virtual ~ns1__ItemValue() { }
};
#endif
#ifndef SOAP_TYPE_ns1__OPCQuality
#define SOAP_TYPE_ns1__OPCQuality (17)
/* ns1:OPCQuality */
class SOAP_CMAC ns1__OPCQuality
{
public:
enum ns1__qualityBits *QualityField; /* optional attribute */
enum ns1__limitBits *LimitField; /* optional attribute */
unsigned short *VendorField; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 17; } /* = unique id SOAP_TYPE_ns1__OPCQuality */
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*);
ns1__OPCQuality() : QualityField(NULL), LimitField(NULL), VendorField(NULL), soap(NULL) { }
virtual ~ns1__OPCQuality() { }
};
#endif
#ifndef SOAP_TYPE_ns1__OPCError
#define SOAP_TYPE_ns1__OPCError (18)
/* ns1:OPCError */
class SOAP_CMAC ns1__OPCError
{
public:
std::string *Text; /* optional element of type xsd:string */
std::string ID; /* required attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 18; } /* = unique id SOAP_TYPE_ns1__OPCError */
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*);
ns1__OPCError() : Text(NULL), soap(NULL) { }
virtual ~ns1__OPCError() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfFloat
#define SOAP_TYPE_ns1__ArrayOfFloat (19)
/* ns1:ArrayOfFloat */
class SOAP_CMAC ns1__ArrayOfFloat
{
public:
std::vector<float >float_; /* optional element of type xsd:float */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 19; } /* = unique id SOAP_TYPE_ns1__ArrayOfFloat */
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*);
ns1__ArrayOfFloat() : soap(NULL) { }
virtual ~ns1__ArrayOfFloat() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfInt
#define SOAP_TYPE_ns1__ArrayOfInt (20)
/* ns1:ArrayOfInt */
class SOAP_CMAC ns1__ArrayOfInt
{
public:
std::vector<int >int_; /* optional element of type xsd:int */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 20; } /* = unique id SOAP_TYPE_ns1__ArrayOfInt */
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*);
ns1__ArrayOfInt() : soap(NULL) { }
virtual ~ns1__ArrayOfInt() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfUnsignedInt
#define SOAP_TYPE_ns1__ArrayOfUnsignedInt (21)
/* ns1:ArrayOfUnsignedInt */
class SOAP_CMAC ns1__ArrayOfUnsignedInt
{
public:
std::vector<unsigned int >unsignedInt; /* optional element of type xsd:unsignedInt */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 21; } /* = unique id SOAP_TYPE_ns1__ArrayOfUnsignedInt */
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*);
ns1__ArrayOfUnsignedInt() : soap(NULL) { }
virtual ~ns1__ArrayOfUnsignedInt() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfLong
#define SOAP_TYPE_ns1__ArrayOfLong (22)
/* ns1:ArrayOfLong */
class SOAP_CMAC ns1__ArrayOfLong
{
public:
std::vector<LONG64 >long_; /* optional element of type xsd:long */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 22; } /* = unique id SOAP_TYPE_ns1__ArrayOfLong */
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*);
ns1__ArrayOfLong() : soap(NULL) { }
virtual ~ns1__ArrayOfLong() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfUnsignedLong
#define SOAP_TYPE_ns1__ArrayOfUnsignedLong (23)
/* ns1:ArrayOfUnsignedLong */
class SOAP_CMAC ns1__ArrayOfUnsignedLong
{
public:
std::vector<ULONG64 >unsignedLong; /* optional element of type xsd:unsignedLong */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 23; } /* = unique id SOAP_TYPE_ns1__ArrayOfUnsignedLong */
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*);
ns1__ArrayOfUnsignedLong() : soap(NULL) { }
virtual ~ns1__ArrayOfUnsignedLong() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfDouble
#define SOAP_TYPE_ns1__ArrayOfDouble (24)
/* ns1:ArrayOfDouble */
class SOAP_CMAC ns1__ArrayOfDouble
{
public:
std::vector<double >double_; /* optional element of type xsd:double */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 24; } /* = unique id SOAP_TYPE_ns1__ArrayOfDouble */
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*);
ns1__ArrayOfDouble() : soap(NULL) { }
virtual ~ns1__ArrayOfDouble() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfUnsignedShort
#define SOAP_TYPE_ns1__ArrayOfUnsignedShort (25)
/* ns1:ArrayOfUnsignedShort */
class SOAP_CMAC ns1__ArrayOfUnsignedShort
{
public:
std::vector<unsigned short >unsignedShort; /* optional element of type xsd:unsignedShort */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 25; } /* = unique id SOAP_TYPE_ns1__ArrayOfUnsignedShort */
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*);
ns1__ArrayOfUnsignedShort() : soap(NULL) { }
virtual ~ns1__ArrayOfUnsignedShort() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfBoolean
#define SOAP_TYPE_ns1__ArrayOfBoolean (26)
/* ns1:ArrayOfBoolean */
class SOAP_CMAC ns1__ArrayOfBoolean
{
public:
std::vector<bool >boolean; /* optional element of type xsd:boolean */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 26; } /* = unique id SOAP_TYPE_ns1__ArrayOfBoolean */
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*);
ns1__ArrayOfBoolean() : soap(NULL) { }
virtual ~ns1__ArrayOfBoolean() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfString
#define SOAP_TYPE_ns1__ArrayOfString (27)
/* ns1:ArrayOfString */
class SOAP_CMAC ns1__ArrayOfString
{
public:
std::vector<std::string >string; /* optional element of type xsd:string */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 27; } /* = unique id SOAP_TYPE_ns1__ArrayOfString */
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*);
ns1__ArrayOfString() : soap(NULL) { }
virtual ~ns1__ArrayOfString() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfDateTime
#define SOAP_TYPE_ns1__ArrayOfDateTime (28)
/* ns1:ArrayOfDateTime */
class SOAP_CMAC ns1__ArrayOfDateTime
{
public:
std::vector<time_t >dateTime; /* optional element of type xsd:dateTime */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 28; } /* = unique id SOAP_TYPE_ns1__ArrayOfDateTime */
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*);
ns1__ArrayOfDateTime() : soap(NULL) { }
virtual ~ns1__ArrayOfDateTime() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfAnyType
#define SOAP_TYPE_ns1__ArrayOfAnyType (29)
/* ns1:ArrayOfAnyType */
class SOAP_CMAC ns1__ArrayOfAnyType
{
public:
std::vector<char * >anyType; /* optional element of type xsd:anyType */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 29; } /* = unique id SOAP_TYPE_ns1__ArrayOfAnyType */
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*);
ns1__ArrayOfAnyType() : soap(NULL) { }
virtual ~ns1__ArrayOfAnyType() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfDecimal
#define SOAP_TYPE_ns1__ArrayOfDecimal (30)
/* ns1:ArrayOfDecimal */
class SOAP_CMAC ns1__ArrayOfDecimal
{
public:
std::vector<std::string >decimal; /* optional element of type xsd:decimal */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 30; } /* = unique id SOAP_TYPE_ns1__ArrayOfDecimal */
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*);
ns1__ArrayOfDecimal() : soap(NULL) { }
virtual ~ns1__ArrayOfDecimal() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfByte
#define SOAP_TYPE_ns1__ArrayOfByte (31)
/* ns1:ArrayOfByte */
class SOAP_CMAC ns1__ArrayOfByte
{
public:
std::vector<char >byte; /* optional element of type xsd:byte */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 31; } /* = unique id SOAP_TYPE_ns1__ArrayOfByte */
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*);
ns1__ArrayOfByte() : soap(NULL) { }
virtual ~ns1__ArrayOfByte() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ArrayOfShort
#define SOAP_TYPE_ns1__ArrayOfShort (32)
/* ns1:ArrayOfShort */
class SOAP_CMAC ns1__ArrayOfShort
{
public:
std::vector<short >short_; /* optional element of type xsd:short */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 32; } /* = unique id SOAP_TYPE_ns1__ArrayOfShort */
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*);
ns1__ArrayOfShort() : soap(NULL) { }
virtual ~ns1__ArrayOfShort() { }
};
#endif
#ifndef SOAP_TYPE_ns1__WriteRequestItemList
#define SOAP_TYPE_ns1__WriteRequestItemList (33)
/* ns1:WriteRequestItemList */
class SOAP_CMAC ns1__WriteRequestItemList
{
public:
std::vector<ns1__ItemValue * >Items; /* optional element of type ns1:ItemValue */
std::string *ItemPath; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 33; } /* = unique id SOAP_TYPE_ns1__WriteRequestItemList */
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*);
ns1__WriteRequestItemList() : ItemPath(NULL), soap(NULL) { }
virtual ~ns1__WriteRequestItemList() { }
};
#endif
#ifndef SOAP_TYPE_ns1__SubscribeRequestItemList
#define SOAP_TYPE_ns1__SubscribeRequestItemList (34)
/* ns1:SubscribeRequestItemList */
class SOAP_CMAC ns1__SubscribeRequestItemList
{
public:
std::vector<class ns1__SubscribeRequestItem * >Items; /* optional element of type ns1:SubscribeRequestItem */
std::string *ItemPath; /* optional attribute */
std::string *ReqType; /* optional attribute */
float *Deadband; /* optional attribute */
int *RequestedSamplingRate; /* optional attribute */
bool *EnableBuffering; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 34; } /* = unique id SOAP_TYPE_ns1__SubscribeRequestItemList */
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*);
ns1__SubscribeRequestItemList() : ItemPath(NULL), ReqType(NULL), Deadband(NULL), RequestedSamplingRate(NULL), EnableBuffering(NULL), soap(NULL) { }
virtual ~ns1__SubscribeRequestItemList() { }
};
#endif
#ifndef SOAP_TYPE_ns1__SubscribeRequestItem
#define SOAP_TYPE_ns1__SubscribeRequestItem (35)
/* ns1:SubscribeRequestItem */
class SOAP_CMAC ns1__SubscribeRequestItem
{
public:
std::string *ItemPath; /* optional attribute */
std::string *ReqType; /* optional attribute */
std::string *ItemName; /* optional attribute */
std::string *ClientItemHandle; /* optional attribute */
float *Deadband; /* optional attribute */
int *RequestedSamplingRate; /* optional attribute */
bool *EnableBuffering; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 35; } /* = unique id SOAP_TYPE_ns1__SubscribeRequestItem */
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*);
ns1__SubscribeRequestItem() : ItemPath(NULL), ReqType(NULL), ItemName(NULL), ClientItemHandle(NULL), Deadband(NULL), RequestedSamplingRate(NULL), EnableBuffering(NULL), soap(NULL) { }
virtual ~ns1__SubscribeRequestItem() { }
};
#endif
#ifndef SOAP_TYPE_ns1__SubscribeReplyItemList
#define SOAP_TYPE_ns1__SubscribeReplyItemList (36)
/* ns1:SubscribeReplyItemList */
class SOAP_CMAC ns1__SubscribeReplyItemList
{
public:
std::vector<class ns1__SubscribeItemValue * >Items; /* optional element of type ns1:SubscribeItemValue */
int *RevisedSamplingRate; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 36; } /* = unique id SOAP_TYPE_ns1__SubscribeReplyItemList */
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*);
ns1__SubscribeReplyItemList() : RevisedSamplingRate(NULL), soap(NULL) { }
virtual ~ns1__SubscribeReplyItemList() { }
};
#endif
#ifndef SOAP_TYPE_ns1__SubscribeItemValue
#define SOAP_TYPE_ns1__SubscribeItemValue (37)
/* ns1:SubscribeItemValue */
class SOAP_CMAC ns1__SubscribeItemValue
{
public:
ns1__ItemValue *ItemValue; /* optional element of type ns1:ItemValue */
int *RevisedSamplingRate; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 37; } /* = unique id SOAP_TYPE_ns1__SubscribeItemValue */
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*);
ns1__SubscribeItemValue() : ItemValue(NULL), RevisedSamplingRate(NULL), soap(NULL) { }
virtual ~ns1__SubscribeItemValue() { }
};
#endif
#ifndef SOAP_TYPE_ns1__SubscribePolledRefreshReplyItemList
#define SOAP_TYPE_ns1__SubscribePolledRefreshReplyItemList (38)
/* ns1:SubscribePolledRefreshReplyItemList */
class SOAP_CMAC ns1__SubscribePolledRefreshReplyItemList
{
public:
std::vector<ns1__ItemValue * >Items; /* optional element of type ns1:ItemValue */
std::string *SubscriptionHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 38; } /* = unique id SOAP_TYPE_ns1__SubscribePolledRefreshReplyItemList */
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*);
ns1__SubscribePolledRefreshReplyItemList() : SubscriptionHandle(NULL), soap(NULL) { }
virtual ~ns1__SubscribePolledRefreshReplyItemList() { }
};
#endif
#ifndef SOAP_TYPE_ns1__BrowseElement
#define SOAP_TYPE_ns1__BrowseElement (39)
/* ns1:BrowseElement */
class SOAP_CMAC ns1__BrowseElement
{
public:
std::vector<class ns1__ItemProperty * >Properties; /* optional element of type ns1:ItemProperty */
std::string *Name; /* optional attribute */
std::string *ItemPath; /* optional attribute */
std::string *ItemName; /* optional attribute */
bool IsItem; /* required attribute */
bool HasChildren; /* required attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 39; } /* = unique id SOAP_TYPE_ns1__BrowseElement */
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*);
ns1__BrowseElement() : Name(NULL), ItemPath(NULL), ItemName(NULL), soap(NULL) { }
virtual ~ns1__BrowseElement() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ItemProperty
#define SOAP_TYPE_ns1__ItemProperty (40)
/* ns1:ItemProperty */
class SOAP_CMAC ns1__ItemProperty
{
public:
char *Value; /* optional element of type xsd:anyType */
std::string Name; /* required attribute */
std::string *Description; /* optional attribute */
std::string *ItemPath; /* optional attribute */
std::string *ItemName; /* optional attribute */
std::string *ResultID; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 40; } /* = unique id SOAP_TYPE_ns1__ItemProperty */
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*);
ns1__ItemProperty() : Value(NULL), Description(NULL), ItemPath(NULL), ItemName(NULL), ResultID(NULL), soap(NULL) { }
virtual ~ns1__ItemProperty() { }
};
#endif
#ifndef SOAP_TYPE_ns1__ItemIdentifier
#define SOAP_TYPE_ns1__ItemIdentifier (41)
/* ns1:ItemIdentifier */
class SOAP_CMAC ns1__ItemIdentifier
{
public:
std::string *ItemPath; /* optional attribute */
std::string *ItemName; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 41; } /* = unique id SOAP_TYPE_ns1__ItemIdentifier */
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*);
ns1__ItemIdentifier() : ItemPath(NULL), ItemName(NULL), soap(NULL) { }
virtual ~ns1__ItemIdentifier() { }
};
#endif
#ifndef SOAP_TYPE_ns1__PropertyReplyList
#define SOAP_TYPE_ns1__PropertyReplyList (42)
/* ns1:PropertyReplyList */
class SOAP_CMAC ns1__PropertyReplyList
{
public:
std::vector<ns1__ItemProperty * >Properties; /* optional element of type ns1:ItemProperty */
std::string *ItemPath; /* optional attribute */
std::string *ItemName; /* optional attribute */
std::string *ResultID; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 42; } /* = unique id SOAP_TYPE_ns1__PropertyReplyList */
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*);
ns1__PropertyReplyList() : ItemPath(NULL), ItemName(NULL), ResultID(NULL), soap(NULL) { }
virtual ~ns1__PropertyReplyList() { }
};
#endif
#ifndef SOAP_TYPE__ns1__GetStatus
#define SOAP_TYPE__ns1__GetStatus (43)
/* ns1:GetStatus */
class SOAP_CMAC _ns1__GetStatus
{
public:
std::string *LocaleID; /* optional attribute */
std::string *ClientRequestHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 43; } /* = unique id SOAP_TYPE__ns1__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*);
_ns1__GetStatus() : LocaleID(NULL), ClientRequestHandle(NULL), soap(NULL) { }
virtual ~_ns1__GetStatus() { }
};
#endif
#ifndef SOAP_TYPE__ns1__GetStatusResponse
#define SOAP_TYPE__ns1__GetStatusResponse (44)
/* ns1:GetStatusResponse */
class SOAP_CMAC _ns1__GetStatusResponse
{
public:
ns1__ReplyBase *GetStatusResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
ns1__ServerStatus *Status; /* optional element of type ns1:ServerStatus */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 44; } /* = unique id SOAP_TYPE__ns1__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*);
_ns1__GetStatusResponse() : GetStatusResult(NULL), Status(NULL), soap(NULL) { }
virtual ~_ns1__GetStatusResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__Read
#define SOAP_TYPE__ns1__Read (45)
/* ns1:Read */
class SOAP_CMAC _ns1__Read
{
public:
ns1__RequestOptions *Options; /* optional element of type ns1:RequestOptions */
ns1__ReadRequestItemList *ItemList; /* optional element of type ns1:ReadRequestItemList */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 45; } /* = unique id SOAP_TYPE__ns1__Read */
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*);
_ns1__Read() : Options(NULL), ItemList(NULL), soap(NULL) { }
virtual ~_ns1__Read() { }
};
#endif
#ifndef SOAP_TYPE__ns1__ReadResponse
#define SOAP_TYPE__ns1__ReadResponse (46)
/* ns1:ReadResponse */
class SOAP_CMAC _ns1__ReadResponse
{
public:
ns1__ReplyBase *ReadResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
ns1__ReplyItemList *RItemList; /* optional element of type ns1:ReplyItemList */
std::vector<ns1__OPCError * >Errors; /* optional element of type ns1:OPCError */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 46; } /* = unique id SOAP_TYPE__ns1__ReadResponse */
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*);
_ns1__ReadResponse() : ReadResult(NULL), RItemList(NULL), soap(NULL) { }
virtual ~_ns1__ReadResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__Write
#define SOAP_TYPE__ns1__Write (47)
/* ns1:Write */
class SOAP_CMAC _ns1__Write
{
public:
ns1__RequestOptions *Options; /* optional element of type ns1:RequestOptions */
ns1__WriteRequestItemList *ItemList; /* optional element of type ns1:WriteRequestItemList */
bool ReturnValuesOnReply; /* required attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 47; } /* = unique id SOAP_TYPE__ns1__Write */
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*);
_ns1__Write() : Options(NULL), ItemList(NULL), soap(NULL) { }
virtual ~_ns1__Write() { }
};
#endif
#ifndef SOAP_TYPE__ns1__WriteResponse
#define SOAP_TYPE__ns1__WriteResponse (48)
/* ns1:WriteResponse */
class SOAP_CMAC _ns1__WriteResponse
{
public:
ns1__ReplyBase *WriteResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
ns1__ReplyItemList *RItemList; /* optional element of type ns1:ReplyItemList */
std::vector<ns1__OPCError * >Errors; /* optional element of type ns1:OPCError */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 48; } /* = unique id SOAP_TYPE__ns1__WriteResponse */
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*);
_ns1__WriteResponse() : WriteResult(NULL), RItemList(NULL), soap(NULL) { }
virtual ~_ns1__WriteResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__Subscribe
#define SOAP_TYPE__ns1__Subscribe (49)
/* ns1:Subscribe */
class SOAP_CMAC _ns1__Subscribe
{
public:
ns1__RequestOptions *Options; /* optional element of type ns1:RequestOptions */
ns1__SubscribeRequestItemList *ItemList; /* optional element of type ns1:SubscribeRequestItemList */
bool ReturnValuesOnReply; /* required attribute */
int *SubscriptionPingRate; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 49; } /* = unique id SOAP_TYPE__ns1__Subscribe */
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*);
_ns1__Subscribe() : Options(NULL), ItemList(NULL), SubscriptionPingRate(NULL), soap(NULL) { }
virtual ~_ns1__Subscribe() { }
};
#endif
#ifndef SOAP_TYPE__ns1__SubscribeResponse
#define SOAP_TYPE__ns1__SubscribeResponse (50)
/* ns1:SubscribeResponse */
class SOAP_CMAC _ns1__SubscribeResponse
{
public:
ns1__ReplyBase *SubscribeResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
ns1__SubscribeReplyItemList *RItemList; /* optional element of type ns1:SubscribeReplyItemList */
std::vector<ns1__OPCError * >Errors; /* optional element of type ns1:OPCError */
std::string *ServerSubHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 50; } /* = unique id SOAP_TYPE__ns1__SubscribeResponse */
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*);
_ns1__SubscribeResponse() : SubscribeResult(NULL), RItemList(NULL), ServerSubHandle(NULL), soap(NULL) { }
virtual ~_ns1__SubscribeResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__SubscriptionPolledRefresh
#define SOAP_TYPE__ns1__SubscriptionPolledRefresh (51)
/* ns1:SubscriptionPolledRefresh */
class SOAP_CMAC _ns1__SubscriptionPolledRefresh
{
public:
ns1__RequestOptions *Options; /* optional element of type ns1:RequestOptions */
std::vector<std::string >ServerSubHandles; /* optional element of type xsd:string */
time_t *HoldTime; /* optional attribute */
int *WaitTime; /* optional attribute */
bool *ReturnAllItems; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 51; } /* = unique id SOAP_TYPE__ns1__SubscriptionPolledRefresh */
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*);
_ns1__SubscriptionPolledRefresh() : Options(NULL), HoldTime(NULL), WaitTime(NULL), ReturnAllItems(NULL), soap(NULL) { }
virtual ~_ns1__SubscriptionPolledRefresh() { }
};
#endif
#ifndef SOAP_TYPE__ns1__SubscriptionPolledRefreshResponse
#define SOAP_TYPE__ns1__SubscriptionPolledRefreshResponse (52)
/* ns1:SubscriptionPolledRefreshResponse */
class SOAP_CMAC _ns1__SubscriptionPolledRefreshResponse
{
public:
ns1__ReplyBase *SubscriptionPolledRefreshResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
std::vector<std::string >InvalidServerSubHandles; /* optional element of type xsd:string */
std::vector<ns1__SubscribePolledRefreshReplyItemList * >RItemList; /* optional element of type ns1:SubscribePolledRefreshReplyItemList */
std::vector<ns1__OPCError * >Errors; /* optional element of type ns1:OPCError */
bool *DataBufferOverflow; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 52; } /* = unique id SOAP_TYPE__ns1__SubscriptionPolledRefreshResponse */
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*);
_ns1__SubscriptionPolledRefreshResponse() : SubscriptionPolledRefreshResult(NULL), DataBufferOverflow(NULL), soap(NULL) { }
virtual ~_ns1__SubscriptionPolledRefreshResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__SubscriptionCancel
#define SOAP_TYPE__ns1__SubscriptionCancel (53)
/* ns1:SubscriptionCancel */
class SOAP_CMAC _ns1__SubscriptionCancel
{
public:
std::string *ServerSubHandle; /* optional attribute */
std::string *ClientRequestHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 53; } /* = unique id SOAP_TYPE__ns1__SubscriptionCancel */
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*);
_ns1__SubscriptionCancel() : ServerSubHandle(NULL), ClientRequestHandle(NULL), soap(NULL) { }
virtual ~_ns1__SubscriptionCancel() { }
};
#endif
#ifndef SOAP_TYPE__ns1__SubscriptionCancelResponse
#define SOAP_TYPE__ns1__SubscriptionCancelResponse (54)
/* ns1:SubscriptionCancelResponse */
class SOAP_CMAC _ns1__SubscriptionCancelResponse
{
public:
std::string *ClientRequestHandle; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 54; } /* = unique id SOAP_TYPE__ns1__SubscriptionCancelResponse */
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*);
_ns1__SubscriptionCancelResponse() : ClientRequestHandle(NULL), soap(NULL) { }
virtual ~_ns1__SubscriptionCancelResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__Browse
#define SOAP_TYPE__ns1__Browse (55)
/* ns1:Browse */
class SOAP_CMAC _ns1__Browse
{
public:
std::vector<std::string >PropertyNames; /* optional element of type xsd:QName */
std::string *LocaleID; /* optional attribute */
std::string *ClientRequestHandle; /* optional attribute */
std::string *ItemPath; /* optional attribute */
std::string *ItemName; /* optional attribute */
std::string *ContinuationPoint; /* optional attribute */
int *MaxElementsReturned; /* optional attribute */
enum ns1__browseFilter *BrowseFilter; /* optional attribute */
std::string *ElementNameFilter; /* optional attribute */
std::string *VendorFilter; /* optional attribute */
bool *ReturnAllProperties; /* optional attribute */
bool *ReturnPropertyValues; /* optional attribute */
bool *ReturnErrorText; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 55; } /* = unique id SOAP_TYPE__ns1__Browse */
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*);
_ns1__Browse() : LocaleID(NULL), ClientRequestHandle(NULL), ItemPath(NULL), ItemName(NULL), ContinuationPoint(NULL), MaxElementsReturned(NULL), BrowseFilter(NULL), ElementNameFilter(NULL), VendorFilter(NULL), ReturnAllProperties(NULL), ReturnPropertyValues(NULL), ReturnErrorText(NULL), soap(NULL) { }
virtual ~_ns1__Browse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__BrowseResponse
#define SOAP_TYPE__ns1__BrowseResponse (56)
/* ns1:BrowseResponse */
class SOAP_CMAC _ns1__BrowseResponse
{
public:
ns1__ReplyBase *BrowseResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
std::vector<ns1__BrowseElement * >Elements; /* optional element of type ns1:BrowseElement */
std::vector<ns1__OPCError * >Errors; /* optional element of type ns1:OPCError */
std::string *ContinuationPoint; /* optional attribute */
bool *MoreElements; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 56; } /* = unique id SOAP_TYPE__ns1__BrowseResponse */
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*);
_ns1__BrowseResponse() : BrowseResult(NULL), ContinuationPoint(NULL), MoreElements(NULL), soap(NULL) { }
virtual ~_ns1__BrowseResponse() { }
};
#endif
#ifndef SOAP_TYPE__ns1__GetProperties
#define SOAP_TYPE__ns1__GetProperties (57)
/* ns1:GetProperties */
class SOAP_CMAC _ns1__GetProperties
{
public:
std::vector<ns1__ItemIdentifier * >ItemIDs; /* optional element of type ns1:ItemIdentifier */
std::vector<std::string >PropertyNames; /* optional element of type xsd:QName */
std::string *LocaleID; /* optional attribute */
std::string *ClientRequestHandle; /* optional attribute */
std::string *ItemPath; /* optional attribute */
bool *ReturnAllProperties; /* optional attribute */
bool *ReturnPropertyValues; /* optional attribute */
bool *ReturnErrorText; /* optional attribute */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 57; } /* = unique id SOAP_TYPE__ns1__GetProperties */
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*);
_ns1__GetProperties() : LocaleID(NULL), ClientRequestHandle(NULL), ItemPath(NULL), ReturnAllProperties(NULL), ReturnPropertyValues(NULL), ReturnErrorText(NULL), soap(NULL) { }
virtual ~_ns1__GetProperties() { }
};
#endif
#ifndef SOAP_TYPE__ns1__GetPropertiesResponse
#define SOAP_TYPE__ns1__GetPropertiesResponse (58)
/* ns1:GetPropertiesResponse */
class SOAP_CMAC _ns1__GetPropertiesResponse
{
public:
ns1__ReplyBase *GetPropertiesResult; /* RPC return element */ /* optional element of type ns1:ReplyBase */
std::vector<ns1__PropertyReplyList * >PropertyLists; /* optional element of type ns1:PropertyReplyList */
std::vector<ns1__OPCError * >Errors; /* optional element of type ns1:OPCError */
struct soap *soap; /* transient */
public:
virtual int soap_type() const { return 58; } /* = unique id SOAP_TYPE__ns1__GetPropertiesResponse */
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*);
_ns1__GetPropertiesResponse() : GetPropertiesResult(NULL), soap(NULL) { }
virtual ~_ns1__GetPropertiesResponse() { }
};
#endif
#ifndef SOAP_TYPE___ns1__GetStatus
#define SOAP_TYPE___ns1__GetStatus (133)
/* Operation wrapper: */
struct __ns1__GetStatus
{
public:
_ns1__GetStatus *ns1__GetStatus; /* optional element of type ns1:GetStatus */
};
#endif
#ifndef SOAP_TYPE___ns1__Read
#define SOAP_TYPE___ns1__Read (137)
/* Operation wrapper: */
struct __ns1__Read
{
public:
_ns1__Read *ns1__Read; /* optional element of type ns1:Read */
};
#endif
#ifndef SOAP_TYPE___ns1__Write
#define SOAP_TYPE___ns1__Write (141)
/* Operation wrapper: */
struct __ns1__Write
{
public:
_ns1__Write *ns1__Write; /* optional element of type ns1:Write */
};
#endif
#ifndef SOAP_TYPE___ns1__Subscribe
#define SOAP_TYPE___ns1__Subscribe (145)
/* Operation wrapper: */
struct __ns1__Subscribe
{
public:
_ns1__Subscribe *ns1__Subscribe; /* optional element of type ns1:Subscribe */
};
#endif
#ifndef SOAP_TYPE___ns1__SubscriptionPolledRefresh
#define SOAP_TYPE___ns1__SubscriptionPolledRefresh (149)
/* Operation wrapper: */
struct __ns1__SubscriptionPolledRefresh
{
public:
_ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh; /* optional element of type ns1:SubscriptionPolledRefresh */
};
#endif
#ifndef SOAP_TYPE___ns1__SubscriptionCancel
#define SOAP_TYPE___ns1__SubscriptionCancel (153)
/* Operation wrapper: */
struct __ns1__SubscriptionCancel
{
public:
_ns1__SubscriptionCancel *ns1__SubscriptionCancel; /* optional element of type ns1:SubscriptionCancel */
};
#endif
#ifndef SOAP_TYPE___ns1__Browse
#define SOAP_TYPE___ns1__Browse (157)
/* Operation wrapper: */
struct __ns1__Browse
{
public:
_ns1__Browse *ns1__Browse; /* optional element of type ns1:Browse */
};
#endif
#ifndef SOAP_TYPE___ns1__GetProperties
#define SOAP_TYPE___ns1__GetProperties (161)
/* Operation wrapper: */
struct __ns1__GetProperties
{
public:
_ns1__GetProperties *ns1__GetProperties; /* optional element of type ns1:GetProperties */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (164)
/* SOAP Header: */
struct SOAP_ENV__Header
{
public:
void *dummy; /* transient */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (165)
/* 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 (167)
/* 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 (168)
/* 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 (169)
/* 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
#ifndef SOAP_TYPE_xsd__QName
#define SOAP_TYPE_xsd__QName (8)
typedef std::string xsd__QName;
#endif
#ifndef SOAP_TYPE_xsd__decimal
#define SOAP_TYPE_xsd__decimal (9)
typedef std::string xsd__decimal;
#endif
/******************************************************************************\
* *
* Typedef Synonyms *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Externals *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Service Operations *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 __ns1__GetStatus(struct soap*, _ns1__GetStatus *ns1__GetStatus, _ns1__GetStatusResponse *ns1__GetStatusResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Read(struct soap*, _ns1__Read *ns1__Read, _ns1__ReadResponse *ns1__ReadResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Write(struct soap*, _ns1__Write *ns1__Write, _ns1__WriteResponse *ns1__WriteResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Subscribe(struct soap*, _ns1__Subscribe *ns1__Subscribe, _ns1__SubscribeResponse *ns1__SubscribeResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__SubscriptionPolledRefresh(struct soap*, _ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh, _ns1__SubscriptionPolledRefreshResponse *ns1__SubscriptionPolledRefreshResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__SubscriptionCancel(struct soap*, _ns1__SubscriptionCancel *ns1__SubscriptionCancel, _ns1__SubscriptionCancelResponse *ns1__SubscriptionCancelResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__Browse(struct soap*, _ns1__Browse *ns1__Browse, _ns1__BrowseResponse *ns1__BrowseResponse);
SOAP_FMAC5 int SOAP_FMAC6 __ns1__GetProperties(struct soap*, _ns1__GetProperties *ns1__GetProperties, _ns1__GetPropertiesResponse *ns1__GetPropertiesResponse);
/******************************************************************************\
* *
* Stubs *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__GetStatus(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__GetStatus *ns1__GetStatus, _ns1__GetStatusResponse *ns1__GetStatusResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__Read(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Read *ns1__Read, _ns1__ReadResponse *ns1__ReadResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__Write(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Write *ns1__Write, _ns1__WriteResponse *ns1__WriteResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__Subscribe(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Subscribe *ns1__Subscribe, _ns1__SubscribeResponse *ns1__SubscribeResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__SubscriptionPolledRefresh(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__SubscriptionPolledRefresh *ns1__SubscriptionPolledRefresh, _ns1__SubscriptionPolledRefreshResponse *ns1__SubscriptionPolledRefreshResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__SubscriptionCancel(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__SubscriptionCancel *ns1__SubscriptionCancel, _ns1__SubscriptionCancelResponse *ns1__SubscriptionCancelResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__Browse(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__Browse *ns1__Browse, _ns1__BrowseResponse *ns1__BrowseResponse);
SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__GetProperties(struct soap *soap, const char *soap_endpoint, const char *soap_action, _ns1__GetProperties *ns1__GetProperties, _ns1__GetPropertiesResponse *ns1__GetPropertiesResponse);
/******************************************************************************\
* *
* 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___ns1__GetStatus(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__Read(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__Write(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__Subscribe(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__SubscriptionPolledRefresh(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__SubscriptionCancel(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__Browse(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___ns1__GetProperties(struct soap*);
#endif
/* End of opc_soap_Stub.h */
/*
* Proview $Id: opc_utl.cpp,v 1.1 2007-03-01 09:12:54 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.
*/
#include "pwr.h"
#include "opc_utl.h"
/*
* Proview $Id: opc_utl.h,v 1.1 2007-03-01 09:12:54 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.
*/
#include "pwr.h"
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
ifndef variables_mk
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_kroot)/tools/bld/src/$(os_name)/variables.mk
endif
export_cpp = $(bld_dir)/stdsoap2.o
export_h = $(inc_dir)/stdsoap2.h $(inc_dir)/Service.nsmap
lib : $(export_lib) export_lib_local
export_lib_local : $(export_cpp) $(export_h)
@ $(ar) -r $(export_lib) $(export_cpp)
$(bld_dir)/stdsoap2.o : ../../stdsoap2.cpp
$(inc_dir)/stdsoap2.h : ../../stdsoap2.h
$(inc_dir)/Service.nsmap : ../../Service.nsmap
@ echo "Export $(source)"
@ $(cp) $(cpflags) $(source) $(target)
This source diff could not be displayed because it is too large. You can view the blob instead.
/*
stdsoap2.h 2.7.9d
gSOAP runtime
gSOAP XML Web services tools
Copyright (C) 2000-2007, 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.
--------------------------------------------------------------------------------
Contributors:
Wind River Systems, Inc., for the following additions (marked WR[...]):
- vxWorks compatible
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc., All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
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
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#ifdef WITH_SOAPDEFS_H
# include "soapdefs.h" /* include user-defined stuff */
#endif
#ifndef _THREAD_SAFE
# define _THREAD_SAFE
#endif
#ifndef OPENSERVER
# ifndef _REENTRANT
# define _REENTRANT
# endif
#endif
#ifndef SOAP_FMAC1 /* stdsoap2.h declaration macro */
# define SOAP_FMAC1
#endif
#ifndef SOAP_FMAC2 /* stdsoap2.h declaration macro */
# define SOAP_FMAC2
#endif
#ifndef SOAP_FMAC3 /* (de)serializer declaration macro */
# define SOAP_FMAC3
#endif
#ifndef SOAP_FMAC3S /* string converter for (de)serializer declaration macro */
# define SOAP_FMAC3S SOAP_FMAC3
#endif
#ifndef SOAP_FMAC4 /* (de)serializer declaration macro */
# define SOAP_FMAC4
#endif
#ifndef SOAP_FMAC4S /* string converter for (de)serializer declaration macro */
# define SOAP_FMAC4S SOAP_FMAC4
#endif
#ifndef SOAP_FMAC5 /* stub/skeleton declaration macro */
# define SOAP_FMAC5
#endif
#ifndef SOAP_FMAC6 /* stub/skeleton declaration macro */
# define SOAP_FMAC6
#endif
#ifndef SOAP_CMAC /* class declaration macro */
# define SOAP_CMAC
#endif
#ifndef SOAP_NMAC /* namespace table declaration macro */
# define SOAP_NMAC
#endif
#ifndef SOAP_SOURCE_STAMP
# define SOAP_SOURCE_STAMP(str)
#endif
/* gSOAP 2.7.4 and higher: fast look-aside buffering is stable */
#ifndef WITH_FAST
# define WITH_FAST
#endif
#ifdef WITH_LEANER
# ifndef WITH_LEAN
# define WITH_LEAN
# endif
#endif
#ifdef WITH_LEAN
# ifdef WITH_COOKIES
# error "Cannot build WITH_LEAN code WITH_COOKIES enabled"
# endif
#endif
#ifndef STDSOAP_H
#define STDSOAP_H
#if defined(__vxworks) || defined(__VXWORKS__)
# define VXWORKS
#endif
#ifdef _WIN32
# ifndef WIN32
# define WIN32
# endif
#endif
#ifdef _WIN32_WCE
# ifndef UNDER_CE
# define UNDER_CE _WIN32_WCE
# endif
#endif
#ifdef UNDER_CE
# ifndef WIN32
# define WIN32
# endif
#endif
#ifdef __BORLANDC__
# ifdef __WIN32__
# ifndef WIN32
# define WIN32
# endif
# endif
#endif
#ifdef __CYGWIN__
# ifndef CYGWIN
# define CYGWIN
# endif
#endif
#ifdef __SYMBIAN32__
# define SYMBIAN
# undef WIN32
#endif
#if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__)
# ifndef PALM
# define PALM
# endif
#endif
#if defined(__hpux)
# ifndef HP_UX
# define HP_UX
# endif
#endif
#if defined(__alpha) && !defined(__VMS)
# ifndef TRU64
# define TRU64
# endif
#endif
#ifdef __MVS__
# ifndef OS390
# define OS390
# endif
#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
# ifdef WITH_OPENSSL
# ifndef HAVE_OPENSSL_SSL_H
# undef WITH_OPENSSL
# endif
# endif
#else
# if defined(UNDER_CE)
# define WITH_LEAN
# define HAVE_SSCANF
# elif defined(WIN32)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# define SOAP_LONG_FORMAT "%I64d"
# define SOAP_ULONG_FORMAT "%I64u"
# elif defined(CYGWIN)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(__APPLE__)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_TIMEGM
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(_AIXVERSION_431)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(HP_UX)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(FREEBSD) || defined(__FreeBSD__)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_STRTOLL
# define HAVE_STRTOULL
# define HAVE_GETTIMEOFDAY
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# define SOAP_LONG_FORMAT "%qd"
# define SOAP_ULONG_FORMAT "%qu"
# elif defined(__VMS)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(__GLIBC__) || defined(__GNU__)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_STRTOLL
# define HAVE_STRTOULL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_TIMEGM
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# define HAVE_ISNAN
# elif defined(TRU64)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_GETTIMEOFDAY
# define HAVE_SYS_TIMEB_H
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define __USE_STD_IOSTREAM
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# define SOAP_LONG_FORMAT "%ld"
# define SOAP_ULONG_FORMAT "%lu"
# elif defined(MAC_CARBON)
# define WITH_NOIO
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GETHOSTBYNAME_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(PALM)
# define WITH_LEAN
# define HAVE_STRTOD /* strtod() is defined in palmFunctions.h */
# include <stdlib.h> /* Needs to be included before unix headers */
# include <sys_types.h>
# define IGNORE_STDIO_STUBS
# include <StdIOPalm.h>
# define O_NONBLOCK FNONBIO
# include <sys_socket.h>
# include "palmFunctions.h"
# elif defined(SYMBIAN)
# define WITH_LEAN
# define WITH_NONAMESPACES
# define HAVE_STRTOD /* use STRTOD since sscanf doesn't seem to work */
# include <e32def.h>
# include <sys/ioctl.h>
# elif defined(VXWORKS)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_PGMTIME_R
# define HAVE_PLOCALTIME_R
# define HAVE_MKTIME
# elif defined(OS390)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(AS400)
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# elif defined(__QNX__) || defined(QNX)
/* QNX does not have a working version of strtof */
# undef HAVE_STRTOF
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GETHOSTBYNAME_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# define LONG64 long
# define ULONG64 unsigned LONG64
# define SOAP_LONG_FORMAT "%ld"
# define SOAP_ULONG_FORMAT "%lu"
# else
/* Default asumptions on supported functions */
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_SYS_TIMEB_H
# define HAVE_FTIME
# define HAVE_RAND_R
# define HAVE_GETHOSTBYNAME_R
# define HAVE_GMTIME_R
# define HAVE_LOCALTIME_R
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# endif
#endif
#ifndef WITH_NOSTDLIB
# include <stdlib.h>
# ifndef PALM
# include <stdio.h>
# include <string.h>
# endif
# include <ctype.h>
# include <limits.h>
#endif
#if defined(__cplusplus) && !defined(WITH_LEAN)
# include <string>
# include <iostream>
#endif
#ifdef WITH_NOHTTP
# ifndef WITH_NOIO
# define WITH_NOIO
# undef WITH_COOKIES
# endif
#endif
#ifndef UNDER_CE
# ifndef PALM
# ifndef WITH_NOIO
# include <errno.h>
# include <sys/types.h>
# endif
# ifndef WITH_LEAN
# ifdef HAVE_SYS_TIMEB_H
# include <sys/timeb.h> /* for ftime() */
# endif
# include <time.h>
# endif
# endif
#endif
#ifdef OPENSERVER
# include <sys/socket.h>
# include <sys/stream.h>
# include <sys/protosw.h>
extern int h_errno;
#endif
#ifndef WITH_NOIO
# ifndef WIN32
# ifndef PALM
# include <sys/socket.h>
# ifdef VXWORKS
# include <sockLib.h>
# include <selectLib.h>
# endif
# ifndef VXWORKS
# ifndef SYMBIAN
# include <strings.h>
# endif
# endif
# ifdef SUN_OS
# include <sys/stream.h> /* SUN */
# include <sys/socketvar.h> /* SUN < 2.8 (?) */
# endif
# ifdef VXWORKS
# ifdef _WRS_KERNEL
# include <sys/times.h>
# endif
# else
# include <sys/time.h>
# endif
# include <netinet/in.h>
# ifdef OS390
# include <netinet/tcp_var.h>
# else
# include <netinet/tcp.h> /* TCP_NODELAY */
# endif
# include <arpa/inet.h>
# endif
# endif
#endif
#ifdef WITH_FASTCGI
# include <fcgi_stdio.h>
#endif
#ifdef WITH_OPENSSL
# define OPENSSL_NO_KRB5
# include <openssl/bio.h>
# include <openssl/err.h>
# include <openssl/rand.h>
# include <openssl/ssl.h>
# include <openssl/x509v3.h>
# ifndef ALLOW_OLD_VERSIONS
# if (OPENSSL_VERSION_NUMBER < 0x00905100L)
# error "Must use OpenSSL 0.9.6 or later"
# endif
# endif
#endif
#ifdef WITH_GZIP
# ifndef WITH_ZLIB
# define WITH_ZLIB
# endif
#endif
#ifdef WITH_CASEINSENSITIVETAGS
# define SOAP_STRCMP soap_tag_cmp /* case insensitve XML element/attribute names */
#else
# define SOAP_STRCMP strcmp /* case sensitive XML element/attribute names */
#endif
#ifdef WITH_ZLIB
# include <zlib.h>
#endif
#ifndef WITH_NOSTDLIB
# ifndef PALM
# include <math.h> /* for isnan() */
# endif
#endif
/* #define DEBUG */ /* Uncomment to debug sending (in file SENT.log) receiving (in file RECV.log) and messages (in file TEST.log) */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WIN32
# ifndef UNDER_CE
# include <io.h>
# include <fcntl.h>
# endif
# include <winsock.h>
/* # include <winsock2.h> */ /* Alternative: use winsock2 (not available with eVC) */
# ifdef WITH_IPV6
# include <ws2tcpip.h>
# include <wspiapi.h>
# endif
#else
# ifdef VXWORKS
# include <hostLib.h>
# include <ioctl.h>
# include <ioLib.h>
# endif
# ifndef WITH_NOIO
# ifndef PALM
# include <netdb.h>
# include <netinet/in.h>
# include <unistd.h>
# include <fcntl.h>
# endif
# endif
#endif
/* Portability: define SOAP_SOCKLEN_T */
#if defined(_AIX)
# define SOAP_SOCKLEN_T socklen_t
#elif defined(SOCKLEN_T)
# define SOAP_SOCKLEN_T SOCKLEN_T
#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX)
# define SOAP_SOCKLEN_T socklen_t
#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
# define SOAP_SOCKLEN_T int
#else
# define SOAP_SOCKLEN_T size_t
#endif
#ifndef SOAP_SOCKET
# ifdef WIN32
# define SOAP_SOCKET SOCKET
# define soap_closesocket(n) closesocket(n)
# else
# define SOAP_SOCKET int
# define soap_closesocket(n) close(n)
# endif
#endif
#define SOAP_INVALID_SOCKET (-1)
#define soap_valid_socket(n) ((n) != SOAP_INVALID_SOCKET)
#ifndef FD_SETSIZE
# define FD_SETSIZE (1024)
#endif
#if defined(SYMBIAN)
# define LONG64 long
# define ULONG64 unsigned LONG64
#elif !defined(WIN32) || defined(CYGWIN) || defined(__GLIBC__) || defined(__GNU__)
# ifndef LONG64
# if defined(__GLIBC__)
# include <bits/wordsize.h>
# if (__WORDSIZE == 64)
# define LONG64 int64_t
# define ULONG64 uint64_t
# ifndef SOAP_LONG_FORMAT
# define SOAP_LONG_FORMAT "%ld"
# endif
# ifndef SOAP_ULONG_FORMAT
# define SOAP_ULONG_FORMAT "%lu"
# endif
# else
# define LONG64 long long
# define ULONG64 unsigned LONG64
# endif
# else
# define LONG64 long long
# define ULONG64 unsigned LONG64
# endif
# endif
#elif defined(UNDER_CE)
# define LONG64 __int64
# define ULONG64 unsigned LONG64
#elif defined(__BORLANDC__)
# define LONG64 __int64
# define ULONG64 unsigned LONG64
#endif
#ifndef SOAP_LONG_FORMAT
# define SOAP_LONG_FORMAT "%lld" /* printf format for 64 bit ints */
#endif
#ifndef SOAP_ULONG_FORMAT
# define SOAP_ULONG_FORMAT "%llu" /* printf format for unsigned 64 bit ints */
#endif
#if defined(WIN32) && !defined(CYGWIN)
# define soap_int32 __int32
#elif defined(SYMBIAN)
# define soap_int32 long
#elif defined(PALM)
# define soap_int32 Int32
#else
# define soap_int32 int32_t
#endif
#ifdef WIN32
# define SOAP_ERANGE ERANGE
# define SOAP_EINTR WSAEINTR
# define SOAP_EAGAIN WSAEWOULDBLOCK
# define SOAP_EWOULDBLOCK WSAEWOULDBLOCK
# define SOAP_EINPROGRESS WSAEINPROGRESS
# define SOAP_EADDRINUSE WSAEADDRINUSE
#else
# define SOAP_ERANGE ERANGE
# define SOAP_EINTR EINTR
# define SOAP_EAGAIN EAGAIN
# define SOAP_EADDRINUSE EADDRINUSE
# ifdef SYMBIAN
# define SOAP_EWOULDBLOCK 9898
# define SOAP_EINPROGRESS 9899
# else
# define SOAP_EWOULDBLOCK EWOULDBLOCK
# define SOAP_EINPROGRESS EINPROGRESS
# endif
#endif
#ifdef WIN32
# ifdef UNDER_CE
# define soap_errno GetLastError()
# define soap_socket_errno(s) GetLastError()
# define soap_reset_errno SetLastError(0)
# else
# define soap_errno GetLastError()
# define soap_socket_errno(s) WSAGetLastError()
# define soap_reset_errno SetLastError(0)
# endif
#else
# ifndef WITH_NOIO
# define soap_errno errno
# define soap_socket_errno(s) errno
# define soap_reset_errno (errno = 0)
# else
# define soap_errno 0
# define soap_socket_errno(s) 0
# define soap_reset_errno
# endif
#endif
#ifndef SOAP_BUFLEN
# ifdef WITH_UDP
# define SOAP_BUFLEN (65536) /* max UDP packet size */
# else
# ifndef WITH_LEAN
# define SOAP_BUFLEN (65536) /* buffer length for socket packets, also used by gethostbyname_r so don't make this too small */
# else
# define SOAP_BUFLEN (2048)
# endif
# endif
#endif
#ifndef SOAP_LABLEN
# define SOAP_LABLEN (256) /* initial look-aside buffer length */
#endif
#ifndef SOAP_PTRBLK
# define SOAP_PTRBLK (32) /* block allocation for pointer hash table chains */
#endif
#ifndef SOAP_PTRHASH
# ifndef WITH_LEAN
# define SOAP_PTRHASH (1024) /* size of pointer analysis hash table (must be power of 2) */
# else
# define SOAP_PTRHASH (32)
# endif
#endif
#ifndef SOAP_IDHASH
# ifndef WITH_LEAN
# define SOAP_IDHASH (1999) /* prime size of hash table for parsed id/ref */
# else
# define SOAP_IDHASH (19) /* 19, 199 */
# endif
#endif
#ifndef SOAP_BLKLEN
# ifndef WITH_LEAN
# define SOAP_BLKLEN (256) /* size of blocks to collect long strings and XML attributes */
# else
# define SOAP_BLKLEN (32)
# endif
#endif
#ifndef SOAP_TAGLEN
# ifndef WITH_LEAN
# define SOAP_TAGLEN (1024) /* maximum length of XML element tag/attribute name or host/path name + 1 */
# else
# define SOAP_TAGLEN (64)
# endif
#endif
#ifndef SOAP_HDRLEN
# ifndef WITH_LEAN
# define SOAP_HDRLEN (8192) /* maximum length of HTTP header line (must be >4096 to read cookies) */
# else
# define SOAP_HDRLEN (1024)
# endif
#endif
#ifndef SOAP_MAXDIMS
# ifndef WITH_LEAN
# define SOAP_MAXDIMS (16) /* maximum array dimensions (array nestings) must be less than 64 to protect soap->tmpbuf */
# else
# define SOAP_MAXDIMS (4)
# endif
#endif
#ifndef SOAP_MAXLOGS
# define SOAP_MAXLOGS (3) /* max number of debug logs per struct soap environment */
# define SOAP_INDEX_RECV (0)
# define SOAP_INDEX_SENT (1)
# define SOAP_INDEX_TEST (2)
#endif
#ifndef SOAP_MAXKEEPALIVE
# define SOAP_MAXKEEPALIVE (100) /* max iterations to keep server connection alive */
#endif
#ifndef SOAP_MAXARRAYSIZE
# define SOAP_MAXARRAYSIZE (100000) /* "trusted" max size of inbound SOAP array for compound array allocation */
#endif
#ifdef VXWORKS
# ifdef __INCmathh
# include <private/mathP.h>
# ifndef HAVE_ISNAN
# define HAVE_ISNAN
# endif
# define soap_isnan(num) isNan(num)
# endif
#endif
#ifdef WIN32
# include <float.h>
# ifndef HAVE_ISNAN
# define HAVE_ISNAN
# endif
# define soap_isnan(num) _isnan(num)
#endif
#ifdef SUN_OS
# define HAVE_ISNAN
#endif
#ifdef __APPLE__
# ifdef __cplusplus
# ifndef isnan
extern "C" int isnan(double);
# endif
# endif
# define HAVE_ISNAN
#endif
#if !defined(HAVE_ISNAN) && (defined(_MATH_H) || defined(_MATH_INCLUDED))
# define HAVE_ISNAN
#endif
extern const struct soap_double_nan { unsigned int n1, n2; } soap_double_nan;
#ifdef VXWORKS
# ifndef FLT_MAX
# define FLT_MAX _ARCH_FLT_MAX
# endif
# ifndef DBL_MAX
# define DBL_MAX _ARCH_DBL_MAX
# endif
#endif
#ifndef FLT_NAN
# define FLT_NAN (*(float*)(void*)&soap_double_nan)
#endif
#ifndef FLT_PINFTY
# if defined(FLT_MAX)
# define FLT_PINFTY FLT_MAX
# elif defined(HUGE_VALF)
# define FLT_PINFTY (float)HUGE_VALF
# elif defined(HUGE_VAL)
# define FLT_PINFTY (float)HUGE_VAL
# elif defined(FLOAT_MAX)
# define FLT_PINFTY FLOAT_MAX
# else
# define FLT_PINFTY (3.40282347e+38F)
# endif
#endif
#ifndef FLT_NINFTY
# define FLT_NINFTY (-FLT_PINFTY)
#endif
#ifndef DBL_NAN
# define DBL_NAN (*(double*)(void*)&soap_double_nan)
#endif
#ifndef DBL_PINFTY
# if defined(DBL_MAX)
# define DBL_PINFTY DBL_MAX
# elif defined(HUGE_VALF)
# define DBL_PINFTY (double)HUGE_VALF
# elif defined(HUGE_VAL)
# define DBL_PINFTY (double)HUGE_VAL
# elif defined(DOUBLE_MAX)
# define DBL_PINFTY DOUBLE_MAX
# else
# define DBL_PINFTY (1.7976931348623157e+308)
# endif
#endif
#ifndef DBL_NINFTY
# define DBL_NINFTY (-DBL_PINFTY)
#endif
#ifndef soap_isnan
# ifdef HAVE_ISNAN
# define soap_isnan(n) isnan(n)
# else
# define soap_isnan(n) (0)
# endif
#endif
#define soap_ispinfd(n) ((n) >= DBL_PINFTY)
#define soap_ispinff(n) ((n) >= FLT_PINFTY)
#define soap_isninfd(n) ((n) <= DBL_NINFTY)
#define soap_isninff(n) ((n) <= FLT_NINFTY)
/* gSOAP error codes */
#define SOAP_EOF EOF
#define SOAP_ERR EOF
#define SOAP_OK 0
#define SOAP_CLI_FAULT 1
#define SOAP_SVR_FAULT 2
#define SOAP_TAG_MISMATCH 3
#define SOAP_TYPE 4
#define SOAP_SYNTAX_ERROR 5
#define SOAP_NO_TAG 6
#define SOAP_IOB 7
#define SOAP_MUSTUNDERSTAND 8
#define SOAP_NAMESPACE 9
#define SOAP_USER_ERROR 10
#define SOAP_FATAL_ERROR 11
#define SOAP_FAULT 12
#define SOAP_NO_METHOD 13
#define SOAP_NO_DATA 14
#define SOAP_GET_METHOD 15
#define SOAP_EOM 16
#define SOAP_MOE 17
#define SOAP_NULL 18
#define SOAP_DUPLICATE_ID 19
#define SOAP_MISSING_ID 20
#define SOAP_HREF 21
#define SOAP_UDP_ERROR 22
#define SOAP_TCP_ERROR 23
#define SOAP_HTTP_ERROR 24
#define SOAP_SSL_ERROR 25
#define SOAP_ZLIB_ERROR 26
#define SOAP_DIME_ERROR 27
#define SOAP_DIME_HREF 28
#define SOAP_DIME_MISMATCH 29
#define SOAP_DIME_END 30
#define SOAP_MIME_ERROR 31
#define SOAP_MIME_HREF 32
#define SOAP_MIME_END 33
#define SOAP_VERSIONMISMATCH 34
#define SOAP_PLUGIN_ERROR 35
#define SOAP_DATAENCODINGUNKNOWN 36
#define SOAP_REQUIRED 37
#define SOAP_PROHIBITED 38
#define SOAP_OCCURS 39
#define SOAP_LENGTH 40
#define SOAP_FD_EXCEEDED 41
#define soap_xml_error_check(e) ((e) == SOAP_TAG_MISMATCH || (e) == SOAP_TAG_END || (e) == SOAP_SYNTAX_ERROR || (e) == SOAP_NAMESPACE || (e) == SOAP_DUPLICATE_ID || (e) == SOAP_MISSING_ID || (e) == SOAP_REQUIRED || (e) == SOAP_PROHIBITED || (e) == SOAP_OCCURS || (e) == SOAP_LENGTH || (e) == SOAP_NULL || (e) == SOAP_HREF)
#define soap_soap_error_check(e) ((e) == SOAP_CLI_FAULT || (e) == SOAP_SVR_FAULT || (e) == SOAP_VERSIONMISMATCH || (e) == SOAP_MUSTUNDERSTAND || (e) == SOAP_FAULT || (e) == SOAP_NO_METHOD)
#define soap_tcp_error_check(e) ((e) == SOAP_EOF || (e) == SOAP_TCP_ERROR)
#define soap_ssl_error_check(e) ((e) == SOAP_SSL_ERROR)
#define soap_zlib_error_check(e) ((e) == SOAP_ZLIB_ERROR)
#define soap_http_error_check(e) ((e) == SOAP_HTTP_ERROR || (e) == SOAP_GET_METHOD || (e) == SOAP_NO_DATA || ((e) >= 100 && (e) < 600))
/* gSOAP HTTP response status codes 100 to 599 are reserved */
/* Codes 600 to 999 are user definable */
/* Exceptional gSOAP HTTP response status codes >= 1000 */
#define SOAP_STOP 1000 /* No HTTP response */
#define SOAP_FORM 1001 /* Form request/response */
#define SOAP_HTML 1002 /* Custom HTML response */
#define SOAP_FILE 1003 /* Custom file-based response */
/* gSOAP HTTP method codes */
#define SOAP_POST 2000
#define SOAP_GET 2001
/* gSOAP DIME */
#define SOAP_DIME_CF 0x01
#define SOAP_DIME_ME 0x02
#define SOAP_DIME_MB 0x04
#define SOAP_DIME_VERSION 0x08 /* DIME version 1 */
#define SOAP_DIME_MEDIA 0x10
#define SOAP_DIME_ABSURI 0x20
/* gSOAP ZLIB */
#define SOAP_ZLIB_NONE 0x00
#define SOAP_ZLIB_DEFLATE 0x01
#define SOAP_ZLIB_INFLATE 0x02
#define SOAP_ZLIB_GZIP 0x02
/* gSOAP transport, connection, and content encoding modes */
typedef soap_int32 soap_mode;
#define SOAP_IO 0x00000003 /* IO mask */
#define SOAP_IO_FLUSH 0x00000000 /* flush output immediately, no buffering */
#define SOAP_IO_BUFFER 0x00000001 /* buffer output in packets of size SOAP_BUFLEN */
#define SOAP_IO_STORE 0x00000002 /* store entire output to determine length for transport */
#define SOAP_IO_CHUNK 0x00000003 /* use HTTP chunked transfer AND buffer packets */
#define SOAP_IO_UDP 0x00000004 /* TCP or UDP */
#define SOAP_IO_LENGTH 0x00000008 /* calc message length (internal) */
#define SOAP_IO_KEEPALIVE 0x00000010 /* keep connection alive */
#define SOAP_ENC_LATIN 0x00000020 /* accept iso-8859-1 encoding */
#define SOAP_ENC_XML 0x00000040 /* plain XML encoding, no HTTP header */
#define SOAP_ENC_DIME 0x00000080
#define SOAP_ENC_MIME 0x00000100
#define SOAP_ENC_MTOM 0x00000200
#define SOAP_ENC_ZLIB 0x00000400
#define SOAP_ENC_SSL 0x00000800
#define SOAP_ENC 0x00000FFF /* IO and ENC mask */
#define SOAP_XML_STRICT 0x00001000 /* apply strict validation */
#define SOAP_XML_INDENT 0x00002000 /* emit indented XML */
#define SOAP_XML_CANONICAL 0x00004000 /* EXC C14N canonical XML */
#define SOAP_XML_TREE 0x00008000 /* emit XML tree (no id/ref) */
#define SOAP_XML_GRAPH 0x00010000
#define SOAP_XML_NIL 0x00020000
#define SOAP_XML_DOM 0x00040000
#define SOAP_XML_SEC 0x00080000 /* reserved for WS security */
#define SOAP_C_NOIOB 0x00100000 /* don't fault on array index out of bounds (just ignore) */
#define SOAP_C_UTFSTRING 0x00200000 /* (de)serialize strings with UTF8 content */
#define SOAP_C_MBSTRING 0x00400000 /* (de)serialize strings with multi-byte content */
#define SOAP_C_NILSTRING 0x00800000 /* serialize empty strings as nil (omitted) */
#define SOAP_DOM_TREE 0x01000000
#define SOAP_DOM_NODE 0x02000000
#define SOAP_DOM_ASIS 0x04000000
#define SOAP_MIME_POSTCHECK 0x10000000 /* MIME flag (internal) */
#define SOAP_IO_DEFAULT SOAP_IO_FLUSH
/* SSL client/server authentication settings */
#define SOAP_SSL_NO_AUTHENTICATION 0x00 /* for testing purposes */
#define SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION 0x01 /* client requires server to authenticate */
#define SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION 0x02 /* server requires client to authenticate */
#define SOAP_SSL_SKIP_HOST_CHECK 0x04 /* client does not check the common name of the host in certificate */
#define SOAP_SSL_RSA 0x08 /* use RSA */
#define SOAP_SSLv3_TLSv1 0x00 /* SSL v3 and TLS v1 support by default */
#define SOAP_SSLv3 0x10 /* SSL v3 only */
#define SOAP_TLSv1 0x20 /* TLS v1 only */
#define SOAP_SSL_DEFAULT (SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION | SOAP_SSLv3_TLSv1)
/* state */
#define SOAP_INIT 1
#define SOAP_COPY 2
#define soap_check_state(soap) (!(soap) || ((soap)->state != SOAP_INIT && (soap)->state != SOAP_COPY))
/* part */
#define SOAP_BEGIN 0
#define SOAP_IN_ENVELOPE 2
#define SOAP_IN_HEADER 3
#define SOAP_END_HEADER 4
#define SOAP_NO_BODY 5
#define SOAP_IN_BODY 6
#define SOAP_END_BODY 7
#define SOAP_END_ENVELOPE 8
#define SOAP_END 9
#define SOAP_BEGIN_SECURITY 10
#define SOAP_IN_SECURITY 11
#define SOAP_END_SECURITY 12
/* DEBUG macros */
#ifndef WITH_LEAN
# ifdef DEBUG
# ifndef SOAP_DEBUG
# define SOAP_DEBUG
# endif
# ifndef SOAP_MEM_DEBUG
# define SOAP_MEM_DEBUG
# endif
# endif
#endif
#ifdef SOAP_MEM_DEBUG
# ifndef SOAP_MALLOC
# define SOAP_MALLOC(soap, size) soap_track_malloc(soap, __FILE__, __LINE__, size)
# endif
# ifndef SOAP_FREE
# define SOAP_FREE(soap, ptr) soap_track_free(soap, __FILE__, __LINE__, ptr)
# endif
#endif
#ifndef SOAP_MALLOC /* use libc malloc */
# define SOAP_MALLOC(soap, size) malloc(size)
#endif
#ifndef SOAP_FREE /* use libc free */
# define SOAP_FREE(soap, ptr) free(ptr)
#endif
#ifdef SOAP_DEBUG
# ifndef SOAP_MESSAGE
# define SOAP_MESSAGE fprintf
# endif
# ifndef DBGLOG
# define DBGLOG(DBGFILE, CMD) \
{ if (soap)\
{ if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
soap_open_logfile((struct soap*)soap, SOAP_INDEX_##DBGFILE);\
if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
{ FILE *fdebug = soap->fdebug[SOAP_INDEX_##DBGFILE];\
CMD;\
fflush(fdebug);\
}\
}\
}
# endif
# ifndef DBGMSG
# define DBGMSG(DBGFILE, MSG, LEN) \
{ if (soap)\
{ if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
soap_open_logfile((struct soap*)soap, SOAP_INDEX_##DBGFILE);\
if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
{ fwrite((MSG), 1, (LEN), soap->fdebug[SOAP_INDEX_##DBGFILE]);\
fflush(soap->fdebug[SOAP_INDEX_##DBGFILE]);\
}\
}\
}
# endif
# ifndef DGBFUN
# define DBGFUN(FNAME) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s()\n", __FILE__, __LINE__, FNAME))
# define DBGFUN1(FNAME, FMT, ARG) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT")\n", __FILE__, __LINE__, FNAME, (ARG)))
# define DBGFUN2(FNAME, FMT1, ARG1, FMT2, ARG2) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT1", "FMT2")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2)))
# define DBGFUN3(FNAME, FMT1, ARG1, FMT2, ARG2, FMT3, ARG3) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT1", "FMT2", "FMT3")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2), (ARG3)))
# endif
# ifndef DBGHEX
# define DBGHEX(DBGFILE, MSG, LEN) \
{ if (soap)\
{ if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\
if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
{ int i; char *s;\
for (s = (char*)(MSG), i = (LEN); i; i--)\
fprintf(soap->fdebug[SOAP_INDEX_##DBGFILE], "%2.2X ", (int)*s++&0xFF);\
fflush(soap->fdebug[SOAP_INDEX_##DBGFILE]);\
}\
}\
}
# endif
#else
# define DBGLOG(DBGFILE, CMD)
# define DBGMSG(DBGFILE, MSG, LEN)
# define DBGFUN(FNAME)
# define DBGFUN1(FNAME, FMT, ARG)
# define DBGFUN2(FNAME, FMT1, ARG1, FMT2, ARG2)
# define DBGFUN3(FNAME, FMT1, ARG1, FMT2, ARG2, FMT3, ARG3)
# define DBGHEX(DBGFILE, MSG, LEN)
#endif
/* UCS-4 requires 32 bits (0-7FFFFFFF, the sign bit is used by gSOAP to distinguish XML entities) */
typedef soap_int32 soap_wchar;
/* namespace table row */
struct Namespace
{ const char *id;
const char *ns;
const char *in;
char *out;
};
/* namespace stack */
struct soap_nlist
{ struct soap_nlist *next;
unsigned int level; /* nesting depth level */
short index; /* corresponding entry in ns mapping table */
char *ns; /* only set when parsed ns URI is not in the ns mapping table */
char id[1]; /* the actual string value flows into the allocated region below this struct */
};
/* block stack for nested block allocations */
struct soap_blist
{ struct soap_blist *next;
char *ptr;
size_t size;
};
/* array layout */
struct soap_array
{ void *__ptr;
int __size;
};
/* pointer serialization management */
struct soap_plist
{ struct soap_plist *next;
const void *ptr;
const struct soap_array *array;
int type;
int id;
char mark1;
char mark2;
};
/* block allocation for pointer serialization management */
struct soap_pblk
{ struct soap_pblk *next;
struct soap_plist plist[SOAP_PTRBLK];
};
#ifdef SOAP_MEM_DEBUG
/* malloc/free tracking for debugging */
struct soap_mlist
{ struct soap_mlist *next;
const void *ptr;
const char *file;
int line;
short live;
};
#endif
/* class allocation list */
struct soap_clist
{ struct soap_clist *next;
void *ptr;
int type;
int size;
int (*fdelete)(struct soap_clist*);
};
/* attributes */
struct soap_attribute
{ struct soap_attribute *next;
char *value;
size_t size;
char *ns;
short visible;
char name[1]; /* the actual name string flows into the allocated region below this struct */
};
#ifndef WITH_LEAN
struct soap_cookie
{ struct soap_cookie *next;
char *name;
char *value;
char *domain;
char *path;
time_t expire; /* client-side: local time to expire */
long maxage; /* server-side: seconds to expire */
unsigned int version;
short secure;
short session; /* server-side */
short env; /* server-side: got cookie from client and should not be (re)send */
short modified; /* server-side: client cookie was modified and should be send */
};
#endif
#ifdef __cplusplus
SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_next_multipart(struct soap_multipart*);
class soap_multipart_iterator
{ public:
struct soap_multipart *content;
bool operator==(const soap_multipart_iterator& iter) const
{ return content == iter.content; }
bool operator!=(const soap_multipart_iterator& iter) const
{ return content != iter.content; }
struct soap_multipart &operator*() const
{ return *content; }
soap_multipart_iterator &operator++()
{ content = soap_next_multipart(content); return *this; }
soap_multipart_iterator() : content(NULL)
{ }
soap_multipart_iterator(struct soap_multipart *p) : content(p)
{ }
};
#endif
#ifndef WITH_LEANER
struct soap_dime
{ size_t count;
size_t size;
size_t chunksize;
size_t buflen;
char flags;
char *ptr;
const char *id;
const char *type;
const char *options;
struct soap_multipart *list; /* list of DIME attachments received */
struct soap_multipart *first, *last; /* temporary in/out queue */
#ifdef __cplusplus
soap_multipart_iterator begin()
{ soap_multipart_iterator iter(list); return iter; };
soap_multipart_iterator end()
{ soap_multipart_iterator iter(NULL); return iter; };
#endif
};
#endif
#ifndef WITH_LEANER
struct soap_mime
{ char *boundary; /* MIME boundary */
const char *start; /* MIME start ID */
struct soap_multipart *list; /* list of MIME attachments received */
struct soap_multipart *first, *last; /* temporary in/out queue */
#ifdef __cplusplus
soap_multipart_iterator begin()
{ soap_multipart_iterator iter(list); return iter; };
soap_multipart_iterator end()
{ soap_multipart_iterator iter(NULL); return iter; };
#endif
};
#endif
#ifndef WITH_LEANER
/* RFC2045 MIME content transfer encodings */
enum soap_mime_encoding
{ SOAP_MIME_NONE,
SOAP_MIME_7BIT,
SOAP_MIME_8BIT,
SOAP_MIME_BINARY,
SOAP_MIME_QUOTED_PRINTABLE,
SOAP_MIME_BASE64,
SOAP_MIME_IETF_TOKEN,
SOAP_MIME_X_TOKEN
};
#endif
#ifndef WITH_LEANER
/* DIME/MIME multipart list */
struct soap_multipart
{ struct soap_multipart *next;
char *ptr; /* points to raw data content */
size_t size; /* size of data content */
const char *id; /* DIME/MIME content ID or form data name */
const char *type; /* DIME/MIME type (MIME type format) */
const char *options; /* DIME options */
enum soap_mime_encoding encoding; /* MIME Content-Transfer-Encoding */
const char *location; /* MIME Content-Location (optional) */
const char *description; /* MIME Content-Description (optional) */
#ifdef __cplusplus
typedef soap_multipart_iterator iterator;
#endif
};
#endif
#ifndef WITH_LEANER
/* attachment DIME and MTOM XOP forwarding */
struct soap_xlist
{ struct soap_xlist *next;
unsigned char **ptr;
int *size;
char *id;
char **type;
char **options;
};
#endif
/******************************************************************************/
#ifndef WITH_LEANER
#ifdef __cplusplus
class soap_dom_attribute_iterator
{ public:
struct soap_dom_attribute *att;
const char *nstr;
const char *name;
bool operator==(const soap_dom_attribute_iterator&) const;
bool operator!=(const soap_dom_attribute_iterator&) const;
struct soap_dom_attribute &operator*() const;
soap_dom_attribute_iterator &operator++();
soap_dom_attribute_iterator();
soap_dom_attribute_iterator(struct soap_dom_attribute*);
~soap_dom_attribute_iterator();
};
#endif
#endif
#ifndef WITH_LEANER
struct soap_dom_attribute
{ struct soap_dom_attribute *next;
const char *nstr;
char *name;
char *data;
wchar_t *wide;
struct soap *soap;
#ifdef __cplusplus
typedef soap_dom_attribute_iterator iterator;
struct soap_dom_attribute &set(const char *nstr, const char *name); /* set namespace and name */
struct soap_dom_attribute &set(const char *data); /* set data */
soap_dom_attribute_iterator begin();
soap_dom_attribute_iterator end();
soap_dom_attribute_iterator find(const char *nstr, const char *name);
void unlink();
soap_dom_attribute();
soap_dom_attribute(struct soap *soap);
soap_dom_attribute(struct soap *soap, const char *nstr, const char *name, const char *data);
~soap_dom_attribute();
#endif
};
#endif
#ifndef WITH_LEANER
#ifdef __cplusplus
class soap_dom_element_iterator
{ public:
struct soap_dom_element *elt;
const char *nstr;
const char *name;
int type;
bool operator==(const soap_dom_element_iterator&) const;
bool operator!=(const soap_dom_element_iterator&) const;
struct soap_dom_element &operator*() const;
soap_dom_element_iterator &operator++();
soap_dom_element_iterator();
soap_dom_element_iterator(struct soap_dom_element*);
~soap_dom_element_iterator();
};
#endif
#endif
#ifndef WITH_LEANER
struct soap_dom_element
{ struct soap_dom_element *next; /* next sibling */
struct soap_dom_element *prnt; /* parent */
struct soap_dom_element *elts; /* list of child elements */
struct soap_dom_attribute *atts; /* list of attributes */
const char *nstr; /* namespace string */
char *name; /* element tag name */
char *data; /* element content data (with SOAP_C_UTFSTRING flag set) */
wchar_t *wide; /* element content data */
int type; /* optional: serialized C/C++ data type */
void *node; /* optional: pointer to serialized C/C++ data */
char *head; /* leading whitespace to start tag */
char *tail; /* leading whitespace to end tag */
struct soap *soap; /* soap context that manages this node */
#ifdef __cplusplus
typedef soap_dom_element_iterator iterator;
struct soap_dom_element &set(const char *nstr, const char *name);
struct soap_dom_element &set(const char *data);
struct soap_dom_element &set(void *node, int type);
struct soap_dom_element &add(struct soap_dom_element*);
struct soap_dom_element &add(struct soap_dom_element&);
struct soap_dom_element &add(struct soap_dom_attribute*);
struct soap_dom_element &add(struct soap_dom_attribute&);
soap_dom_element_iterator begin();
soap_dom_element_iterator end();
soap_dom_element_iterator find(const char *nstr, const char *name);
soap_dom_element_iterator find(int type);
void unlink();
soap_dom_element();
soap_dom_element(struct soap *soap);
soap_dom_element(struct soap *soap, const char *nstr, const char *name);
soap_dom_element(struct soap *soap, const char *nstr, const char *name, const char *data);
soap_dom_element(struct soap *soap, const char *nstr, const char *name, void *node, int type);
~soap_dom_element();
#endif
};
SOAP_FMAC1 struct soap_dom_element * SOAP_FMAC2 soap_dom_next_element(struct soap_dom_element *elt);
SOAP_FMAC1 struct soap_dom_attribute * SOAP_FMAC2 soap_dom_next_attribute(struct soap_dom_attribute *att);
#endif
#if defined(__cplusplus) && !defined(WITH_LEAN)
}
extern std::ostream &operator<<(std::ostream&, const struct soap_dom_element&);
extern std::istream &operator>>(std::istream&, struct soap_dom_element&);
extern "C" {
#endif
/******************************************************************************/
#ifdef WIN32
# ifdef SOAP_STD_EXPORTS
# define SOAP_STD_API __declspec(dllexport)
# else
# define SOAP_STD_API
# endif
#else
# define SOAP_STD_API
#endif
struct SOAP_STD_API soap
{ short state; /* 0 = uninitialized, 1 = initialized, 2 = copy of another soap struct */
short version; /* 1 = SOAP1.1 and 2 = SOAP1.2 (set automatically from namespace URI in nsmap table) */
soap_mode mode;
soap_mode imode;
soap_mode omode;
const char *float_format; /* user-definable format string for floats (<1024 chars) */
const char *double_format; /* user-definable format string for doubles (<1024 chars) */
const char *dime_id_format; /* user-definable format string for integer DIME id (<SOAP_TAGLEN chars) */
const char *http_version; /* HTTP version used "1.0" or "1.1" */
const char *http_content; /* optional custom response content type (with SOAP_FILE) */
const char *encodingStyle; /* default = NULL which means that SOAP encoding is used */
const char *actor; /* SOAP-ENV:actor or role attribute value */
int recv_timeout; /* when > 0, gives socket recv timeout in seconds, < 0 in usec */
int send_timeout; /* when > 0, gives socket send timeout in seconds, < 0 in usec */
int connect_timeout; /* when > 0, gives socket connect() timeout in seconds, < 0 in usec */
int accept_timeout; /* when > 0, gives socket accept() timeout in seconds, < 0 in usec */
int socket_flags; /* socket recv() and send() flags, e.g. set to MSG_NOSIGNAL to disable sigpipe */
int connect_flags; /* connect() SOL_SOCKET sockopt flags, e.g. set to SO_DEBUG to debug socket */
int bind_flags; /* bind() SOL_SOCKET sockopt flags, e.g. set to SO_REUSEADDR to enable reuse */
int accept_flags; /* accept() SOL_SOCKET sockopt flags */
const struct Namespace *namespaces; /* Pointer to global namespace mapping table */
struct Namespace *local_namespaces; /* Local namespace mapping table */
struct soap_nlist *nlist; /* namespace stack */
struct soap_blist *blist; /* block allocation stack */
struct soap_clist *clist; /* class instance allocation list */
void *alist; /* memory allocation (malloc) list */
struct soap_ilist *iht[SOAP_IDHASH];
struct soap_plist *pht[SOAP_PTRHASH];
struct soap_pblk *pblk; /* plist block allocation */
short pidx; /* plist block allocation */
struct SOAP_ENV__Header *header;
struct SOAP_ENV__Fault *fault;
int idnum;
void *user; /* to pass user-defined data */
struct soap_plugin *plugins; /* linked list of plug-in data */
char *userid; /* HTTP Basic authorization userid */
char *passwd; /* HTTP Basic authorization passwd */
int (*fpost)(struct soap*, const char*, const char*, int, const char*, const char*, size_t);
int (*fget)(struct soap*);
int (*fform)(struct soap*);
int (*fposthdr)(struct soap*, const char*, const char*);
int (*fresponse)(struct soap*, int, size_t);
int (*fparse)(struct soap*);
int (*fparsehdr)(struct soap*, const char*, const char*);
int (*fheader)(struct soap*);
int (*fresolve)(struct soap*, const char*, struct in_addr* inaddr);
int (*fconnect)(struct soap*, const char*, const char*, int);
int (*fdisconnect)(struct soap*);
int (*fclosesocket)(struct soap*, SOAP_SOCKET);
int (*fshutdownsocket)(struct soap*, SOAP_SOCKET, int);
int (*fopen)(struct soap*, const char*, const char*, int);
int (*faccept)(struct soap*, int, struct sockaddr*, int *n);
int (*fclose)(struct soap*);
int (*fsend)(struct soap*, const char*, size_t);
size_t (*frecv)(struct soap*, char*, size_t);
int (*fpoll)(struct soap*);
void (*fseterror)(struct soap*, const char **c, const char **s);
int (*fignore)(struct soap*, const char*);
int (*fserveloop)(struct soap*);
void *(*fplugin)(struct soap*, const char*);
void *(*fmalloc)(struct soap*, size_t);
#ifndef WITH_LEANER
int (*fprepareinit)(struct soap*);
int (*fpreparesend)(struct soap*, const char*, size_t);
int (*fpreparerecv)(struct soap*, const char*, size_t);
int (*fpreparefinal)(struct soap*);
void *(*fdimereadopen)(struct soap*, void*, const char*, const char*, const char*);
void *(*fdimewriteopen)(struct soap*, const char*, const char*, const char*);
void (*fdimereadclose)(struct soap*, void*);
void (*fdimewriteclose)(struct soap*, void*);
size_t (*fdimeread)(struct soap*, void*, char*, size_t);
int (*fdimewrite)(struct soap*, void*, const char*, size_t);
void *(*fmimereadopen)(struct soap*, void*, const char*, const char*, const char*);
void *(*fmimewriteopen)(struct soap*, void*, const char*, const char*, const char*, enum soap_mime_encoding);
void (*fmimereadclose)(struct soap*, void*);
void (*fmimewriteclose)(struct soap*, void*);
size_t (*fmimeread)(struct soap*, void*, char*, size_t);
int (*fmimewrite)(struct soap*, void*, const char*, size_t);
#endif
int master;
int socket;
#if defined(__cplusplus) && !defined(WITH_LEAN)
std::ostream *os;
std::istream *is;
#else
void *os; /* preserve alignment */
void *is; /* preserve alignment */
#endif
#ifndef UNDER_CE
int sendfd;
int recvfd;
#else
FILE *sendfd;
FILE *recvfd;
#endif
size_t bufidx; /* index in soap.buf[] */
size_t buflen; /* length of soap.buf[] content */
soap_wchar ahead; /* parser lookahead */
short cdata; /* CDATA parser state */
short body; /* parsed XML element has a body or not */
unsigned int level; /* XML nesting level */
size_t count; /* message length counter */
size_t length; /* message length as set by HTTP header */
char *labbuf; /* look-aside buffer */
size_t lablen; /* look-aside buffer allocated length */
size_t labidx; /* look-aside buffer index to available part */
char buf[SOAP_BUFLEN];/* send and receive buffer */
char msgbuf[1024]; /* in/output buffer for messages >=1024 bytes */
char tmpbuf[1024]; /* in/output buffer for HTTP/MIME headers, simpleType values, attribute names, and DIME must be >=1024 bytes */
char tag[SOAP_TAGLEN];
char id[SOAP_TAGLEN];
char href[SOAP_TAGLEN];
char type[SOAP_TAGLEN];
char arrayType[SOAP_TAGLEN];
char arraySize[SOAP_TAGLEN];
char arrayOffset[SOAP_TAGLEN];
short other;
short position;
int positions[SOAP_MAXDIMS];
short root;
struct soap_attribute *attributes; /* attribute list */
short encoding; /* when set, output encodingStyle */
short mustUnderstand; /* a mustUnderstand element was parsed or is output */
short keep_alive; /* connection should be kept open */
short null; /* parsed XML is xsi:nil */
short ns; /* when not set, output full xmlns bindings */
short part; /* parsing state */
short alloced;
short peeked;
size_t chunksize;
size_t chunkbuflen;
char endpoint[SOAP_TAGLEN];
char path[SOAP_TAGLEN];
char host[SOAP_TAGLEN];
char *action;
char *authrealm; /* HTTP authentication realm */
char *prolog; /* XML declaration prolog */
unsigned long ip; /* IP number */
int port; /* port number */
unsigned int max_keep_alive;
const char *proxy_http_version;/* HTTP version of proxy "1.0" or "1.1" */
const char *proxy_host; /* Proxy Server host name */
int proxy_port; /* Proxy Server port (default = 8080) */
const char *proxy_userid; /* Proxy Authorization user name */
const char *proxy_passwd; /* Proxy Authorization password */
int status; /* -1 when request, else error code to be returned by server */
int error;
int errmode;
int errnum;
#ifndef WITH_LEANER
struct soap_dom_element *dom;
struct soap_dime dime;
struct soap_mime mime;
struct soap_xlist *xlist;
#endif
#if !defined(WITH_LEAN) || defined(SOAP_DEBUG)
const char *logfile[SOAP_MAXLOGS];
FILE *fdebug[SOAP_MAXLOGS];
struct soap_mlist *mht[SOAP_PTRHASH];
#endif
#ifndef WITH_LEAN
const char *c14ninclude;
const char *c14nexclude;
struct soap_cookie *cookies;
const char *cookie_domain;
const char *cookie_path;
int cookie_max;
#endif
#ifndef WITH_NOIO
#ifdef WITH_IPV6
struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */
#else
struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */
#endif
#endif
size_t peerlen;
#ifdef WITH_OPENSSL
int (*fsslauth)(struct soap*);
int (*fsslverify)(int, X509_STORE_CTX*);
BIO *bio;
SSL *ssl;
SSL_CTX *ctx;
unsigned short ssl_flags;
const char *keyfile;
const char *password;
const char *dhfile;
const char *cafile;
const char *capath;
const char *crlfile;
const char *randfile;
SSL_SESSION *session;
char session_host[SOAP_TAGLEN];
int session_port;
#endif
#ifdef WITH_ZLIB
short zlib_state; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_INFLATE */
short zlib_in; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */
short zlib_out; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */
z_stream d_stream; /* decompression stream */
char z_buf[SOAP_BUFLEN]; /* buffer */
size_t z_buflen;
unsigned short z_level; /* compression level to be used (0=none, 1=fast to 9=best) */
uLong z_crc; /* internal gzip crc */
float z_ratio_in; /* detected compression ratio compressed_length/length of inbound message */
float z_ratio_out; /* detected compression ratio compressed_length/length of outbound message */
#endif
#ifdef WMW_RPM_IO
void *rpmreqid;
#endif
#ifndef WITH_LEAN
#ifdef __cplusplus
soap();
soap(soap_mode);
soap(soap_mode, soap_mode);
soap(struct soap&);
~soap();
#endif
#endif
};
struct soap_code_map
{ long code;
const char *string;
};
/* forwarding list */
struct soap_flist
{ struct soap_flist *next;
int type;
void *ptr;
unsigned int level;
size_t len;
void (*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t);
};
/* id-ref forwarding list */
struct soap_ilist
{ struct soap_ilist *next;
int type;
size_t size;
void *link;
void *copy;
struct soap_flist *flist;
void *ptr;
unsigned int level;
char id[1]; /* the actual id string value flows into the allocated region below this struct */
};
struct soap_plugin
{ struct soap_plugin *next;
const char *id;
void *data;
int (*fcopy)(struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src);
void (*fdelete)(struct soap *soap, struct soap_plugin *p); /* should delete fields of plugin only and not free(p) */
};
#ifndef WITH_NONAMESPACES
extern SOAP_NMAC struct Namespace namespaces[];
#endif
#ifndef WITH_LEAN
# define soap_get0(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx])
# define soap_get1(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx++])
#else
soap_wchar soap_get0(struct soap*);
soap_wchar soap_get1(struct soap*);
#endif
#define soap_revget1(soap) ((soap)->bufidx--)
#define soap_unget(soap, c) ((soap)->ahead = c)
#define soap_register_plugin(soap, plugin) soap_register_plugin_arg(soap, plugin, NULL)
#define soap_imode(soap, n) ((soap)->mode = (soap)->imode = (n))
#define soap_set_imode(soap, n) ((soap)->imode |= (n))
#define soap_clr_imode(soap, n) ((soap)->imode &= ~(n))
#define soap_omode(soap, n) ((soap)->mode = (soap)->omode = (n))
#define soap_set_omode(soap, n) ((soap)->omode |= (n))
#define soap_clr_omode(soap, n) ((soap)->omode &= ~(n))
#define soap_set_mode(soap, n) ((soap)->imode |= (n), (soap)->omode |= (n))
#define soap_clr_mode(soap, n) ((soap)->imode &= ~(n), (soap)->omode &= ~(n))
#define soap_destroy(soap) soap_delete((soap), NULL)
#ifdef HAVE_STRRCHR
# define soap_strrchr(s, t) strrchr(s, t)
#else
SOAP_FMAC1 char* SOAP_FMAC2 soap_strrchr(const char *s, int t);
#endif
#ifdef HAVE_STRTOL
# define soap_strtol(s, t, b) strtol(s, t, b)
#else
SOAP_FMAC1 long SOAP_FMAC2 soap_strtol(const char *s, char **t, int b);
#endif
#ifdef HAVE_STRTOUL
# define soap_strtoul(s, t, b) strtoul(s, t, b)
#else
SOAP_FMAC1 unsigned long SOAP_FMAC2 soap_strtoul(const char *s, char **t, int b);
#endif
#if defined(WITH_OPENSSL)
# define soap_random soap_rand()
SOAP_FMAC1 int SOAP_FMAC2 soap_rand(void);
#elif defined(HAVE_RANDOM)
# define soap_random (int)random()
#else
# define soap_random rand()
#endif
#ifdef WITH_NOIDREF
# define soap_embedded(s, p, t) (0)
# define soap_id_lookup(s, i, p, t, n, k) (p)
# define soap_id_forward(s, h, p, len, st, tt, n, k, fc) (p)
# define soap_reference(s, a, t) (1)
# define soap_array_reference(s, p, a, n, t) (1)
# define soap_embed(s, p, a, n, t, pp) (0)
# define soap_embedded_id(s, i, p, t) (i)
# define soap_is_embedded(s, p) (0)
# define soap_is_single(s, p) (1)
# define soap_lookup_type(s, i) (0)
# define soap_getindependent(s) (0)
# define soap_putindependent(s) (0)
# define soap_getelement(s, n) (n)
# define soap_putelement(s, p, t, i, n) (0)
# define soap_markelement(s, p, n) (0)
#endif
SOAP_FMAC1 void SOAP_FMAC2 soap_fault(struct soap*);
SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultcode(struct soap*);
SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultsubcode(struct soap*);
SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultstring(struct soap*);
SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultdetail(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_serializeheader(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putheader(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_getheader(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_serializefault(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putfault(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_getfault(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_ssl_init(void);
SOAP_FMAC1 int SOAP_FMAC2 soap_poll(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_connect_command(struct soap*, int, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_connect(struct soap*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_bind(struct soap*, const char*, int, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_accept(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_accept(struct soap*);
SOAP_FMAC1 const char * SOAP_FMAC2 soap_ssl_error(struct soap*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_server_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_client_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_puthttphdr(struct soap*, int status, size_t count);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_get_header_attribute(struct soap*, const char*, const char*);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_key(char*, size_t, const char*);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_val(char*, size_t, const char*);
SOAP_FMAC1 size_t SOAP_FMAC2 soap_hash(const char*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_endpoint(struct soap*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_flush_raw(struct soap*, const char*, size_t);
SOAP_FMAC1 int SOAP_FMAC2 soap_flush(struct soap*);
SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_get(struct soap*);
SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getchar(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_tag_cmp(const char*, const char*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_fault(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_sender_fault(struct soap*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_sender_fault_subcode(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_receiver_fault(struct soap*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_receiver_fault_subcode(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_set_sender_error(struct soap*, const char*, const char*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_set_receiver_error(struct soap*, const char*, const char*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_send_raw(struct soap*, const char*, size_t);
SOAP_FMAC1 int SOAP_FMAC2 soap_recv_raw(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_recv(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_send(struct soap*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_send2(struct soap*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_send3(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_pututf8(struct soap*, unsigned long);
SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getutf8(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putbase64(struct soap*, const unsigned char*, int);
SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_getbase64(struct soap*, int*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_puthex(struct soap*, const unsigned char*, int);
SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_gethex(struct soap*, int*);
#ifndef WITH_LEANER
SOAP_FMAC1 int SOAP_FMAC2 soap_xop_forward(struct soap*, unsigned char**, int*, char**, char**, char**);
SOAP_FMAC1 int SOAP_FMAC2 soap_dime_forward(struct soap*, unsigned char**, int*, char**, char**, char**);
#endif
#ifndef WITH_NOIDREF
SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup_id(struct soap*, void *p, int t, struct soap_plist**);
SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup(struct soap*, const void *p, int t, struct soap_plist**);
SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_enter(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**);
SOAP_FMAC1 int SOAP_FMAC2 soap_array_pointer_lookup(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**);
SOAP_FMAC1 int SOAP_FMAC2 soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type);
SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_lookup(struct soap*, const char*);
SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_enter(struct soap*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_resolve(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_embedded(struct soap*, const void *p, int t);
SOAP_FMAC1 int SOAP_FMAC2 soap_reference(struct soap*, const void *p, int t);
SOAP_FMAC1 int SOAP_FMAC2 soap_array_reference(struct soap*, const void *p, const struct soap_array *a, int n, int t);
SOAP_FMAC1 int SOAP_FMAC2 soap_embedded_id(struct soap*, int id, const void *p, int t);
SOAP_FMAC1 int SOAP_FMAC2 soap_is_embedded(struct soap*, struct soap_plist*);
SOAP_FMAC1 int SOAP_FMAC2 soap_is_single(struct soap*, struct soap_plist*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_embedded(struct soap*, struct soap_plist*);
#endif
SOAP_FMAC1 int SOAP_FMAC2 soap_begin_count(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_end_count(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_begin_send(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_end_send(struct soap*);
SOAP_FMAC1 const struct soap_code_map* SOAP_FMAC2 soap_code(const struct soap_code_map*, const char*);
SOAP_FMAC1 long SOAP_FMAC2 soap_code_int(const struct soap_code_map*, const char*, long);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_code_str(const struct soap_code_map*, long);
SOAP_FMAC1 long SOAP_FMAC2 soap_code_bits(const struct soap_code_map*, const char*);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_code_list(struct soap*, const struct soap_code_map*, long);
SOAP_FMAC1 int SOAP_FMAC2 soap_getline(struct soap*, char*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_begin_recv(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_end_recv(struct soap*);
SOAP_FMAC1 void* SOAP_FMAC2 soap_malloc(struct soap*, size_t);
SOAP_FMAC1 void SOAP_FMAC2 soap_dealloc(struct soap*, void*);
SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 soap_link(struct soap*, void*, int, int, int (*fdelete)(struct soap_clist*));
SOAP_FMAC1 void SOAP_FMAC2 soap_unlink(struct soap*, const void*);
SOAP_FMAC1 void SOAP_FMAC2 soap_free_temp(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_del(struct soap*);
SOAP_FMAC1 void* SOAP_FMAC2 soap_track_malloc(struct soap*, const char*, int, size_t);
SOAP_FMAC1 void SOAP_FMAC2 soap_track_free(struct soap*, const char*, int, void*);
#ifndef WITH_NOIDREF
SOAP_FMAC1 int SOAP_FMAC2 soap_lookup_type(struct soap*, const char *id);
SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t));
#endif
SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap*, int, const char*, const char*, size_t*));
SOAP_FMAC1 void SOAP_FMAC2 soap_fcopy(struct soap *soap, int st, int tt, void *p, size_t, const void *q, size_t n);
SOAP_FMAC1 int SOAP_FMAC2 soap_size(const int *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_getoffsets(const char *, const int *, int *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_getsize(const char *, const char *, int *);
SOAP_FMAC1 int SOAP_FMAC2 soap_getsizes(const char *, int *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_getposition(const char *, int *);
SOAP_FMAC1 char* SOAP_FMAC2 soap_putsize(struct soap*, const char *, int);
SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizesoffsets(struct soap*, const char *, const int *, const int *, int);
SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizes(struct soap*, const char *, const int *, int);
SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffset(struct soap*, int);
SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffsets(struct soap*, const int *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_closesock(struct soap*);
SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new(void);
SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new1(soap_mode);
SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new2(soap_mode, soap_mode);
SOAP_FMAC1 void SOAP_FMAC2 soap_free(struct soap*);
SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy(struct soap*);
SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy_context(struct soap*, struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_copy_stream(struct soap*, struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_init(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_init1(struct soap*, soap_mode);
SOAP_FMAC1 void SOAP_FMAC2 soap_init2(struct soap*, soap_mode, soap_mode);
SOAP_FMAC1 void SOAP_FMAC2 soap_done(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_cleanup(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_begin(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_end(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_delete(struct soap*, void*);
#ifdef SOAP_DEBUG
SOAP_FMAC1 void SOAP_FMAC2 soap_set_recv_logfile(struct soap*, const char*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_sent_logfile(struct soap*, const char*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_test_logfile(struct soap*, const char*);
SOAP_FMAC1 void SOAP_FMAC2 soap_close_logfiles(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_open_logfile(struct soap*, int);
#endif
SOAP_FMAC1 const char* SOAP_FMAC2 soap_value(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_match_tag(struct soap*, const char*, const char *);
SOAP_FMAC1 int SOAP_FMAC2 soap_match_array(struct soap*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_element(struct soap*, const char*, int, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_out(struct soap*, const char *tag, int id, const char *type);
SOAP_FMAC1 int SOAP_FMAC2 soap_array_begin_out(struct soap*, const char *tag, int id, const char *type, const char *offset);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_ref(struct soap*, const char *tag, int id, int href);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_href(struct soap*, const char *tag, int id, const char *ref, const char *val);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_null(struct soap*, const char *tag, int id, const char *type);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_id(struct soap*, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_result(struct soap*, const char *tag);
SOAP_FMAC1 void SOAP_FMAC2 soap_check_result(struct soap*, const char *tag);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_out(struct soap*, const char *tag);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_start_end_out(struct soap*, const char *tag);
SOAP_FMAC1 int SOAP_FMAC2 soap_attribute(struct soap*, const char*, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_in(struct soap*, const char *tag, int nillable, const char *type);
SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_in(struct soap*, const char *tag);
SOAP_FMAC1 int SOAP_FMAC2 soap_peek_element(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_retry(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_revert(struct soap*);
SOAP_FMAC1 char* SOAP_FMAC2 soap_strdup(struct soap*, const char*);
SOAP_FMAC1 const char * SOAP_FMAC2 soap_strsearch(const char *big, const char *little);
SOAP_FMAC1 int SOAP_FMAC2 soap_string_out(struct soap*, const char *s, int flag);
SOAP_FMAC1 char* SOAP_FMAC2 soap_string_in(struct soap*, int, long, long);
#ifndef WITH_LEANER
SOAP_FMAC1 int SOAP_FMAC2 soap_wstring_out(struct soap*, const wchar_t *s, int flag);
SOAP_FMAC1 wchar_t* SOAP_FMAC2 soap_wstring_in(struct soap*, int, long, long);
#endif
SOAP_FMAC1 int SOAP_FMAC2 soap_match_namespace(struct soap*, const char *, const char*, int n1, int n2);
SOAP_FMAC1 int SOAP_FMAC2 soap_set_namespaces(struct soap*, const struct Namespace*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_local_namespaces(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_pop_namespace(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_push_namespace(struct soap*, const char *,const char *);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_current_namespace(struct soap *soap, const char *tag);
SOAP_FMAC1 struct soap_nlist* SOAP_FMAC2 soap_lookup_ns(struct soap *soap, const char *tag, size_t n);
SOAP_FMAC1 int SOAP_FMAC2 soap_store_lab(struct soap*, const char*, size_t);
SOAP_FMAC1 int SOAP_FMAC2 soap_append_lab(struct soap*, const char*, size_t);
SOAP_FMAC1 int SOAP_FMAC2 soap_new_block(struct soap*);
SOAP_FMAC1 void* SOAP_FMAC2 soap_push_block(struct soap*, size_t);
SOAP_FMAC1 void SOAP_FMAC2 soap_pop_block(struct soap*);
SOAP_FMAC1 size_t SOAP_FMAC2 soap_size_block(struct soap*, size_t);
SOAP_FMAC1 char* SOAP_FMAC2 soap_first_block(struct soap*);
SOAP_FMAC1 char* SOAP_FMAC2 soap_next_block(struct soap*);
SOAP_FMAC1 size_t SOAP_FMAC2 soap_block_size(struct soap*);
SOAP_FMAC1 char* SOAP_FMAC2 soap_save_block(struct soap*, char*, int);
SOAP_FMAC1 void SOAP_FMAC2 soap_end_block(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_out(struct soap*);
SOAP_FMAC1 int soap_envelope_end_out(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_in(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_end_in(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_out(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_out(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_in(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_in(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_recv_header(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_response(struct soap*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_send_empty_response(struct soap*, int status);
SOAP_FMAC1 int SOAP_FMAC2 soap_recv_empty_response(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_send_fault(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_recv_fault(struct soap*);
#ifndef WITH_NOSTDLIB
SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault(struct soap*, FILE*);
SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault_location(struct soap*, FILE*);
#endif
SOAP_FMAC1 int SOAP_FMAC2 soap_s2byte(struct soap*, const char*, char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2short(struct soap*, const char*, short*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2int(struct soap*, const char*, int*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2long(struct soap*, const char*, long*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2LONG64(struct soap*, const char*, LONG64*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2float(struct soap*, const char*, float*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2double(struct soap*, const char*, double*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedByte(struct soap*, const char*, unsigned char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedShort(struct soap*, const char*, unsigned short*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedInt(struct soap*, const char*, unsigned int*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedLong(struct soap*, const char*, unsigned long*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2ULONG64(struct soap*, const char*, ULONG64*);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2string(struct soap*, const char*, char**);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2QName(struct soap*, const char*, char**);
#ifndef WITH_LEAN
SOAP_FMAC1 int SOAP_FMAC2 soap_s2wchar(struct soap*, const char*, wchar_t**);
SOAP_FMAC1 int SOAP_FMAC2 soap_s2dateTime(struct soap*, const char*, time_t*);
SOAP_FMAC1 char* SOAP_FMAC2 soap_s2base64(struct soap*, const unsigned char*, char*, int);
SOAP_FMAC1 char* SOAP_FMAC2 soap_s2hex(struct soap*, const unsigned char*, char*, int);
#endif
SOAP_FMAC1 const char* SOAP_FMAC2 soap_byte2s(struct soap*, char);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_short2s(struct soap*, short);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_int2s(struct soap*, int);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_long2s(struct soap*, long);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_LONG642s(struct soap*, LONG64);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_float2s(struct soap*, float);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_double2s(struct soap*, double);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedByte2s(struct soap*, unsigned char);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedShort2s(struct soap*, unsigned short);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedInt2s(struct soap*, unsigned int);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedLong2s(struct soap*, unsigned long);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_ULONG642s(struct soap*, ULONG64);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_QName2s(struct soap*, const char*);
#ifndef WITH_LEAN
SOAP_FMAC1 const char* SOAP_FMAC2 soap_wchar2s(struct soap*, const wchar_t*);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_dateTime2s(struct soap*, time_t);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_base642s(struct soap*, const char*, char*, size_t, int*);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_hex2s(struct soap*, const char*, char*, size_t, int*);
#endif
SOAP_FMAC1 int* SOAP_FMAC2 soap_inint(struct soap*, const char *tag, int *p, const char *, int);
SOAP_FMAC1 char* SOAP_FMAC2 soap_inbyte(struct soap*, const char *tag, char *p, const char *, int);
SOAP_FMAC1 long* SOAP_FMAC2 soap_inlong(struct soap*, const char *tag, long *p, const char *, int);
SOAP_FMAC1 LONG64* SOAP_FMAC2 soap_inLONG64(struct soap*, const char *tag, LONG64 *p, const char *, int);
SOAP_FMAC1 short* SOAP_FMAC2 soap_inshort(struct soap*, const char *tag, short *p, const char *, int);
SOAP_FMAC1 float* SOAP_FMAC2 soap_infloat(struct soap*, const char *tag, float *p, const char *, int);
SOAP_FMAC1 double* SOAP_FMAC2 soap_indouble(struct soap*, const char *tag, double *p, const char *, int);
SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_inunsignedByte(struct soap*, const char *tag, unsigned char *p, const char *, int);
SOAP_FMAC1 unsigned short* SOAP_FMAC2 soap_inunsignedShort(struct soap*, const char *tag, unsigned short *p, const char *, int);
SOAP_FMAC1 unsigned int* SOAP_FMAC2 soap_inunsignedInt(struct soap*, const char *tag, unsigned int *p, const char *, int);
SOAP_FMAC1 unsigned long* SOAP_FMAC2 soap_inunsignedLong(struct soap*, const char *tag, unsigned long *p, const char *, int);
SOAP_FMAC1 ULONG64* SOAP_FMAC2 soap_inULONG64(struct soap*, const char *tag, ULONG64 *p, const char *, int);
SOAP_FMAC1 char** SOAP_FMAC2 soap_instring(struct soap*, const char *tag, char **p, const char *, int, int, long, long);
SOAP_FMAC1 char** SOAP_FMAC2 soap_inliteral(struct soap*, const char *tag, char **p);
#ifndef WITH_LEAN
SOAP_FMAC1 time_t* SOAP_FMAC2 soap_indateTime(struct soap*, const char *tag, time_t *p, const char *, int);
#endif
#ifndef WITH_LEANER
SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwstring(struct soap*, const char *tag, wchar_t **p, const char *, int, long, long);
SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwliteral(struct soap*, const char *tag, wchar_t **p);
#endif
SOAP_FMAC1 int SOAP_FMAC2 soap_outbyte(struct soap*, const char *tag, int id, const char *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outshort(struct soap*, const char *tag, int id, const short *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outint(struct soap*, const char *tag, int id, const int *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outlong(struct soap*, const char *tag, int id, const long *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outLONG64(struct soap*, const char *tag, int id, const LONG64 *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outfloat(struct soap*, const char *tag, int id, const float *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outdouble(struct soap*, const char *tag, int id, const double *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedByte(struct soap*, const char *tag, int id, const unsigned char *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedShort(struct soap*, const char *tag, int id, const unsigned short *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedInt(struct soap*, const char *tag, int id, const unsigned int *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedLong(struct soap*, const char *tag, int id, const unsigned long *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outULONG64(struct soap*, const char *tag, int id, const ULONG64 *p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outstring(struct soap*, const char *tag, int id, char *const*p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outliteral(struct soap*, const char *tag, char *const*p, const char *type);
#ifndef WITH_LEAN
SOAP_FMAC1 int SOAP_FMAC2 soap_outdateTime(struct soap*, const char *tag, int id, const time_t *p, const char *, int);
#endif
#ifndef WITH_LEANER
SOAP_FMAC1 int SOAP_FMAC2 soap_outwstring(struct soap*, const char *tag, int id, wchar_t *const*p, const char *, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_outwliteral(struct soap*, const char *tag, wchar_t *const*p, const char *type);
#endif
#ifndef WITH_LEANER
SOAP_FMAC1 int SOAP_FMAC2 soap_attachment(struct soap *, const char*, int, const void*, const struct soap_array*, const char*, const char*, const char*, int, const char*, int);
SOAP_FMAC1 int SOAP_FMAC2 soap_move(struct soap*, long);
SOAP_FMAC1 size_t SOAP_FMAC2 soap_tell(struct soap*);
SOAP_FMAC1 char* SOAP_FMAC2 soap_dime_option(struct soap*, unsigned short, const char*);
SOAP_FMAC1 int SOAP_FMAC2 soap_getdimehdr(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_getdime(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putdimehdr(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putdime(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_getmimehdr(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_getmime(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putmimehdr(struct soap*, struct soap_multipart*);
SOAP_FMAC1 int SOAP_FMAC2 soap_putmime(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_dime(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_set_mime(struct soap*, const char *boundary, const char *start);
SOAP_FMAC1 void SOAP_FMAC2 soap_clr_dime(struct soap*);
SOAP_FMAC1 void SOAP_FMAC2 soap_clr_mime(struct soap*);
SOAP_FMAC1 int SOAP_FMAC2 soap_set_dime_attachment(struct soap*, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option);
SOAP_FMAC1 int SOAP_FMAC2 soap_set_mime_attachment(struct soap*, char *ptr, size_t size, enum soap_mime_encoding encoding, const char *type, const char *id, const char *location, const char *description);
SOAP_FMAC1 void SOAP_FMAC2 soap_post_check_mime_attachments(struct soap *soap);
SOAP_FMAC1 int SOAP_FMAC2 soap_check_mime_attachments(struct soap *soap);
SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_get_mime_attachment(struct soap *soap, void *handle);
SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_next_multipart(struct soap_multipart*);
SOAP_FMAC1 int SOAP_FMAC2 soap_match_cid(struct soap*, const char*, const char*);
#endif
SOAP_FMAC1 int SOAP_FMAC2 soap_register_plugin_arg(struct soap*, int (*fcreate)(struct soap*, struct soap_plugin*, void*), void*);
SOAP_FMAC1 void* SOAP_FMAC2 soap_lookup_plugin(struct soap*, const char*);
SOAP_FMAC1 const char* SOAP_FMAC2 soap_attr_value(struct soap *soap, const char *name, int flag);
SOAP_FMAC1 int SOAP_FMAC2 soap_set_attr(struct soap *soap, const char *name, const char *value);
SOAP_FMAC1 void SOAP_FMAC2 soap_clr_attr(struct soap *soap);
#ifdef WITH_COOKIES
SOAP_FMAC1 void SOAP_FMAC2 soap_getcookies(struct soap *soap, const char *val);
SOAP_FMAC1 size_t SOAP_FMAC2 soap_encode_cookie(const char*, char*, size_t);
SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_set_cookie(struct soap*, const char*, const char*, const char*, const char*);
SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_cookie(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern char* SOAP_FMAC2 soap_cookie_value(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern char* SOAP_FMAC2 soap_env_cookie_value(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern time_t SOAP_FMAC2 soap_cookie_expire(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_expire(struct soap*, const char*, long, const char*, const char*);
SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_session(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern int SOAP_FMAC2 soap_clr_cookie_session(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern void SOAP_FMAC2 soap_clr_cookie(struct soap*, const char*, const char*, const char*);
SOAP_FMAC1 extern int SOAP_FMAC2 soap_getenv_cookies(struct soap*);
SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_copy_cookies(struct soap*, struct soap*);
SOAP_FMAC1 extern void SOAP_FMAC2 soap_free_cookies(struct soap*);
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif
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