mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-06 05:37:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,804 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:service name="RCCService">
|
||||
<wsdl:port name="RCCServiceSoap" binding="tns:RCCServiceSoap">
|
||||
<soap:address location="http://your-domain.com/soap-endpoint" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="RCCServiceSoap12" binding="tns:RCCServiceSoap12">
|
||||
<soap12:address location="http://your-domain.com/soap-endpoint" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://watrbx.wtf/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://watrbx.wtf/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://watrbx.wtf/">
|
||||
<s:element name="HelloWorld">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="HelloWorldResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetVersion">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetVersionResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetVersionResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetStatus">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetStatusResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetStatusResult" type="tns:Status" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="Status">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="version" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="environmentCount" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:element name="OpenJob">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="job" type="tns:Job" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="script" type="tns:ScriptExecution" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="OpenJobEx">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="job" type="tns:Job" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="script" type="tns:ScriptExecution" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="Job">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="id" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="expirationInSeconds" type="s:double" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="category" type="s:int" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="cores" type="s:double" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ScriptExecution">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="script" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="arguments" type="tns:ArrayOfLuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ArrayOfLuaValue">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="LuaValue" nillable="true" type="tns:LuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ArrayOfJob">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="Job" nillable="true" type="tns:Job" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="LuaValue">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="type" type="tns:LuaType" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="table" type="tns:ArrayOfLuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:simpleType name="LuaType">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="LUA_TNIL" />
|
||||
<s:enumeration value="LUA_TBOOLEAN" />
|
||||
<s:enumeration value="LUA_TNUMBER" />
|
||||
<s:enumeration value="LUA_TSTRING" />
|
||||
<s:enumeration value="LUA_TTABLE" />
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
<s:element name="OpenJobResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="OpenJobResult" type="tns:LuaValue"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="OpenJobExResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element name="OpenJobExResult" type="tns:ArrayOfLuaValue"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RenewLease">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="jobID" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="expirationInSeconds" type="s:double" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RenewLeaseResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="RenewLeaseResult" type="s:double" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="Execute">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="jobID" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="script" type="tns:ScriptExecution" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExecuteResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="unbounded" name="ExecuteResult" nillable="true" type="tns:LuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExecuteEx">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="jobID" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="script" type="tns:ScriptExecution" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExecuteExResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element name="ExecuteExResult" type="tns:ArrayOfLuaValue"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CloseJob">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="jobID" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CloseJobResponse">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="BatchJob">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="job" type="tns:Job" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="script" type="tns:ScriptExecution" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="BatchJobResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="unbounded" name="BatchJobResult" nillable="true" type="tns:LuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="BatchJobEx">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="job" type="tns:Job" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="script" type="tns:ScriptExecution" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="BatchJobExResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element name="BatchJobExResult" type="tns:ArrayOfLuaValue"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetExpiration">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="jobID" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetExpirationResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetExpirationResult" type="s:double" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetAllJobs">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetAllJobsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="unbounded" name="GetAllJobsResult" nillable="true" type="tns:Job" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetAllJobsEx">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetAllJobsExResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element name="GetAllJobsExResult" type="tns:ArrayOfJob" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CloseExpiredJobs">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="CloseExpiredJobsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CloseExpiredJobsResult" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CloseAllJobs">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="CloseAllJobsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CloseAllJobsResult" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="Diag">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="type" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="jobID" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DiagResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="unbounded" name="DiagResult" nillable="true" type="tns:LuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DiagEx">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="type" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="jobID" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DiagExResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element name="DiagExResult" type="tns:ArrayOfLuaValue" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="HelloWorldSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:HelloWorld" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="HelloWorldSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:HelloWorldResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetVersionSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetVersion" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetVersionSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetVersionResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetStatusSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetStatus" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetStatusSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetStatusResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="OpenJobSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:OpenJob" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="OpenJobSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:OpenJobResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="OpenJobExSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:OpenJobEx" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="OpenJobExSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:OpenJobExResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RenewLeaseSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RenewLease" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RenewLeaseSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RenewLeaseResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExecuteSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:Execute" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExecuteSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ExecuteResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExecuteExSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ExecuteEx" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExecuteExSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ExecuteExResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CloseJobSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CloseJob" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CloseJobSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CloseJobResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="BatchJobSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:BatchJob" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="BatchJobSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:BatchJobResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="BatchJobExSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:BatchJobEx" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="BatchJobExSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:BatchJobExResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetExpirationSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetExpiration" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetExpirationSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetExpirationResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllJobsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetAllJobs" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllJobsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetAllJobsResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllJobsExSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetAllJobsEx" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllJobsExSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetAllJobsExResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CloseExpiredJobsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CloseExpiredJobs" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CloseExpiredJobsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CloseExpiredJobsResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CloseAllJobsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CloseAllJobs" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CloseAllJobsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CloseAllJobsResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DiagSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:Diag" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DiagSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:DiagResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DiagExSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:DiagEx" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DiagExSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:DiagExResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="RCCServiceSoap">
|
||||
<wsdl:operation name="HelloWorld">
|
||||
<wsdl:input message="tns:HelloWorldSoapIn" />
|
||||
<wsdl:output message="tns:HelloWorldSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetVersion">
|
||||
<wsdl:input message="tns:GetVersionSoapIn" />
|
||||
<wsdl:output message="tns:GetVersionSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetStatus">
|
||||
<wsdl:input message="tns:GetStatusSoapIn" />
|
||||
<wsdl:output message="tns:GetStatusSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="OpenJob">
|
||||
<wsdl:input message="tns:OpenJobSoapIn" />
|
||||
<wsdl:output message="tns:OpenJobSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="OpenJobEx">
|
||||
<wsdl:input message="tns:OpenJobExSoapIn" />
|
||||
<wsdl:output message="tns:OpenJobExSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RenewLease">
|
||||
<wsdl:input message="tns:RenewLeaseSoapIn" />
|
||||
<wsdl:output message="tns:RenewLeaseSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Execute">
|
||||
<wsdl:input message="tns:ExecuteSoapIn" />
|
||||
<wsdl:output message="tns:ExecuteSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExecuteEx">
|
||||
<wsdl:input message="tns:ExecuteExSoapIn" />
|
||||
<wsdl:output message="tns:ExecuteExSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseJob">
|
||||
<wsdl:input message="tns:CloseJobSoapIn" />
|
||||
<wsdl:output message="tns:CloseJobSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="BatchJob">
|
||||
<wsdl:input message="tns:BatchJobSoapIn" />
|
||||
<wsdl:output message="tns:BatchJobSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="BatchJobEx">
|
||||
<wsdl:input message="tns:BatchJobExSoapIn" />
|
||||
<wsdl:output message="tns:BatchJobExSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetExpiration">
|
||||
<wsdl:input message="tns:GetExpirationSoapIn" />
|
||||
<wsdl:output message="tns:GetExpirationSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllJobs">
|
||||
<wsdl:input message="tns:GetAllJobsSoapIn" />
|
||||
<wsdl:output message="tns:GetAllJobsSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllJobsEx">
|
||||
<wsdl:input message="tns:GetAllJobsExSoapIn" />
|
||||
<wsdl:output message="tns:GetAllJobsExSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseExpiredJobs">
|
||||
<wsdl:input message="tns:CloseExpiredJobsSoapIn" />
|
||||
<wsdl:output message="tns:CloseExpiredJobsSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseAllJobs">
|
||||
<wsdl:input message="tns:CloseAllJobsSoapIn" />
|
||||
<wsdl:output message="tns:CloseAllJobsSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Diag">
|
||||
<wsdl:input message="tns:DiagSoapIn" />
|
||||
<wsdl:output message="tns:DiagSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DiagEx">
|
||||
<wsdl:input message="tns:DiagExSoapIn" />
|
||||
<wsdl:output message="tns:DiagExSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="RCCServiceSoap" type="tns:RCCServiceSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="HelloWorld">
|
||||
<soap:operation soapAction="http://watrbx.wtf/HelloWorld" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetVersion">
|
||||
<soap:operation soapAction="http://watrbx.wtf/GetVersion" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetStatus">
|
||||
<soap:operation soapAction="http://watrbx.wtf/GetStatus" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="OpenJob">
|
||||
<soap:operation soapAction="http://watrbx.wtf/OpenJob" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="OpenJobEx">
|
||||
<soap:operation soapAction="http://watrbx.wtf/OpenJobEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RenewLease">
|
||||
<soap:operation soapAction="http://watrbx.wtf/RenewLease" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Execute">
|
||||
<soap:operation soapAction="http://watrbx.wtf/Execute" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExecuteEx">
|
||||
<soap:operation soapAction="http://watrbx.wtf/ExecuteEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseJob">
|
||||
<soap:operation soapAction="http://watrbx.wtf/CloseJob" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="BatchJob">
|
||||
<soap:operation soapAction="http://watrbx.wtf/BatchJob" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="BatchJobEx">
|
||||
<soap:operation soapAction="http://watrbx.wtf/BatchJobEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetExpiration">
|
||||
<soap:operation soapAction="http://watrbx.wtf/GetExpiration" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllJobs">
|
||||
<soap:operation soapAction="http://watrbx.wtf/GetAllJobs" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllJobsEx">
|
||||
<soap:operation soapAction="http://watrbx.wtf/GetAllJobsEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseExpiredJobs">
|
||||
<soap:operation soapAction="http://watrbx.wtf/CloseExpiredJobs" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseAllJobs">
|
||||
<soap:operation soapAction="http://watrbx.wtf/CloseAllJobs" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Diag">
|
||||
<soap:operation soapAction="http://watrbx.wtf/Diag" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DiagEx">
|
||||
<soap:operation soapAction="http://watrbx.wtf/DiagEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="RCCServiceSoap12" type="tns:RCCServiceSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="HelloWorld">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/HelloWorld" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetVersion">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/GetVersion" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetStatus">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/GetStatus" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="OpenJob">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/OpenJob" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="OpenJobEx">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/OpenJobEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RenewLease">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/RenewLease" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Execute">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/Execute" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExecuteEx">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/ExecuteEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseJob">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/CloseJob" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="BatchJob">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/BatchJob" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="BatchJobEx">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/BatchJobEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetExpiration">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/GetExpiration" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllJobs">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/GetAllJobs" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllJobsEx">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/GetAllJobsEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseExpiredJobs">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/CloseExpiredJobs" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CloseAllJobs">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/CloseAllJobs" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Diag">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/Diag" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DiagEx">
|
||||
<soap12:operation soapAction="http://watrbx.wtf/DiagEx" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
</wsdl:definitions>
|
||||
@@ -0,0 +1,2 @@
|
||||
wsdl2h -o generated/prototypes.h RCCService.wsdl
|
||||
soapcpp2 -x -i -S -Iimport -dgenerated generated/prototypes.h
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
#include "soapH.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},
|
||||
{"ns2", "http://watrbx.wtf/RCCServiceSoap", NULL, NULL},
|
||||
{"ns1", "http://watrbx.wtf/", NULL, NULL},
|
||||
{"ns3", "http://watrbx.wtf/RCCServiceSoap12", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,971 @@
|
||||
/* soapRCCServiceSoapService.cpp
|
||||
Generated by gSOAP 2.7.10 from generated/prototypes.h
|
||||
Copyright(C) 2000-2008, 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 "soapRCCServiceSoapService.h"
|
||||
|
||||
RCCServiceSoapService::RCCServiceSoapService()
|
||||
{ RCCServiceSoapService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
}
|
||||
|
||||
RCCServiceSoapService::RCCServiceSoapService(const struct soap &soap)
|
||||
{ RCCServiceSoapService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
||||
soap_copy_context(this, &soap);
|
||||
}
|
||||
|
||||
RCCServiceSoapService::RCCServiceSoapService(soap_mode iomode)
|
||||
{ RCCServiceSoapService_init(iomode, iomode);
|
||||
}
|
||||
|
||||
RCCServiceSoapService::RCCServiceSoapService(soap_mode imode, soap_mode omode)
|
||||
{ RCCServiceSoapService_init(imode, omode);
|
||||
}
|
||||
|
||||
RCCServiceSoapService::~RCCServiceSoapService()
|
||||
{ }
|
||||
|
||||
void RCCServiceSoapService::RCCServiceSoapService_init(soap_mode imode, soap_mode omode)
|
||||
{ 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},
|
||||
{"ns2", "http://watrbx.wtf/RCCServiceSoap", NULL, NULL},
|
||||
{"ns1", "http://watrbx.wtf/", NULL, NULL},
|
||||
{"ns3", "http://watrbx.wtf/RCCServiceSoap12", NULL, NULL},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
soap_imode(this, imode);
|
||||
soap_omode(this, omode);
|
||||
if (!this->namespaces)
|
||||
this->namespaces = namespaces;
|
||||
};
|
||||
|
||||
RCCServiceSoapService *RCCServiceSoapService::copy()
|
||||
{ RCCServiceSoapService *dup = new RCCServiceSoapService();
|
||||
soap_copy_context(dup, this);
|
||||
return dup;
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::soap_close_socket()
|
||||
{ return soap_closesock(this);
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::soap_senderfault(const char *string, const char *detailXML)
|
||||
{ return ::soap_sender_fault(this, string, detailXML);
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML)
|
||||
{ return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML);
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::soap_receiverfault(const char *string, const char *detailXML)
|
||||
{ return ::soap_receiver_fault(this, string, detailXML);
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML)
|
||||
{ return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML);
|
||||
}
|
||||
|
||||
void RCCServiceSoapService::soap_print_fault(FILE *fd)
|
||||
{ ::soap_print_fault(this, fd);
|
||||
}
|
||||
|
||||
#ifndef WITH_LEAN
|
||||
void RCCServiceSoapService::soap_stream_fault(std::ostream& os)
|
||||
{ return ::soap_stream_fault(this, os);
|
||||
}
|
||||
|
||||
char *RCCServiceSoapService::soap_sprint_fault(char *buf, size_t len)
|
||||
{ return ::soap_sprint_fault(this, buf, len);
|
||||
}
|
||||
#endif
|
||||
|
||||
void RCCServiceSoapService::soap_noheader()
|
||||
{ header = NULL;
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::run(int port)
|
||||
{ if (soap_valid_socket(bind(NULL, port, 100)))
|
||||
{ for (;;)
|
||||
{ if (!soap_valid_socket(accept()))
|
||||
return this->error;
|
||||
(void)serve();
|
||||
soap_destroy(this);
|
||||
soap_end(this);
|
||||
}
|
||||
}
|
||||
else
|
||||
return this->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
SOAP_SOCKET RCCServiceSoapService::bind(const char *host, int port, int backlog)
|
||||
{ return soap_bind(this, host, port, backlog);
|
||||
}
|
||||
|
||||
SOAP_SOCKET RCCServiceSoapService::accept()
|
||||
{ return soap_accept(this);
|
||||
}
|
||||
|
||||
int RCCServiceSoapService::serve()
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
unsigned int k = this->max_keep_alive;
|
||||
#endif
|
||||
do
|
||||
{ soap_begin(this);
|
||||
#ifdef WITH_FASTCGI
|
||||
if (FCGI_Accept() < 0)
|
||||
{
|
||||
this->error = SOAP_EOF;
|
||||
return soap_send_fault(this);
|
||||
}
|
||||
#endif
|
||||
|
||||
soap_begin(this);
|
||||
|
||||
#ifndef WITH_FASTCGI
|
||||
if (this->max_keep_alive > 0 && !--k)
|
||||
this->keep_alive = 0;
|
||||
#endif
|
||||
|
||||
if (soap_begin_recv(this))
|
||||
{ if (this->error < SOAP_STOP)
|
||||
{
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_send_fault(this);
|
||||
#else
|
||||
return soap_send_fault(this);
|
||||
#endif
|
||||
}
|
||||
soap_closesock(this);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (soap_envelope_begin_in(this)
|
||||
|| soap_recv_header(this)
|
||||
|| soap_body_begin_in(this)
|
||||
|| dispatch() || (this->fserveloop && this->fserveloop(this)))
|
||||
{
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_send_fault(this);
|
||||
#else
|
||||
return soap_send_fault(this);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_destroy(this);
|
||||
soap_end(this);
|
||||
} while (1);
|
||||
#else
|
||||
} while (this->keep_alive);
|
||||
#endif
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
static int serve___ns2__HelloWorld(RCCServiceSoapService*);
|
||||
static int serve___ns2__GetVersion(RCCServiceSoapService*);
|
||||
static int serve___ns2__GetStatus(RCCServiceSoapService*);
|
||||
static int serve___ns2__OpenJob(RCCServiceSoapService*);
|
||||
static int serve___ns2__OpenJobEx(RCCServiceSoapService*);
|
||||
static int serve___ns2__RenewLease(RCCServiceSoapService*);
|
||||
static int serve___ns2__Execute(RCCServiceSoapService*);
|
||||
static int serve___ns2__ExecuteEx(RCCServiceSoapService*);
|
||||
static int serve___ns2__CloseJob(RCCServiceSoapService*);
|
||||
static int serve___ns2__BatchJob(RCCServiceSoapService*);
|
||||
static int serve___ns2__BatchJobEx(RCCServiceSoapService*);
|
||||
static int serve___ns2__GetExpiration(RCCServiceSoapService*);
|
||||
static int serve___ns2__GetAllJobs(RCCServiceSoapService*);
|
||||
static int serve___ns2__GetAllJobsEx(RCCServiceSoapService*);
|
||||
static int serve___ns2__CloseExpiredJobs(RCCServiceSoapService*);
|
||||
static int serve___ns2__CloseAllJobs(RCCServiceSoapService*);
|
||||
static int serve___ns2__Diag(RCCServiceSoapService*);
|
||||
static int serve___ns2__DiagEx(RCCServiceSoapService*);
|
||||
|
||||
int RCCServiceSoapService::dispatch()
|
||||
{ if (soap_peek_element(this))
|
||||
return this->error;
|
||||
if (!soap_match_tag(this, this->tag, "ns1:HelloWorld"))
|
||||
return serve___ns2__HelloWorld(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:GetVersion"))
|
||||
return serve___ns2__GetVersion(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:GetStatus"))
|
||||
return serve___ns2__GetStatus(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:OpenJob"))
|
||||
return serve___ns2__OpenJob(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:OpenJobEx"))
|
||||
return serve___ns2__OpenJobEx(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:RenewLease"))
|
||||
return serve___ns2__RenewLease(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:Execute"))
|
||||
return serve___ns2__Execute(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:ExecuteEx"))
|
||||
return serve___ns2__ExecuteEx(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:CloseJob"))
|
||||
return serve___ns2__CloseJob(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:BatchJob"))
|
||||
return serve___ns2__BatchJob(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:BatchJobEx"))
|
||||
return serve___ns2__BatchJobEx(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:GetExpiration"))
|
||||
return serve___ns2__GetExpiration(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:GetAllJobs"))
|
||||
return serve___ns2__GetAllJobs(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:GetAllJobsEx"))
|
||||
return serve___ns2__GetAllJobsEx(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:CloseExpiredJobs"))
|
||||
return serve___ns2__CloseExpiredJobs(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:CloseAllJobs"))
|
||||
return serve___ns2__CloseAllJobs(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:Diag"))
|
||||
return serve___ns2__Diag(this);
|
||||
if (!soap_match_tag(this, this->tag, "ns1:DiagEx"))
|
||||
return serve___ns2__DiagEx(this);
|
||||
return this->error = SOAP_NO_METHOD;
|
||||
}
|
||||
|
||||
static int serve___ns2__HelloWorld(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__HelloWorld soap_tmp___ns2__HelloWorld;
|
||||
_ns1__HelloWorldResponse ns1__HelloWorldResponse;
|
||||
ns1__HelloWorldResponse.soap_default(soap);
|
||||
soap_default___ns2__HelloWorld(soap, &soap_tmp___ns2__HelloWorld);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__HelloWorld(soap, &soap_tmp___ns2__HelloWorld, "-ns2:HelloWorld", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->HelloWorld(soap_tmp___ns2__HelloWorld.ns1__HelloWorld, &ns1__HelloWorldResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__HelloWorldResponse.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__HelloWorldResponse.soap_put(soap, "ns1:HelloWorldResponse", "")
|
||||
|| 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__HelloWorldResponse.soap_put(soap, "ns1:HelloWorldResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__GetVersion(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__GetVersion soap_tmp___ns2__GetVersion;
|
||||
_ns1__GetVersionResponse ns1__GetVersionResponse;
|
||||
ns1__GetVersionResponse.soap_default(soap);
|
||||
soap_default___ns2__GetVersion(soap, &soap_tmp___ns2__GetVersion);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__GetVersion(soap, &soap_tmp___ns2__GetVersion, "-ns2:GetVersion", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->GetVersion(soap_tmp___ns2__GetVersion.ns1__GetVersion, &ns1__GetVersionResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__GetVersionResponse.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__GetVersionResponse.soap_put(soap, "ns1:GetVersionResponse", "")
|
||||
|| 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__GetVersionResponse.soap_put(soap, "ns1:GetVersionResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__GetStatus(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__GetStatus soap_tmp___ns2__GetStatus;
|
||||
_ns1__GetStatusResponse ns1__GetStatusResponse;
|
||||
ns1__GetStatusResponse.soap_default(soap);
|
||||
soap_default___ns2__GetStatus(soap, &soap_tmp___ns2__GetStatus);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__GetStatus(soap, &soap_tmp___ns2__GetStatus, "-ns2: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 = soap->GetStatus(soap_tmp___ns2__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);
|
||||
}
|
||||
|
||||
static int serve___ns2__OpenJob(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__OpenJob soap_tmp___ns2__OpenJob;
|
||||
_ns1__OpenJobResponse ns1__OpenJobResponse;
|
||||
ns1__OpenJobResponse.soap_default(soap);
|
||||
soap_default___ns2__OpenJob(soap, &soap_tmp___ns2__OpenJob);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__OpenJob(soap, &soap_tmp___ns2__OpenJob, "-ns2:OpenJob", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->OpenJob(soap_tmp___ns2__OpenJob.ns1__OpenJob, &ns1__OpenJobResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__OpenJobResponse.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__OpenJobResponse.soap_put(soap, "ns1:OpenJobResponse", "")
|
||||
|| 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__OpenJobResponse.soap_put(soap, "ns1:OpenJobResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__OpenJobEx(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__OpenJobEx soap_tmp___ns2__OpenJobEx;
|
||||
_ns1__OpenJobExResponse ns1__OpenJobExResponse;
|
||||
ns1__OpenJobExResponse.soap_default(soap);
|
||||
soap_default___ns2__OpenJobEx(soap, &soap_tmp___ns2__OpenJobEx);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__OpenJobEx(soap, &soap_tmp___ns2__OpenJobEx, "-ns2:OpenJobEx", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->OpenJobEx(soap_tmp___ns2__OpenJobEx.ns1__OpenJobEx, &ns1__OpenJobExResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__OpenJobExResponse.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__OpenJobExResponse.soap_put(soap, "ns1:OpenJobExResponse", "")
|
||||
|| 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__OpenJobExResponse.soap_put(soap, "ns1:OpenJobExResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__RenewLease(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__RenewLease soap_tmp___ns2__RenewLease;
|
||||
_ns1__RenewLeaseResponse ns1__RenewLeaseResponse;
|
||||
ns1__RenewLeaseResponse.soap_default(soap);
|
||||
soap_default___ns2__RenewLease(soap, &soap_tmp___ns2__RenewLease);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__RenewLease(soap, &soap_tmp___ns2__RenewLease, "-ns2:RenewLease", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->RenewLease(soap_tmp___ns2__RenewLease.ns1__RenewLease, &ns1__RenewLeaseResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__RenewLeaseResponse.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__RenewLeaseResponse.soap_put(soap, "ns1:RenewLeaseResponse", "")
|
||||
|| 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__RenewLeaseResponse.soap_put(soap, "ns1:RenewLeaseResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__Execute(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__Execute soap_tmp___ns2__Execute;
|
||||
_ns1__ExecuteResponse ns1__ExecuteResponse;
|
||||
ns1__ExecuteResponse.soap_default(soap);
|
||||
soap_default___ns2__Execute(soap, &soap_tmp___ns2__Execute);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__Execute(soap, &soap_tmp___ns2__Execute, "-ns2:Execute", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->Execute(soap_tmp___ns2__Execute.ns1__Execute, &ns1__ExecuteResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__ExecuteResponse.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__ExecuteResponse.soap_put(soap, "ns1:ExecuteResponse", "")
|
||||
|| 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__ExecuteResponse.soap_put(soap, "ns1:ExecuteResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__ExecuteEx(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__ExecuteEx soap_tmp___ns2__ExecuteEx;
|
||||
_ns1__ExecuteExResponse ns1__ExecuteExResponse;
|
||||
ns1__ExecuteExResponse.soap_default(soap);
|
||||
soap_default___ns2__ExecuteEx(soap, &soap_tmp___ns2__ExecuteEx);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__ExecuteEx(soap, &soap_tmp___ns2__ExecuteEx, "-ns2:ExecuteEx", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->ExecuteEx(soap_tmp___ns2__ExecuteEx.ns1__ExecuteEx, &ns1__ExecuteExResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__ExecuteExResponse.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__ExecuteExResponse.soap_put(soap, "ns1:ExecuteExResponse", "")
|
||||
|| 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__ExecuteExResponse.soap_put(soap, "ns1:ExecuteExResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__CloseJob(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__CloseJob soap_tmp___ns2__CloseJob;
|
||||
_ns1__CloseJobResponse ns1__CloseJobResponse;
|
||||
ns1__CloseJobResponse.soap_default(soap);
|
||||
soap_default___ns2__CloseJob(soap, &soap_tmp___ns2__CloseJob);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__CloseJob(soap, &soap_tmp___ns2__CloseJob, "-ns2:CloseJob", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->CloseJob(soap_tmp___ns2__CloseJob.ns1__CloseJob, &ns1__CloseJobResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__CloseJobResponse.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__CloseJobResponse.soap_put(soap, "ns1:CloseJobResponse", "")
|
||||
|| 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__CloseJobResponse.soap_put(soap, "ns1:CloseJobResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__BatchJob(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__BatchJob soap_tmp___ns2__BatchJob;
|
||||
_ns1__BatchJobResponse ns1__BatchJobResponse;
|
||||
ns1__BatchJobResponse.soap_default(soap);
|
||||
soap_default___ns2__BatchJob(soap, &soap_tmp___ns2__BatchJob);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__BatchJob(soap, &soap_tmp___ns2__BatchJob, "-ns2:BatchJob", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->BatchJob(soap_tmp___ns2__BatchJob.ns1__BatchJob, &ns1__BatchJobResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__BatchJobResponse.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__BatchJobResponse.soap_put(soap, "ns1:BatchJobResponse", "")
|
||||
|| 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__BatchJobResponse.soap_put(soap, "ns1:BatchJobResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__BatchJobEx(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__BatchJobEx soap_tmp___ns2__BatchJobEx;
|
||||
_ns1__BatchJobExResponse ns1__BatchJobExResponse;
|
||||
ns1__BatchJobExResponse.soap_default(soap);
|
||||
soap_default___ns2__BatchJobEx(soap, &soap_tmp___ns2__BatchJobEx);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__BatchJobEx(soap, &soap_tmp___ns2__BatchJobEx, "-ns2:BatchJobEx", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->BatchJobEx(soap_tmp___ns2__BatchJobEx.ns1__BatchJobEx, &ns1__BatchJobExResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__BatchJobExResponse.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__BatchJobExResponse.soap_put(soap, "ns1:BatchJobExResponse", "")
|
||||
|| 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__BatchJobExResponse.soap_put(soap, "ns1:BatchJobExResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__GetExpiration(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__GetExpiration soap_tmp___ns2__GetExpiration;
|
||||
_ns1__GetExpirationResponse ns1__GetExpirationResponse;
|
||||
ns1__GetExpirationResponse.soap_default(soap);
|
||||
soap_default___ns2__GetExpiration(soap, &soap_tmp___ns2__GetExpiration);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__GetExpiration(soap, &soap_tmp___ns2__GetExpiration, "-ns2:GetExpiration", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->GetExpiration(soap_tmp___ns2__GetExpiration.ns1__GetExpiration, &ns1__GetExpirationResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__GetExpirationResponse.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__GetExpirationResponse.soap_put(soap, "ns1:GetExpirationResponse", "")
|
||||
|| 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__GetExpirationResponse.soap_put(soap, "ns1:GetExpirationResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__GetAllJobs(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__GetAllJobs soap_tmp___ns2__GetAllJobs;
|
||||
_ns1__GetAllJobsResponse ns1__GetAllJobsResponse;
|
||||
ns1__GetAllJobsResponse.soap_default(soap);
|
||||
soap_default___ns2__GetAllJobs(soap, &soap_tmp___ns2__GetAllJobs);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__GetAllJobs(soap, &soap_tmp___ns2__GetAllJobs, "-ns2:GetAllJobs", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->GetAllJobs(soap_tmp___ns2__GetAllJobs.ns1__GetAllJobs, &ns1__GetAllJobsResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__GetAllJobsResponse.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__GetAllJobsResponse.soap_put(soap, "ns1:GetAllJobsResponse", "")
|
||||
|| 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__GetAllJobsResponse.soap_put(soap, "ns1:GetAllJobsResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__GetAllJobsEx(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__GetAllJobsEx soap_tmp___ns2__GetAllJobsEx;
|
||||
_ns1__GetAllJobsExResponse ns1__GetAllJobsExResponse;
|
||||
ns1__GetAllJobsExResponse.soap_default(soap);
|
||||
soap_default___ns2__GetAllJobsEx(soap, &soap_tmp___ns2__GetAllJobsEx);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__GetAllJobsEx(soap, &soap_tmp___ns2__GetAllJobsEx, "-ns2:GetAllJobsEx", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->GetAllJobsEx(soap_tmp___ns2__GetAllJobsEx.ns1__GetAllJobsEx, &ns1__GetAllJobsExResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__GetAllJobsExResponse.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__GetAllJobsExResponse.soap_put(soap, "ns1:GetAllJobsExResponse", "")
|
||||
|| 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__GetAllJobsExResponse.soap_put(soap, "ns1:GetAllJobsExResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__CloseExpiredJobs(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__CloseExpiredJobs soap_tmp___ns2__CloseExpiredJobs;
|
||||
_ns1__CloseExpiredJobsResponse ns1__CloseExpiredJobsResponse;
|
||||
ns1__CloseExpiredJobsResponse.soap_default(soap);
|
||||
soap_default___ns2__CloseExpiredJobs(soap, &soap_tmp___ns2__CloseExpiredJobs);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__CloseExpiredJobs(soap, &soap_tmp___ns2__CloseExpiredJobs, "-ns2:CloseExpiredJobs", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->CloseExpiredJobs(soap_tmp___ns2__CloseExpiredJobs.ns1__CloseExpiredJobs, &ns1__CloseExpiredJobsResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__CloseExpiredJobsResponse.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__CloseExpiredJobsResponse.soap_put(soap, "ns1:CloseExpiredJobsResponse", "")
|
||||
|| 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__CloseExpiredJobsResponse.soap_put(soap, "ns1:CloseExpiredJobsResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__CloseAllJobs(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__CloseAllJobs soap_tmp___ns2__CloseAllJobs;
|
||||
_ns1__CloseAllJobsResponse ns1__CloseAllJobsResponse;
|
||||
ns1__CloseAllJobsResponse.soap_default(soap);
|
||||
soap_default___ns2__CloseAllJobs(soap, &soap_tmp___ns2__CloseAllJobs);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__CloseAllJobs(soap, &soap_tmp___ns2__CloseAllJobs, "-ns2:CloseAllJobs", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->CloseAllJobs(soap_tmp___ns2__CloseAllJobs.ns1__CloseAllJobs, &ns1__CloseAllJobsResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__CloseAllJobsResponse.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__CloseAllJobsResponse.soap_put(soap, "ns1:CloseAllJobsResponse", "")
|
||||
|| 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__CloseAllJobsResponse.soap_put(soap, "ns1:CloseAllJobsResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__Diag(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__Diag soap_tmp___ns2__Diag;
|
||||
_ns1__DiagResponse ns1__DiagResponse;
|
||||
ns1__DiagResponse.soap_default(soap);
|
||||
soap_default___ns2__Diag(soap, &soap_tmp___ns2__Diag);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__Diag(soap, &soap_tmp___ns2__Diag, "-ns2:Diag", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->Diag(soap_tmp___ns2__Diag.ns1__Diag, &ns1__DiagResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__DiagResponse.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__DiagResponse.soap_put(soap, "ns1:DiagResponse", "")
|
||||
|| 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__DiagResponse.soap_put(soap, "ns1:DiagResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
static int serve___ns2__DiagEx(RCCServiceSoapService *soap)
|
||||
{ struct __ns2__DiagEx soap_tmp___ns2__DiagEx;
|
||||
_ns1__DiagExResponse ns1__DiagExResponse;
|
||||
ns1__DiagExResponse.soap_default(soap);
|
||||
soap_default___ns2__DiagEx(soap, &soap_tmp___ns2__DiagEx);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get___ns2__DiagEx(soap, &soap_tmp___ns2__DiagEx, "-ns2:DiagEx", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = soap->DiagEx(soap_tmp___ns2__DiagEx.ns1__DiagEx, &ns1__DiagExResponse);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap_serializeheader(soap);
|
||||
ns1__DiagExResponse.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__DiagExResponse.soap_put(soap, "ns1:DiagExResponse", "")
|
||||
|| 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__DiagExResponse.soap_put(soap, "ns1:DiagExResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
/* End of server object code */
|
||||
@@ -0,0 +1,116 @@
|
||||
/* soapRCCServiceSoapService.h
|
||||
Generated by gSOAP 2.7.10 from generated/prototypes.h
|
||||
Copyright(C) 2000-2008, 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 soapRCCServiceSoapService_H
|
||||
#define soapRCCServiceSoapService_H
|
||||
#include "soapH.h"
|
||||
class SOAP_CMAC RCCServiceSoapService : public soap
|
||||
{ public:
|
||||
/// Constructor
|
||||
RCCServiceSoapService();
|
||||
/// Constructor with copy of another engine state
|
||||
RCCServiceSoapService(const struct soap&);
|
||||
/// Constructor with engine input+output mode control
|
||||
RCCServiceSoapService(soap_mode iomode);
|
||||
/// Constructor with engine input and output mode control
|
||||
RCCServiceSoapService(soap_mode imode, soap_mode omode);
|
||||
/// Destructor frees all data
|
||||
virtual ~RCCServiceSoapService();
|
||||
/// Initializer used by constructor
|
||||
virtual void RCCServiceSoapService_init(soap_mode imode, soap_mode omode);
|
||||
/// Create a copy
|
||||
virtual RCCServiceSoapService *copy();
|
||||
/// Force close connection (normally automatic)
|
||||
virtual int soap_close_socket();
|
||||
/// Return sender-related fault to sender
|
||||
virtual int soap_senderfault(const char *string, const char *detailXML);
|
||||
/// Return sender-related fault with SOAP 1.2 subcode to sender
|
||||
virtual int soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML);
|
||||
/// Return receiver-related fault to sender
|
||||
virtual int soap_receiverfault(const char *string, const char *detailXML);
|
||||
/// Return receiver-related fault with SOAP 1.2 subcode to sender
|
||||
virtual int soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML);
|
||||
/// Print fault
|
||||
virtual void soap_print_fault(FILE*);
|
||||
#ifndef WITH_LEAN
|
||||
/// Print fault to stream
|
||||
virtual void soap_stream_fault(std::ostream&);
|
||||
/// Put fault into buffer
|
||||
virtual char *soap_sprint_fault(char *buf, size_t len);
|
||||
#endif
|
||||
/// Disables and removes SOAP Header from message
|
||||
virtual void soap_noheader();
|
||||
/// Run simple single-thread iterative service on port until a connection error occurs (returns error code or SOAP_OK), use this->bind_flag = SO_REUSEADDR to rebind for a rerun
|
||||
virtual int run(int port);
|
||||
/// Bind service to port (returns master socket or SOAP_INVALID_SOCKET)
|
||||
virtual SOAP_SOCKET bind(const char *host, int port, int backlog);
|
||||
/// Accept next request (returns socket or SOAP_INVALID_SOCKET)
|
||||
virtual SOAP_SOCKET accept();
|
||||
/// Serve this request (returns error code or SOAP_OK)
|
||||
virtual int serve();
|
||||
/// Used by serve() to dispatch a request (returns error code or SOAP_OK)
|
||||
virtual int dispatch();
|
||||
|
||||
///
|
||||
/// Service operations (you should define these):
|
||||
///
|
||||
|
||||
/// Web service operation 'HelloWorld' (returns error code or SOAP_OK)
|
||||
virtual int HelloWorld(_ns1__HelloWorld *ns1__HelloWorld, _ns1__HelloWorldResponse *ns1__HelloWorldResponse);
|
||||
|
||||
/// Web service operation 'GetVersion' (returns error code or SOAP_OK)
|
||||
virtual int GetVersion(_ns1__GetVersion *ns1__GetVersion, _ns1__GetVersionResponse *ns1__GetVersionResponse);
|
||||
|
||||
/// Web service operation 'GetStatus' (returns error code or SOAP_OK)
|
||||
virtual int GetStatus(_ns1__GetStatus *ns1__GetStatus, _ns1__GetStatusResponse *ns1__GetStatusResponse);
|
||||
|
||||
/// Web service operation 'OpenJob' (returns error code or SOAP_OK)
|
||||
virtual int OpenJob(_ns1__OpenJob *ns1__OpenJob, _ns1__OpenJobResponse *ns1__OpenJobResponse);
|
||||
|
||||
/// Web service operation 'OpenJobEx' (returns error code or SOAP_OK)
|
||||
virtual int OpenJobEx(_ns1__OpenJobEx *ns1__OpenJobEx, _ns1__OpenJobExResponse *ns1__OpenJobExResponse);
|
||||
|
||||
/// Web service operation 'RenewLease' (returns error code or SOAP_OK)
|
||||
virtual int RenewLease(_ns1__RenewLease *ns1__RenewLease, _ns1__RenewLeaseResponse *ns1__RenewLeaseResponse);
|
||||
|
||||
/// Web service operation 'Execute' (returns error code or SOAP_OK)
|
||||
virtual int Execute(_ns1__Execute *ns1__Execute, _ns1__ExecuteResponse *ns1__ExecuteResponse);
|
||||
|
||||
/// Web service operation 'ExecuteEx' (returns error code or SOAP_OK)
|
||||
virtual int ExecuteEx(_ns1__ExecuteEx *ns1__ExecuteEx, _ns1__ExecuteExResponse *ns1__ExecuteExResponse);
|
||||
|
||||
/// Web service operation 'CloseJob' (returns error code or SOAP_OK)
|
||||
virtual int CloseJob(_ns1__CloseJob *ns1__CloseJob, _ns1__CloseJobResponse *ns1__CloseJobResponse);
|
||||
|
||||
/// Web service operation 'BatchJob' (returns error code or SOAP_OK)
|
||||
virtual int BatchJob(_ns1__BatchJob *ns1__BatchJob, _ns1__BatchJobResponse *ns1__BatchJobResponse);
|
||||
|
||||
/// Web service operation 'BatchJobEx' (returns error code or SOAP_OK)
|
||||
virtual int BatchJobEx(_ns1__BatchJobEx *ns1__BatchJobEx, _ns1__BatchJobExResponse *ns1__BatchJobExResponse);
|
||||
|
||||
/// Web service operation 'GetExpiration' (returns error code or SOAP_OK)
|
||||
virtual int GetExpiration(_ns1__GetExpiration *ns1__GetExpiration, _ns1__GetExpirationResponse *ns1__GetExpirationResponse);
|
||||
|
||||
/// Web service operation 'GetAllJobs' (returns error code or SOAP_OK)
|
||||
virtual int GetAllJobs(_ns1__GetAllJobs *ns1__GetAllJobs, _ns1__GetAllJobsResponse *ns1__GetAllJobsResponse);
|
||||
|
||||
/// Web service operation 'GetAllJobsEx' (returns error code or SOAP_OK)
|
||||
virtual int GetAllJobsEx(_ns1__GetAllJobsEx *ns1__GetAllJobsEx, _ns1__GetAllJobsExResponse *ns1__GetAllJobsExResponse);
|
||||
|
||||
/// Web service operation 'CloseExpiredJobs' (returns error code or SOAP_OK)
|
||||
virtual int CloseExpiredJobs(_ns1__CloseExpiredJobs *ns1__CloseExpiredJobs, _ns1__CloseExpiredJobsResponse *ns1__CloseExpiredJobsResponse);
|
||||
|
||||
/// Web service operation 'CloseAllJobs' (returns error code or SOAP_OK)
|
||||
virtual int CloseAllJobs(_ns1__CloseAllJobs *ns1__CloseAllJobs, _ns1__CloseAllJobsResponse *ns1__CloseAllJobsResponse);
|
||||
|
||||
/// Web service operation 'Diag' (returns error code or SOAP_OK)
|
||||
virtual int Diag(_ns1__Diag *ns1__Diag, _ns1__DiagResponse *ns1__DiagResponse);
|
||||
|
||||
/// Web service operation 'DiagEx' (returns error code or SOAP_OK)
|
||||
virtual int DiagEx(_ns1__DiagEx *ns1__DiagEx, _ns1__DiagExResponse *ns1__DiagExResponse);
|
||||
};
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,41 @@
|
||||
This directory contains common #import-ed items for the soapcpp2 compiler.
|
||||
|
||||
Use the #import directive in the gSOAP header file processed by soapcpp2 to
|
||||
include the features listed below.
|
||||
|
||||
dom.h DOM for xs:anyType, xs:any, xs:anyAttribute (link with dom.c/pp)
|
||||
stldeque.h std::deque serializer
|
||||
stllist.h std::list serializer
|
||||
stlset.h std::set serializer
|
||||
stlvector.h std::vector serializer
|
||||
stl.h std::deque, std::list, std::set, and std::vector serializer
|
||||
soap12.h SOAP 1.2 namespaces
|
||||
wsa.h WS-Addressing 2004/08 (see plugin/wsaapi.c)
|
||||
wsa3.h WS-Addressing 2003/03 (see plugin/wsaapi.c)
|
||||
wsa4.h WS-Addressing 2004/03 (see plugin/wsaapi.c)
|
||||
wsa5.h WS-Addressing 2005/03 (see plugin/wsaapi.c)
|
||||
wsse.h WS-Security (see plugin/wsseapi.c)
|
||||
wsu.h Utility
|
||||
xmlmime.h XML MIME bindings
|
||||
xop.h XOP MTOM attachments
|
||||
|
||||
This directory further contains files to support a growing number of WS-*
|
||||
specifications.
|
||||
|
||||
For example, wsa.h is generated from WS/WS-Addressing.xsd with:
|
||||
|
||||
wsdl2h -cgy -o wsa.h -t WS/WS-typemap.dat WS/WS-Addressing.xsd
|
||||
|
||||
The typemap.dat file that is needed by wsdl2h to convert WSDL to a gSOAP header
|
||||
file defines imported namespaces as follows:
|
||||
|
||||
wsa = <http://schemas.xmlsoap.org/ws/2004/08/addressing>
|
||||
|
||||
This ensures that the WS-Addressing support is #import-ed from "wsa.h" when
|
||||
wsdl2h sees WS-Addressing elements. Thus, it does not attempt to extract the
|
||||
WS-Addressing schema but instead uses the pre-build wsa.h definitions.
|
||||
|
||||
Note that the regular XML namespace bindings are defined in typemap.dat using
|
||||
quotes, for example:
|
||||
|
||||
aws = "urn:PI/DevCentral/SoapService"
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
|
||||
c14n.h
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap c14n schema import: http://www.w3.org/2001/10/xml-exc-c14n#
|
||||
//gsoap c14n schema elementForm: qualified
|
||||
//gsoap c14n schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
typedef struct _c14n__InclusiveNamespaces
|
||||
{ @char* PrefixList;
|
||||
} _c14n__InclusiveNamespaces;
|
||||
@@ -0,0 +1,640 @@
|
||||
/*
|
||||
|
||||
dom.h
|
||||
|
||||
gSOAP DOM interface. Use #import "dom.h" in gSOAP header files to add DOM-based
|
||||
xsd__anyType and xsd__anyAttribute types. Automatic with wsdl2h option -d.
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2001-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2004 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@mainpage The gSOAP level-2 DOM parser
|
||||
|
||||
The gSOAP level-2 DOM parser features "smart" XML namespace handling and can be
|
||||
used to mix gSOAP XML serializers with plain XML parsing. The DOM parser is
|
||||
also an essential component of the wsse plugin to verify digital signatures.
|
||||
|
||||
The DOM parser is not a stand-alone application. The DOM parser is integrated
|
||||
with the SOAP engine to populate a node set and to render a node set in XML.
|
||||
|
||||
Two files are needed to work with DOM node sets:
|
||||
|
||||
- dom.h to use a DOM node set in a gSOAP header file with service definitions.
|
||||
- dom.cpp (or dom.c) to be linked with your application code.
|
||||
|
||||
@section dom_1 Declaring DOM Node Sets in a gSOAP Header File
|
||||
|
||||
To use the DOM node set with the data structures defined in a gSOAP header
|
||||
file, import the dom.h file into your header file:
|
||||
|
||||
@code
|
||||
#import "dom.h"
|
||||
@endcode
|
||||
|
||||
By importing dom.h two special data types @ref xsd__anyType and @ref
|
||||
xsd__anyAttribute are available representing a hierarchical DOM node set of
|
||||
elements and attributes, respectively. The DOM node element and attribute data
|
||||
structures can be used within structs, classes, STL containers, and as
|
||||
arguments of service operations. For example:
|
||||
|
||||
@code
|
||||
#import "dom.h"
|
||||
#import "wsu.h"
|
||||
class ns__myProduct
|
||||
{ public:
|
||||
@char* wsu__Id;
|
||||
@xsd__anyAttribute atts;
|
||||
_wsu__Timestamp* wsu__Timestamp;
|
||||
char* name;
|
||||
int SKU;
|
||||
double price;
|
||||
xsd__anyType* elts;
|
||||
ns__myProduct();
|
||||
~ns__myProduct();
|
||||
};
|
||||
@endcode
|
||||
|
||||
It is important to declare the @ref xsd__anyType at the end of the struct or
|
||||
class, since the DOM parser consumes any XML element (the field name, 'elts' in
|
||||
this case, is irrelavant). Thus, the other fields must be defined first to
|
||||
ensure they are populated first before the DOM node set is populated with any
|
||||
non-previously matched XML element. Likewise, the @ref xsd__anyAttribute member
|
||||
should be placed after the other attributes.
|
||||
|
||||
Note that we also imported wsu.h as an example to show how to add a wsu:Id
|
||||
attribute to a struct or class if we want to digitally sign instances, and how
|
||||
to add a standardized wsu:Timestamp element to record creation and expiration
|
||||
times.
|
||||
|
||||
To compile, run soapcpp2 (with -Iimport) and compile your code by linking
|
||||
dom.cpp (or dom.c for C). Note that the DOM data structures are declared in
|
||||
stdsoap2.h, while the DOM operations are defined in dom.cpp (or dom.c for C).
|
||||
|
||||
Methods to populate and traverse DOM node sets will be explained later. First,
|
||||
let's take a look at parsing and generating XML documents.
|
||||
|
||||
@section dom_2 Parsing and Generating XML
|
||||
|
||||
The following examples assume that the soapcpp2 compiler was used on a header
|
||||
file (just the dom.h file will do) and the generated soapC.cpp or (soapC.c for
|
||||
C) code was compiled and linked with dom.cpp (or dom.c for C), stdsoap2.cpp (or
|
||||
stdsoap2.c) and the example application code. The generated namespace table
|
||||
should also be used, since the namespace bindings are relevant for consuming
|
||||
and producing XML for DOM node sets. Therefore, each of the example codes
|
||||
in this documentation is assumed to start with the following two includes:
|
||||
|
||||
@code
|
||||
#include "soapH.h" // generated by soapcpp2
|
||||
#include "ns.nsmap" // a namespace table with the XML namespace used
|
||||
@endcode
|
||||
|
||||
The C++ std::iostream operators are overloaded to parse XML octet streams into
|
||||
node sets and to emit XML from node sets:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
|
||||
cin >> dom; // parse XML
|
||||
if (dom.soap->error)
|
||||
... // parse error
|
||||
cout << dom; // display XML
|
||||
if (dom.soap->error)
|
||||
... // output error
|
||||
soap_destroy(dom.soap);
|
||||
soap_end(dom.soap);
|
||||
soap_done(dom.soap);
|
||||
free(dom.soap);
|
||||
@endcode
|
||||
|
||||
In the example above we copied an XML document from stdin to stdout.
|
||||
|
||||
In C we use the DOM "serializers" to accomplish this as follows:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
|
||||
dom.soap->recvfd = stdin;
|
||||
if (soap_begin_recv(dom.soap)
|
||||
|| NULL != soap_in_xsd__anyType(dom.soap, NULL, &dom, NULL)
|
||||
|| soap_end_recv(dom.soap))
|
||||
... // parse error
|
||||
dom.soap->sendfd = stdout;
|
||||
if (soap_begin_send(dom.soap)
|
||||
|| soap_out_xsd__anyType(dom.soap, NULL, 0, &dom, NULL)
|
||||
|| soap_end_send(dom.soap))
|
||||
... // output error
|
||||
soap_end(dom.soap);
|
||||
soap_done(dom.soap);
|
||||
free(dom.soap);
|
||||
@endcode
|
||||
|
||||
The SOAP_DOM_NODE flag is used to instruct the parser to populate a DOM node
|
||||
set with deserialized C and C++ data structures using the data type's
|
||||
deserializers that were generated with soapcpp2 from a header file with the
|
||||
data type declarations. Suppose for example that the following header file was
|
||||
used (in fact, this declaration appears in wsu.h):
|
||||
|
||||
@code
|
||||
typedef struct _wsu__Timestamp
|
||||
{ @char* wsu__Id;
|
||||
char* Created;
|
||||
char* Expires;
|
||||
} _wsu__Timestamp;
|
||||
@endcode
|
||||
|
||||
Note that the leading underscore of the type name indicates an XML element
|
||||
definition (rather than a complexType definition), so the name of the data type
|
||||
is relevant when comparing XML element tags to C/C++ data types by the
|
||||
deserializers.
|
||||
|
||||
When an XML document is parsed with one or more <wsu:Timestamp> elements, the
|
||||
DOM will be automatically populated with the _wsu__Timestamp objects. Suppose
|
||||
the XML document root is a <wsu:Timestamp>, then the root node of the DOM is a
|
||||
_wsu__Timestamp object:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_DOM_NODE);
|
||||
cin >> dom; // parse XML
|
||||
if (dom.soap->error)
|
||||
... // parse error
|
||||
if (dom.type == SOAP_TYPE__wsu__Timestamp)
|
||||
{ _wsu__Timestamp *t = (_wsu__Timestamp*)dom.node;
|
||||
cout << "Start " << (t->Created ? t->Created : "")
|
||||
<< " till " << (t->Expires ? t->Expires : "") << endl;
|
||||
}
|
||||
@endcode
|
||||
|
||||
Note that the soapcpp2 compiler generates a unique type identification constant
|
||||
SOAP_TYPE_X for each data type X, which is used to determine the node's type in
|
||||
the example above.
|
||||
|
||||
When objects occur deeper within the DOM node set then the DOM tree should be
|
||||
traversed. This subject will be discussed next.
|
||||
|
||||
@section dom_3 Traversing a DOM Node Set
|
||||
|
||||
The DOM node set is traversed with a C++ iterator or with the C functions @ref
|
||||
soap_dom_next_element and @ref soap_dom_next_attribute. For example, to walk
|
||||
the node set visiting nodes in the same order as they appeared in the document,
|
||||
use:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
|
||||
...
|
||||
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
|
||||
for (soap_dom_attribute::iterator attr = (*iter).atts.begin(); attr != (*iter).atts.end(); ++attr)
|
||||
...
|
||||
@endcode
|
||||
|
||||
In C code, use:
|
||||
|
||||
@code
|
||||
soap_dom_element dom, *iter;
|
||||
soap_dom_attribute *attr;
|
||||
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
|
||||
...
|
||||
for (iter = &dom; iter; iter = soap_dom_next_element(iter))
|
||||
for (attr = iter->atts; attr; attr = soap_dom_next_attribute(attr))
|
||||
...
|
||||
@endcode
|
||||
|
||||
The @ref soap_dom_element and @ref soap_dom_attribute structs form essentially
|
||||
linked lists, so it would not be too difficult to write your own tree walkers:
|
||||
|
||||
- @ref soap_dom_element::prnt points to the parent soap_dom_element node.
|
||||
- @ref soap_dom_element::elts points to the linked list of child element nodes.
|
||||
- @ref soap_dom_element::atts points to the linked list of attribute nodes.
|
||||
|
||||
The linked lists of sibling elements nodes and attribute nodes are respectively:
|
||||
|
||||
- @ref soap_dom_element::next points to the next sibling element node.
|
||||
- @ref soap_dom_attribute::next points to the next attribute in the attribute
|
||||
list of an element node.
|
||||
|
||||
Note that for a root node, the @ref soap_dom_element::prnt and @ref
|
||||
soap_dom_element::next are both NULL.
|
||||
|
||||
Tag names of elements and attributes are stored in @ref soap_dom_element::name
|
||||
and @ref soap_dom_attribute::name strings, respectively. The names are UTF-8
|
||||
encoded.
|
||||
|
||||
XML namespace bindings are explicitly propagated throughout the DOM node set
|
||||
for those elements and attributes that are namespace qualified (either with a
|
||||
namespace prefix or when they occur in a xmlns default namespace scope). The
|
||||
namespaces are stored in the @ref soap_dom_element::nstr and @ref
|
||||
soap_dom_attribute::nstr strings. The following example shows how to traverse a
|
||||
DOM node set and print the elements with their namespace URIs when present:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
|
||||
cin >> dom;
|
||||
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
|
||||
{ cout << "Element " << (*iter).name;
|
||||
if ((*iter).nstr)
|
||||
cout << " has namespace " << (*iter).nstr;
|
||||
cout << endl;
|
||||
}
|
||||
soap_destroy(dom.soap);
|
||||
soap_end(dom.soap);
|
||||
soap_done(dom.soap);
|
||||
free(dom.soap);
|
||||
@endcode
|
||||
|
||||
Text content of a node is stored in the @ref soap_dom_element::data string in
|
||||
UTF-8 format. This string is populated if the SOAP_C_UTFSTRING flag was set.
|
||||
Otherwise the data content will be stored in the @ref soap_dom_element::wide
|
||||
wide-character string.
|
||||
|
||||
The following example prints those element nodes that have text content
|
||||
(in UTF-8 format):
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
...
|
||||
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
|
||||
{ cout << "Element " << (*iter).name;
|
||||
if ((*iter).data)
|
||||
cout << " = " << (*iter).data;
|
||||
cout << endl;
|
||||
}
|
||||
...
|
||||
@endcode
|
||||
|
||||
When a DOM node set contains deserialized objects (enabled with the
|
||||
SOAP_DOM_NODE flag), the @ref soap_dom_element::type and @ref
|
||||
soap_dom_element::node values are set:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
...
|
||||
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
|
||||
{ cout << "Element " << (*iter).name;
|
||||
if ((*iter).type)
|
||||
cout << "Element " << (*iter).name << " contains a deserialized object" << endl;
|
||||
cout << endl;
|
||||
}
|
||||
...
|
||||
@endcode
|
||||
|
||||
The @ref soap_dom_element::type is 0 or a SOAP_TYPE_X constant, where X is the
|
||||
name of the deserialized type. The @ref soap_dom_element::node points to the
|
||||
deserialized object. If this is a char* string, it points directly to the
|
||||
character sequence.
|
||||
|
||||
Note: the SOAP_DOM_TREE flag restricts the parser to DOM content only, so
|
||||
deserializers is not used. When the SOAP_DOM_TREE flag is not used, an
|
||||
appropriate deserializer MAY be used by gSOAP when an element contains an id
|
||||
attribute and gSOAP can determine the type from the id attribute reference
|
||||
and/or the xsi:type attribute of an element.
|
||||
|
||||
@section dom_4 Searching
|
||||
|
||||
Common operations on DOM node sets in level-2 DOM parsers are searching and
|
||||
filtering.
|
||||
|
||||
For C++ code, the built-in @ref soap_dom_element::iterator can be used to
|
||||
search for matching element nodes. C programmers are out of luck as they should
|
||||
write looping code to search for nodes explicitly.
|
||||
|
||||
The @ref soap_dom_element::find method returns a search iterator. The method
|
||||
takes an optional namespace URI and element name to match elements in the DOM
|
||||
node set. For example, to iterate over all "product" elements:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
...
|
||||
for (soap_dom_element::iterator iter = dom.find(NULL, "product"); iter != dom.end(); ++iter)
|
||||
cout << "Element " << (*iter).name << endl;
|
||||
...
|
||||
@endcode
|
||||
|
||||
To iterate over all elements in a particular namespace:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
...
|
||||
for (soap_dom_element::iterator iter = dom.find("http://www.w3.org/2001/XMLSchema", NULL); iter != dom.end(); ++iter)
|
||||
cout << "Element " << (*iter).name << endl;
|
||||
...
|
||||
@endcode
|
||||
|
||||
Since namespaces may have different version, a '*' wildcard can be used with
|
||||
the namespace string. Likewise, tag names may be namespace qualified with
|
||||
prefixes that are not relevant to the search:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
...
|
||||
for (soap_dom_element::iterator iter = dom.find("http://www.w3.org/*XMLSchema", "*:schema"); iter != dom.end(); ++iter)
|
||||
cout << "Element " << (*iter).name << endl;
|
||||
...
|
||||
@endcode
|
||||
|
||||
This searches for qualified elements in one of the XSD namespaces.
|
||||
|
||||
@section dom_5 Constructing DOM Node Sets
|
||||
|
||||
The @ref soap_dom_element::set and @ref soap_dom_element::add methods are used
|
||||
to decorate a DOM node set with child element nodes and attribute nodes.
|
||||
Application data with serializers can be incorporated in the node set as well.
|
||||
|
||||
The following examples are shown in C++. C programmers can use the @ref
|
||||
soap_dom_element:elts list and @ref soap_dom_elements::atts list to add child
|
||||
nodes and attribute nodes, respectively.
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_C_UTFSTRING | SOAP_XML_INDENT);
|
||||
const char *myURI = "http://www.mydomain.com/myproducts";
|
||||
ns__myProduct product();
|
||||
product.soap_default(dom.soap); // method generated by soapcpp2
|
||||
product.name = "Ernie";
|
||||
product.SKU = 123;
|
||||
product.price = 9.95;
|
||||
dom.set(myURI, "list");
|
||||
dom.add(soap_dom_attribute(dom.soap, myURI, "version", "0.9"));
|
||||
dom.add(soap_dom_element(dom.soap, myURI, "documentation", "List of products"));
|
||||
dom.add(soap_dom_element(dom.soap, myURI, "product", SOAP_TYPE_ns__myProduct, &product);
|
||||
cout << dom;
|
||||
...
|
||||
@endcode
|
||||
|
||||
Assuming that myURI is associated with namespace prefix "ns" in the namespace
|
||||
table, the rendition is
|
||||
|
||||
@code
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ns:list
|
||||
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:ns="http://domain/schemas/product.xsd"
|
||||
version="0.9" >
|
||||
<ns:documentation>List of products</ns:documentation>
|
||||
<ns:product>
|
||||
<name>Ernie</name>
|
||||
<SKU>123</SKU>
|
||||
<price>9.95</price>
|
||||
</ns:product>
|
||||
</ns:list>
|
||||
@endcode
|
||||
|
||||
Note that the namespace table content is "dumped" into the XML rendition.
|
||||
|
||||
The global namespace mapping table "namespaces[]" contains the namespace
|
||||
bindings that should be meaningful to the application. The soap context can be
|
||||
set to a new table as follows:
|
||||
|
||||
@code
|
||||
Namespace myNamespaces[] = { { "ns", "..." }, ... , { NULL } };
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_C_UTFSTRING | SOAP_XML_INDENT);
|
||||
dom.soap->namespaces = myNamespaces;
|
||||
@endcode
|
||||
|
||||
To produce cleaner XML, use the SOAP_XML_CANONICAL flag to initiate the soap
|
||||
context:
|
||||
|
||||
@code
|
||||
<ns:list xmlns:ns="http://domain/schemas/product.xsd" version="0.9" >
|
||||
<ns:documentation>List of products</ns:documentation>
|
||||
<ns:product>
|
||||
<name>Ernie</name>
|
||||
<SKU>123</SKU>
|
||||
<price>9.95</price>
|
||||
</ns:product>
|
||||
</ns:list>
|
||||
@endcode
|
||||
|
||||
Note that the xmlns bindings are rendered automatically. When parsing an XML
|
||||
document, xmlns bindings are not added to the attribute node set. The @ref
|
||||
soap_dom_element::nstr and @ref soap_dom_attribute::nstr namespace strings are
|
||||
set to retain namespace URIs. The XML rendering algorithm uses the namespace
|
||||
strings to add xmlns bindings that are not already in the namespace table.
|
||||
|
||||
When it is desirable to render XML exactly as represented in the DOM node set,
|
||||
e.g. when xmlns bindings are explicitly included in the attribute node set, use
|
||||
the SOAP_DOM_ASIS flag:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(SOAP_C_UTFSTRING | SOAP_DOM_ASIS);
|
||||
@endcode
|
||||
|
||||
@section dom_6 Example
|
||||
|
||||
The gSOAP header file below imports DOM and declares xsd:float to enable
|
||||
serializing floats embedded within DOM node sets and deserializing floats to
|
||||
populate DOM node sets:
|
||||
|
||||
@code
|
||||
#import "dom.h"
|
||||
typedef float xsd__float;
|
||||
@endcode
|
||||
|
||||
Consider invoking the XMethods delayed stock quote service to obtain a stock
|
||||
quote. The float deserializer is used to store the floating-point value of a
|
||||
stock given that the <Result> element has an xsi:type="xsd:float" attribute.
|
||||
|
||||
@code
|
||||
struct soap *soap = soap_new1(SOAP_C_UTFSTRING | SOAP_DOM_NODE);
|
||||
soap_dom_element envelope(soap, "http://schemas.xmlsoap.org/soap/envelope/", "Envelope");
|
||||
soap_dom_element body(soap, "http://schemas.xmlsoap.org/soap/envelope/", "Body");
|
||||
soap_dom_attribute encodingStyle(soap, "http://schemas.xmlsoap.org/soap/envelope/", "encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/");
|
||||
soap_dom_element request(soap, "urn:xmethods-delayed-quotes", "getQuote");
|
||||
soap_dom_element symbol(soap, NULL, "symbol", "IBM");
|
||||
soap_dom_element response(soap);
|
||||
envelope.add(body);
|
||||
body.add(encodingStyle);
|
||||
body.add(request);
|
||||
request.add(symbol);
|
||||
cout << "Request message:" << endl << envelope << endl;
|
||||
if (soap_connect(soap, "http://services.xmethods.net/soap", "")
|
||||
|| soap_out_xsd__anyType(soap, NULL, 0, &envelope, NULL)
|
||||
|| soap_end_send(soap)
|
||||
|| soap_begin_recv(soap)
|
||||
|| NULL != soap_in_xsd__anyType(soap, NULL, &response, NULL)
|
||||
|| soap_end_recv(soap)
|
||||
|| soap_closesock(soap))
|
||||
{ soap_print_fault(soap, stderr);
|
||||
soap_print_fault_location(soap, stderr);
|
||||
}
|
||||
else
|
||||
{ cout << "Response message:" << endl << response << endl;
|
||||
for (soap_dom_element::iterator walker = response.find(SOAP_TYPE_xsd__float); walker != response.end(); ++walker)
|
||||
cout << "Quote = " << *(xsd__float*)(*walker).node << endl;
|
||||
}
|
||||
soap_destroy(soap);
|
||||
soap_end(soap);
|
||||
soap_done(soap);
|
||||
free(soap);
|
||||
@endcode
|
||||
|
||||
@section dom_7 Summary
|
||||
|
||||
The DOM parser needs a soap context to allocate nodes:
|
||||
|
||||
@code
|
||||
soap_dom_element dom;
|
||||
dom.soap = soap_new1(... flags ...);
|
||||
...
|
||||
soap_destroy(dom.soap);
|
||||
soap_end(dom.soap);
|
||||
soap_done(dom.soap);
|
||||
soap_free(dom.soap);
|
||||
@endcode
|
||||
|
||||
The nodes are removed with soap_destroy (for C++) and soap_end. The soap_done
|
||||
function should only be used before the soap context is deallocated.
|
||||
|
||||
The soap context flags that control the parsing and rendition of XML are:
|
||||
|
||||
- (no flag): only elements with an id attribute are deserialized as C/C++ data
|
||||
types (when a deserializer is available). XML elements with character data
|
||||
are deserialized into the @ref soap_dom_element::wide field.
|
||||
- SOAP_C_UTFSTRING: store character data in UTF-8 format in @ref
|
||||
soap_dom_element::data.
|
||||
- SOAP_C_MBSTRING: store character data in multi-byte format in @ref
|
||||
soap_dom_element::data, where the decoding depends on the current
|
||||
localication. The platform must support MB strings (HAVE_MBTOWC).
|
||||
- SOAP_DOM_TREE: prevents deserialization of C/C++ data structures into the
|
||||
DOM.
|
||||
- SOAP_DOM_NODE: attempt to deserialize C/C++ data structures when a
|
||||
deserializer is available. A deserializer is selected based on the element
|
||||
name or the xsi:type attribute.
|
||||
- SOAP_DOM_ASIS: render XML "as is", i.e. do not insert xmlns bindings for URIs
|
||||
stored in nstr. Assumes the DOM is self-contained.
|
||||
- SOAP_XML_INDENT: render XML with indent.
|
||||
- SOAP_XML_CANONICAL: render XML in exc-c14n form.
|
||||
|
||||
The DOM traversal operations:
|
||||
|
||||
- @ref soap_dom_next_element returns the next element in an in-order traversal.
|
||||
- @ref soap_dom_next_attribute returns the next attribute of a node.
|
||||
|
||||
The @ref soap_dom_element fields:
|
||||
|
||||
- @ref soap_dom_element::next pointer to next sibling in list.
|
||||
- @ref soap_dom_element::prnt pointer to parent node.
|
||||
- @ref soap_dom_element::elts pointer to list of child element nodes.
|
||||
- @ref soap_dom_element::atts pointer to list of attribute nodes.
|
||||
- @ref soap_dom_element::nstr optional namespace string of this node.
|
||||
- @ref soap_dom_element::name the name of the element node (with optional
|
||||
prefix).
|
||||
- @ref soap_dom_element::data optional character data in UTF-8 format.
|
||||
- @ref soap_dom_element::wide optional character data in wide string format.
|
||||
- @ref soap_dom_element::type optional SOAP_TYPE_X type of a C/C++ data
|
||||
structure stored with this node.
|
||||
- @ref soap_dom_element::node optional pointer to the C/C++ data structure
|
||||
stored with this node.
|
||||
- @ref soap_dom_element::head optional leading whitespace to the start tag.
|
||||
- @ref soap_dom_element::tail optional leading whitespace to the end tag.
|
||||
- @ref soap_dom_element::soap the soap context that manages this node.
|
||||
|
||||
The @ref soap_dom_element types:
|
||||
|
||||
- @ref soap_dom_element::iterator
|
||||
|
||||
The @ref soap_dom_element methods:
|
||||
|
||||
- @ref soap_dom_element::set(nstr, name);
|
||||
- @ref soap_dom_element::set(data);
|
||||
- @ref soap_dom_element::set(node, type);
|
||||
- @ref soap_dom_element::add(soap_dom_element);
|
||||
- @ref soap_dom_element::add(soap_dom_attribute);
|
||||
- @ref soap_dom_element::begin();
|
||||
- @ref soap_dom_element::end();
|
||||
- @ref soap_dom_element::find(nstr, name);
|
||||
- @ref soap_dom_element::find(type);
|
||||
- @ref soap_dom_element::unlink();
|
||||
|
||||
The @ref soap_dom_element constructors:
|
||||
|
||||
- @ref soap_dom_element();
|
||||
- @ref soap_dom_element(soap);
|
||||
- @ref soap_dom_element(soap, nstr, name);
|
||||
- @ref soap_dom_element(soap, nstr, name, data);
|
||||
- @ref soap_dom_element(soap, nstr, name, node, type);
|
||||
|
||||
The @ref soap_dom_attribute fields:
|
||||
|
||||
- @ref soap_dom_attribute::next pointer to next attribute node in list.
|
||||
- @ref soap_dom_attribute::nstr optional namespace string of this node.
|
||||
- @ref soap_dom_attribute::name the name of the attribute (with optional
|
||||
prefix).
|
||||
- @ref soap_dom_attribute::data optional character data in UTF-8 format.
|
||||
- @ref soap_dom_attribute::soap the soap context that manages this node.
|
||||
|
||||
The @ref soap_dom_attribute types:
|
||||
|
||||
- @ref soap_dom_attribute::iterator
|
||||
|
||||
The @ref soap_dom_attribute methods:
|
||||
|
||||
- @ref soap_dom_attribute::set(nstr, name);
|
||||
- @ref soap_dom_attribute::set(data);
|
||||
- @ref soap_dom_attribute::begin();
|
||||
- @ref soap_dom_attribute::end();
|
||||
- @ref soap_dom_attribute::find(nstr, name);
|
||||
- @ref soap_dom_attribute::unlink();
|
||||
|
||||
The @ref soap_dom_attribute constructors:
|
||||
|
||||
- @ref soap_dom_attribute();
|
||||
- @ref soap_dom_attribute(soap);
|
||||
- @ref soap_dom_attribute(soap, nstr, name, data);
|
||||
|
||||
*/
|
||||
|
||||
/// @brief The custom serializer for DOM element nodes is represented by xsd__anyType.
|
||||
extern typedef struct soap_dom_element xsd__anyType;
|
||||
|
||||
/// @brief The custom serializer for DOM attribute nodes is represented by xsd__anyAttribute.
|
||||
extern typedef struct soap_dom_attribute xsd__anyAttribute;
|
||||
|
||||
@@ -0,0 +1,373 @@
|
||||
/*
|
||||
|
||||
ds.h
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cuxy -o ds.h -t WS/WS-typemap.dat WS/ds.xsd
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added //gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://www.w3.org/2000/09/xmldsig# *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
|
||||
//gsoap ds schema elementForm: qualified
|
||||
//gsoap ds schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType from typemap WS/WS-typemap.dat.
|
||||
typedef struct ds__SignatureType
|
||||
{ struct ds__SignedInfoType* SignedInfo;
|
||||
char* SignatureValue;
|
||||
struct ds__KeyInfoType* KeyInfo;
|
||||
@char* Id;
|
||||
} ds__SignatureType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Typedef synonym for struct ds__SignedInfoType.
|
||||
typedef struct ds__SignedInfoType ds__SignedInfoType;
|
||||
|
||||
/// Typedef synonym for struct ds__CanonicalizationMethodType.
|
||||
typedef struct ds__CanonicalizationMethodType ds__CanonicalizationMethodType;
|
||||
|
||||
/// Typedef synonym for struct ds__SignatureMethodType.
|
||||
typedef struct ds__SignatureMethodType ds__SignatureMethodType;
|
||||
|
||||
/// Typedef synonym for struct ds__ReferenceType.
|
||||
typedef struct ds__ReferenceType ds__ReferenceType;
|
||||
|
||||
/// Typedef synonym for struct ds__TransformsType.
|
||||
typedef struct ds__TransformsType ds__TransformsType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":TransformType from typemap WS/WS-typemap.dat.
|
||||
#import "c14n.h"
|
||||
typedef struct ds__TransformType
|
||||
{ _c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
|
||||
_XML __any;
|
||||
@char* Algorithm;
|
||||
} ds__TransformType;
|
||||
|
||||
/// Typedef synonym for struct ds__DigestMethodType.
|
||||
typedef struct ds__DigestMethodType ds__DigestMethodType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType from typemap WS/WS-typemap.dat.
|
||||
typedef struct ds__KeyInfoType
|
||||
{ char* KeyName;
|
||||
struct ds__KeyValueType* KeyValue;
|
||||
struct ds__RetrievalMethodType* RetrievalMethod;
|
||||
struct ds__X509DataType* X509Data;
|
||||
struct _wsse__SecurityTokenReference* wsse__SecurityTokenReference;
|
||||
@char* Id;
|
||||
} ds__KeyInfoType;
|
||||
|
||||
/// Typedef synonym for struct ds__KeyValueType.
|
||||
typedef struct ds__KeyValueType ds__KeyValueType;
|
||||
|
||||
/// Typedef synonym for struct ds__RetrievalMethodType.
|
||||
typedef struct ds__RetrievalMethodType ds__RetrievalMethodType;
|
||||
|
||||
/// Typedef synonym for struct ds__X509DataType.
|
||||
typedef struct ds__X509DataType ds__X509DataType;
|
||||
|
||||
/// Typedef synonym for struct ds__X509IssuerSerialType.
|
||||
typedef struct ds__X509IssuerSerialType ds__X509IssuerSerialType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Typedef synonym for struct ds__DSAKeyValueType.
|
||||
typedef struct ds__DSAKeyValueType ds__DSAKeyValueType;
|
||||
|
||||
/// Typedef synonym for struct ds__RSAKeyValueType.
|
||||
typedef struct ds__RSAKeyValueType ds__RSAKeyValueType;
|
||||
|
||||
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":CryptoBinary from typemap WS/WS-typemap.dat.
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":DigestValueType from typemap WS/WS-typemap.dat.
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType from typemap WS/WS-typemap.dat.
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":SignedInfoType is a complexType.
|
||||
struct ds__SignedInfoType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod.
|
||||
struct ds__CanonicalizationMethodType* CanonicalizationMethod 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":SignatureMethod.
|
||||
struct ds__SignatureMethodType* SignatureMethod 1; ///< Required element.
|
||||
/// Size of the dynamic array of struct ds__ReferenceType* is 0..unbounded
|
||||
int __sizeReference ;
|
||||
/// Pointer to array of struct ds__ReferenceType*.
|
||||
struct ds__ReferenceType* *Reference 1;
|
||||
/// Attribute Id of type xs:ID.
|
||||
@char* /*ID*/ Id 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType is a complexType.
|
||||
struct ds__CanonicalizationMethodType
|
||||
{
|
||||
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Attribute Algorithm of type xs:anyURI.
|
||||
@char* /*URI*/ Algorithm 1; ///< Required attribute.
|
||||
/// Member declared in WS/WS-typemap.dat
|
||||
_c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType is a complexType.
|
||||
struct ds__SignatureMethodType
|
||||
{
|
||||
/// Element HMACOutputLength of type "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType.
|
||||
int* HMACOutputLength 0; ///< Optional element.
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Attribute Algorithm of type xs:anyURI.
|
||||
@char* /*URI*/ Algorithm 1; ///< Required attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":ReferenceType is a complexType.
|
||||
struct ds__ReferenceType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
|
||||
struct ds__TransformsType* Transforms 0; ///< Optional element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestMethod.
|
||||
struct ds__DigestMethodType* DigestMethod 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestValue.
|
||||
char* /*base64*/ DigestValue 1; ///< Required element.
|
||||
/// Attribute Id of type xs:ID.
|
||||
@char* /*ID*/ Id 0; ///< Optional attribute.
|
||||
/// Attribute URI of type xs:anyURI.
|
||||
@char* /*URI*/ URI 0; ///< Optional attribute.
|
||||
/// Attribute Type of type xs:anyURI.
|
||||
@char* /*URI*/ Type 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":TransformsType is a complexType.
|
||||
struct ds__TransformsType
|
||||
{
|
||||
/// Size of the dynamic array of ds__TransformType is 0..unbounded
|
||||
int __sizeTransform ;
|
||||
/// Pointer to array of ds__TransformType.
|
||||
ds__TransformType *Transform 1;
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":DigestMethodType is a complexType.
|
||||
struct ds__DigestMethodType
|
||||
{
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Attribute Algorithm of type xs:anyURI.
|
||||
@char* /*URI*/ Algorithm 1; ///< Required attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":KeyValueType is a complexType.
|
||||
struct ds__KeyValueType
|
||||
{
|
||||
/// CHOICE OF ELEMENTS <choice>
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue.
|
||||
struct ds__DSAKeyValueType* DSAKeyValue 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue.
|
||||
struct ds__RSAKeyValueType* RSAKeyValue 1; ///< Required element.
|
||||
/// TODO: <any namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
|
||||
// END OF CHOICE
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType is a complexType.
|
||||
struct ds__RetrievalMethodType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
|
||||
struct ds__TransformsType* Transforms 0; ///< Optional element.
|
||||
/// Attribute URI of type xs:anyURI.
|
||||
@char* /*URI*/ URI 0; ///< Optional attribute.
|
||||
/// Attribute Type of type xs:anyURI.
|
||||
@char* /*URI*/ Type 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":X509DataType is a complexType.
|
||||
struct ds__X509DataType
|
||||
{
|
||||
/// CHOICE OF ELEMENTS <choice>
|
||||
/// Element X509IssuerSerial of type "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType.
|
||||
struct ds__X509IssuerSerialType* X509IssuerSerial 1; ///< Required element.
|
||||
/// Element X509SKI of type xs:base64Binary.
|
||||
char* /*base64*/ X509SKI 1; ///< Required element.
|
||||
/// Element X509SubjectName of type xs:string.
|
||||
char* X509SubjectName 1; ///< Required element.
|
||||
/// Element X509Certificate of type xs:base64Binary.
|
||||
char* /*base64*/ X509Certificate 1; ///< Required element.
|
||||
/// Element X509CRL of type xs:base64Binary.
|
||||
char* /*base64*/ X509CRL 1; ///< Required element.
|
||||
/// TODO: <any namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
|
||||
// END OF CHOICE
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType is a complexType.
|
||||
struct ds__X509IssuerSerialType
|
||||
{
|
||||
/// Element X509IssuerName of type xs:string.
|
||||
char* X509IssuerName 1; ///< Required element.
|
||||
/// Element X509SerialNumber of type xs:integer.
|
||||
int X509SerialNumber 1; ///< Required element.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType is a complexType.
|
||||
struct ds__DSAKeyValueType
|
||||
{
|
||||
/// Element G of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ G 0; ///< Optional element.
|
||||
/// Element Y of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Y 1; ///< Required element.
|
||||
/// Element J of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ J 0; ///< Optional element.
|
||||
/// Element P of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ P 1; ///< Required element.
|
||||
/// Element Q of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Q 1; ///< Required element.
|
||||
/// Element Seed of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Seed 1; ///< Required element.
|
||||
/// Element PgenCounter of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ PgenCounter 1; ///< Required element.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType is a complexType.
|
||||
struct ds__RSAKeyValueType
|
||||
{
|
||||
/// Element Modulus of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Modulus 1; ///< Required element.
|
||||
/// Element Exponent of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Exponent 1; ///< Required element.
|
||||
};
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Signature of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureValue of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignedInfo of complexType "http://www.w3.org/2000/09/xmldsig#":SignedInfoType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod of complexType "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureMethod of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Reference of complexType "http://www.w3.org/2000/09/xmldsig#":ReferenceType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Transforms of complexType "http://www.w3.org/2000/09/xmldsig#":TransformsType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Transform of complexType "http://www.w3.org/2000/09/xmldsig#":TransformType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestMethod of complexType "http://www.w3.org/2000/09/xmldsig#":DigestMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestValue of complexType "http://www.w3.org/2000/09/xmldsig#":DigestValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyInfo of complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyName of complexType xs:string.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":MgmtData of complexType xs:string.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":KeyValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":RetrievalMethod of complexType "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":X509Data of complexType "http://www.w3.org/2000/09/xmldsig#":X509DataType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":PGPData of complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SPKIData of complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Object of complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Manifest of complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperties of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperty of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/* End of ds.h */
|
||||
@@ -0,0 +1,373 @@
|
||||
/*
|
||||
|
||||
ds.h
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cuxy -o ds.h -t WS/WS-typemap.dat WS/ds.xsd
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added //gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://www.w3.org/2000/09/xmldsig# *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
|
||||
//gsoap ds schema elementForm: qualified
|
||||
//gsoap ds schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType from typemap WS/WS-typemap.dat.
|
||||
typedef struct ds__SignatureType
|
||||
{ struct ds__SignedInfoType* SignedInfo;
|
||||
char* SignatureValue;
|
||||
struct ds__KeyInfoType* KeyInfo;
|
||||
@char* Id;
|
||||
} ds__SignatureType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Typedef synonym for struct ds__SignedInfoType.
|
||||
typedef struct ds__SignedInfoType ds__SignedInfoType;
|
||||
|
||||
/// Typedef synonym for struct ds__CanonicalizationMethodType.
|
||||
typedef struct ds__CanonicalizationMethodType ds__CanonicalizationMethodType;
|
||||
|
||||
/// Typedef synonym for struct ds__SignatureMethodType.
|
||||
typedef struct ds__SignatureMethodType ds__SignatureMethodType;
|
||||
|
||||
/// Typedef synonym for struct ds__ReferenceType.
|
||||
typedef struct ds__ReferenceType ds__ReferenceType;
|
||||
|
||||
/// Typedef synonym for struct ds__TransformsType.
|
||||
typedef struct ds__TransformsType ds__TransformsType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":TransformType from typemap WS/WS-typemap.dat.
|
||||
#import "c14n.h"
|
||||
typedef struct ds__TransformType
|
||||
{ _c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
|
||||
_XML __any;
|
||||
@char* Algorithm;
|
||||
} ds__TransformType;
|
||||
|
||||
/// Typedef synonym for struct ds__DigestMethodType.
|
||||
typedef struct ds__DigestMethodType ds__DigestMethodType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType from typemap WS/WS-typemap.dat.
|
||||
typedef struct ds__KeyInfoType
|
||||
{ char* KeyName;
|
||||
struct ds__KeyValueType* KeyValue;
|
||||
struct ds__RetrievalMethodType* RetrievalMethod;
|
||||
struct ds__X509DataType* X509Data;
|
||||
struct _wsse2__SecurityTokenReference* wsse2__SecurityTokenReference;
|
||||
@char* Id;
|
||||
} ds__KeyInfoType;
|
||||
|
||||
/// Typedef synonym for struct ds__KeyValueType.
|
||||
typedef struct ds__KeyValueType ds__KeyValueType;
|
||||
|
||||
/// Typedef synonym for struct ds__RetrievalMethodType.
|
||||
typedef struct ds__RetrievalMethodType ds__RetrievalMethodType;
|
||||
|
||||
/// Typedef synonym for struct ds__X509DataType.
|
||||
typedef struct ds__X509DataType ds__X509DataType;
|
||||
|
||||
/// Typedef synonym for struct ds__X509IssuerSerialType.
|
||||
typedef struct ds__X509IssuerSerialType ds__X509IssuerSerialType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType from typemap WS/WS-typemap.dat.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Typedef synonym for struct ds__DSAKeyValueType.
|
||||
typedef struct ds__DSAKeyValueType ds__DSAKeyValueType;
|
||||
|
||||
/// Typedef synonym for struct ds__RSAKeyValueType.
|
||||
typedef struct ds__RSAKeyValueType ds__RSAKeyValueType;
|
||||
|
||||
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":CryptoBinary from typemap WS/WS-typemap.dat.
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":DigestValueType from typemap WS/WS-typemap.dat.
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType from typemap WS/WS-typemap.dat.
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":SignedInfoType is a complexType.
|
||||
struct ds__SignedInfoType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod.
|
||||
struct ds__CanonicalizationMethodType* CanonicalizationMethod 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":SignatureMethod.
|
||||
struct ds__SignatureMethodType* SignatureMethod 1; ///< Required element.
|
||||
/// Size of the dynamic array of struct ds__ReferenceType* is 0..unbounded
|
||||
int __sizeReference ;
|
||||
/// Pointer to array of struct ds__ReferenceType*.
|
||||
struct ds__ReferenceType* *Reference 1;
|
||||
/// Attribute Id of type xs:ID.
|
||||
@char* /*ID*/ Id 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType is a complexType.
|
||||
struct ds__CanonicalizationMethodType
|
||||
{
|
||||
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Attribute Algorithm of type xs:anyURI.
|
||||
@char* /*URI*/ Algorithm 1; ///< Required attribute.
|
||||
/// Member declared in WS/WS-typemap.dat
|
||||
_c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType is a complexType.
|
||||
struct ds__SignatureMethodType
|
||||
{
|
||||
/// Element HMACOutputLength of type "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType.
|
||||
int* HMACOutputLength 0; ///< Optional element.
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Attribute Algorithm of type xs:anyURI.
|
||||
@char* /*URI*/ Algorithm 1; ///< Required attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":ReferenceType is a complexType.
|
||||
struct ds__ReferenceType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
|
||||
struct ds__TransformsType* Transforms 0; ///< Optional element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestMethod.
|
||||
struct ds__DigestMethodType* DigestMethod 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestValue.
|
||||
char* /*base64*/ DigestValue 1; ///< Required element.
|
||||
/// Attribute Id of type xs:ID.
|
||||
@char* /*ID*/ Id 0; ///< Optional attribute.
|
||||
/// Attribute URI of type xs:anyURI.
|
||||
@char* /*URI*/ URI 0; ///< Optional attribute.
|
||||
/// Attribute Type of type xs:anyURI.
|
||||
@char* /*URI*/ Type 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":TransformsType is a complexType.
|
||||
struct ds__TransformsType
|
||||
{
|
||||
/// Size of the dynamic array of ds__TransformType is 0..unbounded
|
||||
int __sizeTransform ;
|
||||
/// Pointer to array of ds__TransformType.
|
||||
ds__TransformType *Transform 1;
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":DigestMethodType is a complexType.
|
||||
struct ds__DigestMethodType
|
||||
{
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Attribute Algorithm of type xs:anyURI.
|
||||
@char* /*URI*/ Algorithm 1; ///< Required attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":KeyValueType is a complexType.
|
||||
struct ds__KeyValueType
|
||||
{
|
||||
/// CHOICE OF ELEMENTS <choice>
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue.
|
||||
struct ds__DSAKeyValueType* DSAKeyValue 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue.
|
||||
struct ds__RSAKeyValueType* RSAKeyValue 1; ///< Required element.
|
||||
/// TODO: <any namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
|
||||
// END OF CHOICE
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType is a complexType.
|
||||
struct ds__RetrievalMethodType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
|
||||
struct ds__TransformsType* Transforms 0; ///< Optional element.
|
||||
/// Attribute URI of type xs:anyURI.
|
||||
@char* /*URI*/ URI 0; ///< Optional attribute.
|
||||
/// Attribute Type of type xs:anyURI.
|
||||
@char* /*URI*/ Type 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":X509DataType is a complexType.
|
||||
struct ds__X509DataType
|
||||
{
|
||||
/// CHOICE OF ELEMENTS <choice>
|
||||
/// Element X509IssuerSerial of type "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType.
|
||||
struct ds__X509IssuerSerialType* X509IssuerSerial 1; ///< Required element.
|
||||
/// Element X509SKI of type xs:base64Binary.
|
||||
char* /*base64*/ X509SKI 1; ///< Required element.
|
||||
/// Element X509SubjectName of type xs:string.
|
||||
char* X509SubjectName 1; ///< Required element.
|
||||
/// Element X509Certificate of type xs:base64Binary.
|
||||
char* /*base64*/ X509Certificate 1; ///< Required element.
|
||||
/// Element X509CRL of type xs:base64Binary.
|
||||
char* /*base64*/ X509CRL 1; ///< Required element.
|
||||
/// TODO: <any namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
|
||||
// END OF CHOICE
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType is a complexType.
|
||||
struct ds__X509IssuerSerialType
|
||||
{
|
||||
/// Element X509IssuerName of type xs:string.
|
||||
char* X509IssuerName 1; ///< Required element.
|
||||
/// Element X509SerialNumber of type xs:integer.
|
||||
int X509SerialNumber 1; ///< Required element.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType is a complexType.
|
||||
struct ds__DSAKeyValueType
|
||||
{
|
||||
/// Element G of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ G 0; ///< Optional element.
|
||||
/// Element Y of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Y 1; ///< Required element.
|
||||
/// Element J of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ J 0; ///< Optional element.
|
||||
/// Element P of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ P 1; ///< Required element.
|
||||
/// Element Q of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Q 1; ///< Required element.
|
||||
/// Element Seed of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Seed 1; ///< Required element.
|
||||
/// Element PgenCounter of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ PgenCounter 1; ///< Required element.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType is a complexType.
|
||||
struct ds__RSAKeyValueType
|
||||
{
|
||||
/// Element Modulus of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Modulus 1; ///< Required element.
|
||||
/// Element Exponent of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
|
||||
char* /*base64*/ Exponent 1; ///< Required element.
|
||||
};
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Signature of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureValue of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignedInfo of complexType "http://www.w3.org/2000/09/xmldsig#":SignedInfoType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod of complexType "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureMethod of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Reference of complexType "http://www.w3.org/2000/09/xmldsig#":ReferenceType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Transforms of complexType "http://www.w3.org/2000/09/xmldsig#":TransformsType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Transform of complexType "http://www.w3.org/2000/09/xmldsig#":TransformType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestMethod of complexType "http://www.w3.org/2000/09/xmldsig#":DigestMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestValue of complexType "http://www.w3.org/2000/09/xmldsig#":DigestValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyInfo of complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyName of complexType xs:string.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":MgmtData of complexType xs:string.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":KeyValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":RetrievalMethod of complexType "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":X509Data of complexType "http://www.w3.org/2000/09/xmldsig#":X509DataType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":PGPData of complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SPKIData of complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Object of complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":Manifest of complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperties of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperty of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/// Element "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType.
|
||||
/// Note: use wsdl2h option -g to generate this global element declaration.
|
||||
|
||||
/* End of ds.h */
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
|
||||
soap12.h
|
||||
|
||||
Use #import "soap12.h" in a gSOAP header file to enable SOAP 1.2 bindings.
|
||||
Alternatively, use soapcpp2 option -2
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap SOAP-ENV schema namespace: http://www.w3.org/2003/05/soap-envelope
|
||||
//gsoap SOAP-ENC schema namespace: http://www.w3.org/2003/05/soap-encoding
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
|
||||
stl.h
|
||||
|
||||
Use #import "stl.h" in a gSOAP header file to enable STL vectors, deques, lists,
|
||||
and sets.
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#import "stldeque.h"
|
||||
#import "stllist.h"
|
||||
#import "stlvector.h"
|
||||
#import "stlset.h"
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
|
||||
stldeque.h
|
||||
|
||||
Use #import "stldeque.h" in a gSOAP header file to enable STL deques.
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <deque>
|
||||
template <class T> class std::deque;
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
|
||||
stllist.h
|
||||
|
||||
Use #import "stllist.h" in a gSOAP header file to enable STL lists.
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <list>
|
||||
template <class T> class std::list;
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
|
||||
stlset.h
|
||||
|
||||
Use #import "stlset.h" in a gSOAP header file to enable STL sets.
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <set>
|
||||
template <class T> class std::set;
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
|
||||
stlvector.h
|
||||
|
||||
Use #import "stlvector.h" in a gSOAP header file to enable STL vectors.
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <vector>
|
||||
template <class T> class std::vector;
|
||||
@@ -0,0 +1,255 @@
|
||||
/*
|
||||
|
||||
wsa.h
|
||||
|
||||
Usage: See plugin/wsaapi.c
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cgye -o wsa.h -t WS/WS-typemap.dat WS/WS-Addressing.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added the following directive to import WS-Addressing namespace:
|
||||
//gsoap wsa schema import: http://schemas.xmlsoap.org/ws/2004/08/addressing
|
||||
This ensures that the WS-Addressing schemas are not copied into the generated
|
||||
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
|
||||
|
||||
Usage:
|
||||
|
||||
// header file for soapcpp2
|
||||
#import "wsa.h"
|
||||
struct SOAP_ENV__Header
|
||||
{
|
||||
_wsa__MessageID wsa__MessageID 0;
|
||||
_wsa__RelatesTo *wsa__RelatesTo 0;
|
||||
_wsa__From *wsa__From 0;
|
||||
mustUnderstand _wsa__ReplyTo *wsa__ReplyTo 0;
|
||||
mustUnderstand _wsa__FaultTo *wsa__FaultTo 0;
|
||||
mustUnderstand _wsa__To wsa__To 0;
|
||||
mustUnderstand _wsa__Action wsa__Action 0;
|
||||
};
|
||||
|
||||
// client-side source code
|
||||
{ struct soap soap;
|
||||
struct SOAP_ENV__Header header;
|
||||
_wsa__ReplyTo replyTo;
|
||||
soap_init(&soap);
|
||||
soap_default_SOAP_ENV__Header(&soap, &header);
|
||||
soap.header = &header;
|
||||
soap_default_wsa__EndpointReferenceType(&soap, &replyTo);
|
||||
replyTo.Address = "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anony
|
||||
mous";
|
||||
header.wsa__MessageID = "...";
|
||||
header.wsa__To = "...";
|
||||
header.wsa__Action = "...";
|
||||
header.wsa__ReplyTo = &replyTo;
|
||||
if (soap_call_ns__method(&soap, ...) != SOAP_OK)
|
||||
|
||||
// server-side source code
|
||||
int soap_ns__method(struct soap *soap, ...)
|
||||
{ if (!soap->header)
|
||||
return soap_sender_fault(soap, "No SOAP header, must send one", NULL);
|
||||
if (!soap->header->wsa__MessageID)
|
||||
return soap_sender_fault(soap, "No WS-Addressing MessageID", NULL);
|
||||
soap->header->wsa__RelatesTo = (struct wsa__Relationship*)soap_malloc(soap, sizeof(struct wsa__Relationship));
|
||||
soap_default_wsa__Relationship(soap, soap->header->wsa__RelatesTo);
|
||||
soap->header->wsa__RelatesTo->__item = soap->header->wsa__MessageID;
|
||||
if (!soap->header->wsa__ReplyTo || !soap->header->wsa__ReplyTo->Address)
|
||||
return soap_sender_fault(soap, "No WS-Addressing ReplyTo address", NULL);
|
||||
soap->header->wsa__To = soap->header->wsa__ReplyTo->Address;
|
||||
soap->header->wsa__MessageID = "...";
|
||||
soap->header->wsa__Action = "...";
|
||||
...
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://schemas.xmlsoap.org/ws/2004/08/addressing *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsa schema import: http://schemas.xmlsoap.org/ws/2004/08/addressing
|
||||
//gsoap wsa schema elementForm: qualified
|
||||
//gsoap wsa schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Typedef synonym for struct wsa__EndpointReferenceType.
|
||||
typedef struct wsa__EndpointReferenceType wsa__EndpointReferenceType;
|
||||
|
||||
/// Typedef synonym for struct wsa__ReferencePropertiesType.
|
||||
typedef struct wsa__ReferencePropertiesType wsa__ReferencePropertiesType;
|
||||
|
||||
/// Typedef synonym for struct wsa__ReferenceParametersType.
|
||||
typedef struct wsa__ReferenceParametersType wsa__ReferenceParametersType;
|
||||
|
||||
/// Typedef synonym for struct wsa__ServiceNameType.
|
||||
typedef struct wsa__ServiceNameType wsa__ServiceNameType;
|
||||
|
||||
/// Typedef synonym for struct wsa__Relationship.
|
||||
typedef struct wsa__Relationship wsa__Relationship;
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyAfterType from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedQName from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
|
||||
enum wsa__RelationshipTypeValues
|
||||
{
|
||||
wsa__Reply, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":Reply"
|
||||
};
|
||||
/// Typedef synonym for enum wsa__RelationshipTypeValues.
|
||||
typedef enum wsa__RelationshipTypeValues wsa__RelationshipTypeValues;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":FaultSubcodeValues is a simpleType restriction of xs:QName.
|
||||
enum wsa__FaultSubcodeValues
|
||||
{
|
||||
wsa__InvalidMessageInformationHeader, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":InvalidMessageInformationHeader"
|
||||
wsa__MessageInformationHeaderRequired, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":MessageInformationHeaderRequired"
|
||||
wsa__DestinationUnreachable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":DestinationUnreachable"
|
||||
wsa__ActionNotSupported, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":ActionNotSupported"
|
||||
wsa__EndpointUnavailable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointUnavailable"
|
||||
};
|
||||
/// Typedef synonym for enum wsa__FaultSubcodeValues.
|
||||
typedef enum wsa__FaultSubcodeValues wsa__FaultSubcodeValues;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType is a complexType.
|
||||
struct wsa__EndpointReferenceType
|
||||
{
|
||||
/// Element Address of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
|
||||
char* Address 1; ///< Required element.
|
||||
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferencePropertiesType.
|
||||
struct wsa__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
|
||||
/// Element ReferenceParameters of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferenceParametersType.
|
||||
struct wsa__ReferenceParametersType* ReferenceParameters 0; ///< Optional element.
|
||||
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedQName.
|
||||
_QName* PortType 0; ///< Optional element.
|
||||
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ServiceNameType.
|
||||
struct wsa__ServiceNameType* ServiceName 0; ///< Optional element.
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferencePropertiesType is a complexType.
|
||||
struct wsa__ReferencePropertiesType
|
||||
{
|
||||
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferenceParametersType is a complexType.
|
||||
struct wsa__ReferenceParametersType
|
||||
{
|
||||
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":ServiceNameType is a complexType with simpleContent.
|
||||
struct wsa__ServiceNameType
|
||||
{
|
||||
/// __item wraps 'xs:QName' simpleContent.
|
||||
_QName __item ;
|
||||
/// Attribute PortName of type xs:NCName.
|
||||
@char* /*NCName*/ PortName 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":Relationship is a complexType with simpleContent.
|
||||
struct wsa__Relationship
|
||||
{
|
||||
/// __item wraps 'xs:anyURI' simpleContent.
|
||||
char* /*URI*/ __item ;
|
||||
/// Attribute RelationshipType of type xs:QName.
|
||||
@_QName RelationshipType 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa__EndpointReferenceType _wsa__EndpointReference;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
|
||||
typedef char* _wsa__MessageID;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":Relationship.
|
||||
typedef struct wsa__Relationship _wsa__RelatesTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":To of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
|
||||
typedef char* _wsa__To;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":Action of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
|
||||
typedef char* _wsa__Action;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":From of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa__EndpointReferenceType _wsa__From;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa__EndpointReferenceType _wsa__ReplyTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa__EndpointReferenceType _wsa__FaultTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyAfter of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyAfterType.
|
||||
typedef unsigned int _wsa__ReplyAfter;
|
||||
|
||||
/// Attribute "http://schemas.xmlsoap.org/ws/2004/08/addressing":Action of simpleType xs:anyURI.
|
||||
// '_wsa__Action' attribute definition intentionally left blank.
|
||||
|
||||
/* End of wsa.h */
|
||||
@@ -0,0 +1,176 @@
|
||||
/*
|
||||
|
||||
wsa3.h
|
||||
|
||||
Usage: See plugin/wsaapi.c
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cgye -o wsa3.h -t WS/WS-typemap.dat WS/WS-Addressing03.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added the following directive to import WS-Addressing namespace:
|
||||
//gsoap wsa4 schema import: http://schemas.xmlsoap.org/ws/2003/03/addressing
|
||||
This ensures that the WS-Addressing schemas are not copied into the generated
|
||||
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
|
||||
- Added #define SOAP_WSA_2003
|
||||
|
||||
*/
|
||||
|
||||
#define SOAP_WSA_2003
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://schemas.xmlsoap.org/ws/2003/03/addressing *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsa3 schema import: http://schemas.xmlsoap.org/ws/2003/03/addressing
|
||||
//gsoap wsa3 schema elementForm: qualified
|
||||
//gsoap wsa3 schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Typedef synonym for struct wsa3__EndpointReferenceType.
|
||||
typedef struct wsa3__EndpointReferenceType wsa3__EndpointReferenceType;
|
||||
|
||||
/// Typedef synonym for struct wsa3__ReferencePropertiesType.
|
||||
typedef struct wsa3__ReferencePropertiesType wsa3__ReferencePropertiesType;
|
||||
|
||||
/// Typedef synonym for struct wsa3__ServiceNameType.
|
||||
typedef struct wsa3__ServiceNameType wsa3__ServiceNameType;
|
||||
|
||||
/// Typedef synonym for struct wsa3__Relationship.
|
||||
typedef struct wsa3__Relationship wsa3__Relationship;
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedQName from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
|
||||
enum wsa3__RelationshipTypeValues
|
||||
{
|
||||
wsa3__Response, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2003/03/addressing":Response"
|
||||
};
|
||||
/// Typedef synonym for enum wsa3__RelationshipTypeValues.
|
||||
typedef enum wsa3__RelationshipTypeValues wsa3__RelationshipTypeValues;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType is a complexType.
|
||||
struct wsa3__EndpointReferenceType
|
||||
{
|
||||
/// Element Address of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
|
||||
char* /*URI*/ Address 1; ///< Required element.
|
||||
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":ReferencePropertiesType.
|
||||
struct wsa3__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
|
||||
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedQName.
|
||||
_QName* PortType 0; ///< Optional element.
|
||||
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":ServiceNameType.
|
||||
struct wsa3__ServiceNameType* ServiceName 0; ///< Optional element.
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":ReferencePropertiesType is a complexType.
|
||||
struct wsa3__ReferencePropertiesType
|
||||
{
|
||||
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":ServiceNameType is a complexType with simpleContent.
|
||||
struct wsa3__ServiceNameType
|
||||
{
|
||||
/// __item wraps 'xs:QName' simpleContent.
|
||||
_QName __item ;
|
||||
/// Attribute PortName of type xs:NCName.
|
||||
@char* /*NCName*/ PortName 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":Relationship is a complexType with simpleContent.
|
||||
struct wsa3__Relationship
|
||||
{
|
||||
/// __item wraps 'xs:anyURI' simpleContent.
|
||||
char* /*URI*/ __item ;
|
||||
/// Attribute RelationshipType of type xs:QName.
|
||||
@_QName RelationshipType 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa3__EndpointReferenceType _wsa3__EndpointReference;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
|
||||
typedef char* /*URI*/ _wsa3__MessageID;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":Relationship.
|
||||
typedef struct wsa3__Relationship _wsa3__RelatesTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":To of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
|
||||
typedef char* /*URI*/ _wsa3__To;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":Action of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
|
||||
typedef char* /*URI*/ _wsa3__Action;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":From of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa3__EndpointReferenceType _wsa3__From;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa3__EndpointReferenceType _wsa3__ReplyTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa3__EndpointReferenceType _wsa3__FaultTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":Recipient of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa3__EndpointReferenceType _wsa3__Recipient;
|
||||
|
||||
/* End of wsa3.h */
|
||||
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
|
||||
wsa4.h
|
||||
|
||||
Usage: See plugin/wsaapi.c
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cgye -o wsa4.h -t WS/WS-typemap.dat WS/WS-Addressing04.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added the following directive to import WS-Addressing namespace:
|
||||
//gsoap wsa4 schema import: http://schemas.xmlsoap.org/ws/2004/03/addressing
|
||||
This ensures that the WS-Addressing schemas are not copied into the generated
|
||||
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
|
||||
- Added #define SOAP_WSA_2004
|
||||
|
||||
*/
|
||||
|
||||
#define SOAP_WSA_2004
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://schemas.xmlsoap.org/ws/2004/03/addressing *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsa4 import namespace: http://schemas.xmlsoap.org/ws/2004/03/addressing
|
||||
//gsoap wsa4 schema elementForm: qualified
|
||||
//gsoap wsa4 schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Typedef synonym for struct wsa4__EndpointReferenceType.
|
||||
typedef struct wsa4__EndpointReferenceType wsa4__EndpointReferenceType;
|
||||
|
||||
/// Typedef synonym for struct wsa4__ReferencePropertiesType.
|
||||
typedef struct wsa4__ReferencePropertiesType wsa4__ReferencePropertiesType;
|
||||
|
||||
/// Typedef synonym for struct wsa4__ServiceNameType.
|
||||
typedef struct wsa4__ServiceNameType wsa4__ServiceNameType;
|
||||
|
||||
/// Typedef synonym for struct wsa4__Relationship.
|
||||
typedef struct wsa4__Relationship wsa4__Relationship;
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyAfterType from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedQName from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyAfter.
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
|
||||
enum wsa4__RelationshipTypeValues
|
||||
{
|
||||
wsa4__Reply, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":Reply"
|
||||
};
|
||||
/// Typedef synonym for enum wsa4__RelationshipTypeValues.
|
||||
typedef enum wsa4__RelationshipTypeValues wsa4__RelationshipTypeValues;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":FaultSubcodeValues is a simpleType restriction of xs:QName.
|
||||
enum wsa4__FaultSubcodeValues
|
||||
{
|
||||
wsa4__InvalidMessageInformationHeader, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":InvalidMessageInformationHeader"
|
||||
wsa4__MessageInformationHeaderRequired, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":MessageInformationHeaderRequired"
|
||||
wsa4__DestinationUnreachable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":DestinationUnreachable"
|
||||
wsa4__ActionNotSupported, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":ActionNotSupported"
|
||||
wsa4__EndpointUnavailable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointUnavailable"
|
||||
};
|
||||
/// Typedef synonym for enum wsa4__FaultSubcodeValues.
|
||||
typedef enum wsa4__FaultSubcodeValues wsa4__FaultSubcodeValues;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType is a complexType.
|
||||
struct wsa4__EndpointReferenceType
|
||||
{
|
||||
/// Element Address of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
|
||||
char* /*URI*/ Address 1; ///< Required element.
|
||||
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReferencePropertiesType.
|
||||
struct wsa4__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
|
||||
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedQName.
|
||||
_QName* PortType 0; ///< Optional element.
|
||||
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":ServiceNameType.
|
||||
struct wsa4__ServiceNameType* ServiceName 0; ///< Optional element.
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReferencePropertiesType is a complexType.
|
||||
struct wsa4__ReferencePropertiesType
|
||||
{
|
||||
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":ServiceNameType is a complexType with simpleContent.
|
||||
struct wsa4__ServiceNameType
|
||||
{
|
||||
/// __item wraps 'xs:QName' simpleContent.
|
||||
_QName __item ;
|
||||
/// Attribute PortName of type xs:NCName.
|
||||
@char* /*NCName*/ PortName 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":Relationship is a complexType with simpleContent.
|
||||
struct wsa4__Relationship
|
||||
{
|
||||
/// __item wraps 'xs:anyURI' simpleContent.
|
||||
char* /*URI*/ __item ;
|
||||
/// Attribute RelationshipType of type xs:QName.
|
||||
@_QName RelationshipType 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa4__EndpointReferenceType _wsa4__EndpointReference;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
|
||||
typedef char* /*URI*/ _wsa4__MessageID;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":Relationship.
|
||||
typedef struct wsa4__Relationship _wsa4__RelatesTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":To of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
|
||||
typedef char* /*URI*/ _wsa4__To;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":Action of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
|
||||
typedef char* /*URI*/ _wsa4__Action;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":From of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa4__EndpointReferenceType _wsa4__From;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa4__EndpointReferenceType _wsa4__ReplyTo;
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
|
||||
typedef struct wsa4__EndpointReferenceType _wsa4__FaultTo;
|
||||
|
||||
/// Attribute "http://schemas.xmlsoap.org/ws/2004/03/addressing":Action of simpleType xs:anyURI.
|
||||
// '_wsa4__Action' attribute definition intentionally left blank.
|
||||
|
||||
/* End of wsa4.h */
|
||||
@@ -0,0 +1,249 @@
|
||||
/*
|
||||
|
||||
wsa5.h
|
||||
|
||||
Usage: See plugin/wsaapi.c
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cgye -o wsa5.h -t WS/WS-typemap.dat WS/WS-Addressing05.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Removed xsd__boolean declaration
|
||||
- Added the following directive to import WS-Addressing namespace:
|
||||
//gsoap wsa5 schema import: http://www.w3.org/2005/08/addressing
|
||||
This ensures that the WS-Addressing schemas are not copied into the generated
|
||||
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
|
||||
- Added #define SOAP_WSA_2005
|
||||
|
||||
*/
|
||||
|
||||
#define SOAP_WSA_2005
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://www.w3.org/2005/08/addressing *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsa5 schema import: http://www.w3.org/2005/08/addressing
|
||||
//gsoap wsa5 schema elementForm: qualified
|
||||
//gsoap wsa5 schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/// Built-in type "xs:boolean".
|
||||
// enum xsd__boolean_ { _false, _true };
|
||||
|
||||
|
||||
/// Typedef synonym for struct wsa5__EndpointReferenceType.
|
||||
typedef struct wsa5__EndpointReferenceType wsa5__EndpointReferenceType;
|
||||
|
||||
/// Typedef synonym for struct wsa5__ReferenceParametersType.
|
||||
typedef struct wsa5__ReferenceParametersType wsa5__ReferenceParametersType;
|
||||
|
||||
/// Typedef synonym for struct wsa5__MetadataType.
|
||||
typedef struct wsa5__MetadataType wsa5__MetadataType;
|
||||
|
||||
/// Typedef synonym for struct wsa5__RelatesToType.
|
||||
typedef struct wsa5__RelatesToType wsa5__RelatesToType;
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2005/08/addressing":AttributedURIType from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2005/08/addressing":AttributedUnsignedLongType from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://www.w3.org/2005/08/addressing":AttributedQNameType from typemap WS/WS-typemap.dat.
|
||||
// complexType definition intentionally left blank.
|
||||
|
||||
/// Typedef synonym for struct wsa5__ProblemActionType.
|
||||
typedef struct wsa5__ProblemActionType wsa5__ProblemActionType;
|
||||
|
||||
/// union of values "tns:RelationshipType xs:anyURI"
|
||||
typedef char* wsa5__RelationshipTypeOpenEnum;
|
||||
|
||||
/// union of values "tns:FaultCodesType xs:QName"
|
||||
typedef char* wsa5__FaultCodesOpenEnumType;
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":RelationshipType is a simpleType restriction of xs:anyURI.
|
||||
enum wsa5__RelationshipType
|
||||
{
|
||||
http_x003a_x002f_x002fwww_x002ew3_x002eorg_x002f2005_x002f08_x002faddressing_x002freply, ///< xs:anyURI value="http://www.w3.org/2005/08/addressing/reply"
|
||||
};
|
||||
/// Typedef synonym for enum wsa5__RelationshipType.
|
||||
typedef enum wsa5__RelationshipType wsa5__RelationshipType;
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":FaultCodesType is a simpleType restriction of xs:QName.
|
||||
enum wsa5__FaultCodesType
|
||||
{
|
||||
wsa5__InvalidAddressingHeader, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidAddressingHeader"
|
||||
wsa5__InvalidAddress, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidAddress"
|
||||
wsa5__InvalidEPR, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidEPR"
|
||||
wsa5__InvalidCardinality, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidCardinality"
|
||||
wsa5__MissingAddressInEPR, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":MissingAddressInEPR"
|
||||
wsa5__DuplicateMessageID, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":DuplicateMessageID"
|
||||
wsa5__ActionMismatch, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":ActionMismatch"
|
||||
wsa5__MessageAddressingHeaderRequired, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":MessageAddressingHeaderRequired"
|
||||
wsa5__DestinationUnreachable, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":DestinationUnreachable"
|
||||
wsa5__ActionNotSupported, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":ActionNotSupported"
|
||||
wsa5__EndpointUnavailable, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":EndpointUnavailable"
|
||||
};
|
||||
/// Typedef synonym for enum wsa5__FaultCodesType.
|
||||
typedef enum wsa5__FaultCodesType wsa5__FaultCodesType;
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":EndpointReferenceType is a complexType.
|
||||
struct wsa5__EndpointReferenceType
|
||||
{
|
||||
/// Element Address of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
|
||||
char* /*URI*/ Address 1; ///< Required element.
|
||||
/// Element reference "http://www.w3.org/2005/08/addressing":ReferenceParameters.
|
||||
struct wsa5__ReferenceParametersType* ReferenceParameters 0; ///< Optional element.
|
||||
/// Element reference "http://www.w3.org/2005/08/addressing":Metadata.
|
||||
struct wsa5__MetadataType* Metadata 0; ///< Optional element.
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":ReferenceParametersType is a complexType.
|
||||
struct wsa5__ReferenceParametersType
|
||||
{
|
||||
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":MetadataType is a complexType.
|
||||
struct wsa5__MetadataType
|
||||
{
|
||||
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// Use wsdl2h option -d to use xsd__anyType DOM.
|
||||
/// Size of the dynamic array of XML is 0..unbounded
|
||||
int __size ;
|
||||
_XML *__any ; ///< Catch any element content in XML string.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":ProblemActionType is a complexType.
|
||||
struct wsa5__ProblemActionType
|
||||
{
|
||||
/// Element reference "http://www.w3.org/2005/08/addressing":Action.
|
||||
char* /*URI*/ Action 0; ///< Optional element.
|
||||
/// Element SoapAction of type xs:anyURI.
|
||||
char* /*URI*/ SoapAction 0; ///< Optional element.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// "http://www.w3.org/2005/08/addressing":RelatesToType is a complexType with simpleContent.
|
||||
struct wsa5__RelatesToType
|
||||
{
|
||||
/// __item wraps 'xs:anyURI' simpleContent.
|
||||
char* /*URI*/ __item ;
|
||||
/// Attribute RelationshipType of type "http://www.w3.org/2005/08/addressing":RelationshipTypeOpenEnum.
|
||||
@wsa5__RelationshipTypeOpenEnum RelationshipType 0; ///< Optional attribute.
|
||||
/// TODO: <anyAttribute namespace="##other">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":EndpointReference of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa5__EndpointReferenceType _wsa5__EndpointReference;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":ReferenceParameters of type "http://www.w3.org/2005/08/addressing":ReferenceParametersType.
|
||||
typedef struct wsa5__ReferenceParametersType _wsa5__ReferenceParameters;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":Metadata of type "http://www.w3.org/2005/08/addressing":MetadataType.
|
||||
typedef struct wsa5__MetadataType _wsa5__Metadata;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":MessageID of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
|
||||
typedef char* /*URI*/ _wsa5__MessageID;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":RelatesTo of type "http://www.w3.org/2005/08/addressing":RelatesToType.
|
||||
typedef struct wsa5__RelatesToType _wsa5__RelatesTo;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":ReplyTo of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa5__EndpointReferenceType _wsa5__ReplyTo;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":From of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa5__EndpointReferenceType _wsa5__From;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":FaultTo of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
|
||||
typedef struct wsa5__EndpointReferenceType _wsa5__FaultTo;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":To of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
|
||||
typedef char* /*URI*/ _wsa5__To;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":Action of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
|
||||
typedef char* /*URI*/ _wsa5__Action;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":RetryAfter of type "http://www.w3.org/2005/08/addressing":AttributedUnsignedLongType.
|
||||
typedef ULONG64 _wsa5__RetryAfter;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":ProblemHeaderQName of type "http://www.w3.org/2005/08/addressing":AttributedQNameType.
|
||||
typedef _QName _wsa5__ProblemHeaderQName;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":ProblemIRI of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
|
||||
typedef char* /*URI*/ _wsa5__ProblemIRI;
|
||||
|
||||
/// Element "http://www.w3.org/2005/08/addressing":ProblemAction of type "http://www.w3.org/2005/08/addressing":ProblemActionType.
|
||||
typedef struct wsa5__ProblemActionType _wsa5__ProblemAction;
|
||||
|
||||
/// Attribute "http://www.w3.org/2005/08/addressing":IsReferenceParameter of simpleType xs:boolean.
|
||||
/// Imported attribute _wsa5__IsReferenceParameter from typemap WS/WS-typemap.dat.
|
||||
typedef enum _wsa5__IsReferenceParameter { wsa5__false, wsa5__true } _wsa5__IsReferenceParameter;
|
||||
|
||||
/* End of wsa5.h */
|
||||
@@ -0,0 +1,182 @@
|
||||
/*
|
||||
|
||||
wsp.h
|
||||
|
||||
Generated with:
|
||||
wsdl2h -c -x -o wsp.h -t WS/WS-typemap.dat WS/WS-Policy.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Removed #import "wsu.h" since only wsu__Id is needed
|
||||
- Removed wsu__Id, since this type is defined in wsse.h
|
||||
- Removed enum xsd__boolean_
|
||||
- Added //gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
|
||||
- Added //gsoap wsp schema import: http://schemas.xmlsoap.org/ws/2004/09/policy
|
||||
- Added #import "wsse.h"
|
||||
- Modified wsp__union_1/_2/_3 to include wsse elements
|
||||
- Added wsse elements to wsp__union_1 and _2
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://schemas.xmlsoap.org/ws/2004/09/policy *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
#import "wsse.h"
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
|
||||
|
||||
//gsoap wsp schema import: http://schemas.xmlsoap.org/ws/2004/09/policy
|
||||
//gsoap wsp schema elementForm: qualified
|
||||
//gsoap wsp schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/// Built-in type "xs:base64Binary"
|
||||
struct xsd__base64Binary_ { unsigned char *__ptr; int __size; };
|
||||
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyURIs is a simpleType containing a whitespace separated list of xs:anyURI.
|
||||
typedef char* _wsp__PolicyURIs;
|
||||
|
||||
/// Modified wsp__union_1 to add wsse elements
|
||||
union wsp__union_1
|
||||
{
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":Policy
|
||||
struct _wsp__Policy* Policy 1; ///< Required element
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":All
|
||||
struct wsp__OperatorContentType* All 1; ///< Required element
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":ExactlyOne
|
||||
struct wsp__OperatorContentType* ExactlyOne 1; ///< Required element
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyReference
|
||||
struct _wsp__PolicyReference* PolicyReference 1; ///< Required element
|
||||
|
||||
/// Added wsse:Confidentiality element
|
||||
struct wsse__Confidentiality* wsse__Confidentiality 1;
|
||||
/// Added wsse:SecurityHeader element
|
||||
struct wsse__SecurityHeader* wsse__SecurityHeader 1;
|
||||
/// Added wsse:SecurityToken element
|
||||
struct wsse__SecurityToken* wsse__SecurityToken 1;
|
||||
};
|
||||
|
||||
/// Modified __wsp__union_1 by removing duplicate __wsp__union_3
|
||||
struct __wsp__union_1
|
||||
{
|
||||
int __union_1 0; ///< Union wsp__union_1 selector: set to SOAP_UNION_wsp__union_1_<fieldname> or 0
|
||||
union wsp__union_1 *union_1 ;
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":OperatorContentType is a complexType.
|
||||
struct wsp__OperatorContentType
|
||||
{
|
||||
int __sizeunion_1 0;
|
||||
struct __wsp__union_1 *__union_1 ;
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyReference is a complexType.
|
||||
struct _wsp__PolicyReference
|
||||
{
|
||||
/// Attribute URI of type xs:anyURI
|
||||
@char* URI 0; ///< Optional attribute
|
||||
/// Attribute Digest of type xs:base64Binary
|
||||
@struct xsd__base64Binary_* Digest 0; ///< Optional attribute
|
||||
/// Attribute DigestAlgorithm of type xs:anyURI
|
||||
@char* DigestAlgorithm 0; ///< Optional attribute
|
||||
/// TODO: <anyAttribute namespace="##any">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":UsingPolicy is a complexType.
|
||||
struct _wsp__UsingPolicy
|
||||
{
|
||||
/// TODO: <anyAttribute namespace="##any">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
};
|
||||
|
||||
/// Modified wsp__union_2
|
||||
union wsp__union_2
|
||||
{
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":Policy
|
||||
struct _wsp__Policy* Policy 1; ///< Required element
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyReference
|
||||
struct _wsp__PolicyReference* PolicyReference 1; ///< Required element
|
||||
};
|
||||
|
||||
// Modified __wsp__union_2
|
||||
struct __wsp__union_2
|
||||
{
|
||||
int __union_2 ; ///< Union wsp__union_2 selector: set to SOAP_UNION_wsp__union_2_<fieldname>
|
||||
union wsp__union_2 union_2 ;
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyAttachment is a complexType.
|
||||
struct _wsp__PolicyAttachment
|
||||
{
|
||||
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":AppliesTo
|
||||
struct _wsp__AppliesTo* AppliesTo 1; ///< Required element
|
||||
/// CHOICE OF ELEMENTS <choice maxOccurs="unbounded">
|
||||
int __sizeunion_2 ;
|
||||
struct __wsp__union_2 *__union_2 ;
|
||||
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// TODO: <anyAttribute namespace="##any">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":AppliesTo is a complexType.
|
||||
struct _wsp__AppliesTo
|
||||
{
|
||||
/// TODO: <any namespace="##any" maxOccurs="unbounded">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this element.
|
||||
/// TODO: <anyAttribute namespace="##any">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
};
|
||||
|
||||
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":Policy is a complexType with complexContent extension of "http://schemas.xmlsoap.org/ws/2004/09/policy":OperatorContentType.
|
||||
struct _wsp__Policy
|
||||
{
|
||||
int __sizeunion_1 0;
|
||||
struct __wsp__union_1 *__union_1 ;
|
||||
/// Attribute TargetNamespace of type xs:anyURI
|
||||
@char* TargetNamespace 0; ///< Optional attribute
|
||||
/// Attribute reference "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Id
|
||||
@wsu__Id wsu__Id_ 0; ///< Optional attribute
|
||||
/// TODO: <anyAttribute namespace="##any">
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
};
|
||||
|
||||
/* End of wsp.h */
|
||||
@@ -0,0 +1,228 @@
|
||||
/*
|
||||
|
||||
wsrp.h
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cgy -o wsrp.h -t WS/WS-typemap.dat WS/WS-Routing.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added the following directive to import WS-Routing namespace:
|
||||
//gsoap wsa schema import: http://schemas.xmlsoap.org/rp/
|
||||
This ensures that the WS-Routing schemas are not copied into the generated
|
||||
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://schemas.xmlsoap.org/rp/ *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsrp schema import: http://schemas.xmlsoap.org/rp/
|
||||
//gsoap wsrp schema form: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Typedef synonym for struct wsrp__path_USCOREt.
|
||||
typedef struct wsrp__path_USCOREt wsrp__path_USCOREt;
|
||||
|
||||
/// Typedef synonym for struct wsrp__via_USCOREt.
|
||||
typedef struct wsrp__via_USCOREt wsrp__via_USCOREt;
|
||||
|
||||
/// Typedef synonym for struct wsrp__fwd_USCOREt.
|
||||
typedef struct wsrp__fwd_USCOREt wsrp__fwd_USCOREt;
|
||||
|
||||
/// Typedef synonym for struct wsrp__rev_USCOREt.
|
||||
typedef struct wsrp__rev_USCOREt wsrp__rev_USCOREt;
|
||||
|
||||
/// Typedef synonym for struct wsrp__found_USCOREt.
|
||||
typedef struct wsrp__found_USCOREt wsrp__found_USCOREt;
|
||||
|
||||
/// Typedef synonym for struct wsrp__fault_USCOREt.
|
||||
typedef struct wsrp__fault_USCOREt wsrp__fault_USCOREt;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":action_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":action of simpleType "http://schemas.xmlsoap.org/rp/":action_t.
|
||||
typedef char _wsrp__action;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":to_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":to of simpleType "http://schemas.xmlsoap.org/rp/":to_t.
|
||||
typedef char _wsrp__to;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":from_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":from of simpleType "http://schemas.xmlsoap.org/rp/":from_t.
|
||||
typedef char _wsrp__from;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":id_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":id of simpleType "http://schemas.xmlsoap.org/rp/":id_t.
|
||||
typedef char _wsrp__id;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":relatesTo_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":relatesTo of simpleType "http://schemas.xmlsoap.org/rp/":relatesTo_t.
|
||||
typedef char _wsrp__relatesTo;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":faultcode_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":faultcode of simpleType "http://schemas.xmlsoap.org/rp/":faultcode_t.
|
||||
typedef char _wsrp__faultcode;
|
||||
|
||||
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":faultreason_t from typemap WS/WS-typemap.dat.
|
||||
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":faultreason of simpleType "http://schemas.xmlsoap.org/rp/":faultreason_t.
|
||||
typedef char _wsrp__faultreason;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/rp/":path_t is a complexType.
|
||||
struct wsrp__path_USCOREt
|
||||
{
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":action.
|
||||
char* wsrp__action 1; ///< Required element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":to.
|
||||
char* wsrp__to 0; ///< Optional element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":fwd.
|
||||
struct wsrp__fwd_USCOREt* wsrp__fwd 0; ///< Optional element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":rev.
|
||||
struct wsrp__rev_USCOREt* wsrp__rev 0; ///< Optional element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":from.
|
||||
char* wsrp__from 0; ///< Optional element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":id.
|
||||
char* wsrp__id 0; ///< Optional element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":relatesTo.
|
||||
char* wsrp__relatesTo 0; ///< Optional element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":fault.
|
||||
struct wsrp__fault_USCOREt* wsrp__fault 0; ///< Optional element.
|
||||
/// TODO: <anyAttribute>
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":path of complexType "http://schemas.xmlsoap.org/rp/":path_t.
|
||||
typedef struct wsrp__path_USCOREt _wsrp__path;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/rp/":fwd_t is a complexType.
|
||||
struct wsrp__fwd_USCOREt
|
||||
{
|
||||
/// Size of the dynamic array of struct wsrp__via_USCOREt* is 0..unbounded
|
||||
int __sizevia ;
|
||||
/// Pointer to array of struct wsrp__via_USCOREt*.
|
||||
struct wsrp__via_USCOREt* *wsrp__via 0;
|
||||
/// TODO: <anyAttribute>
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":fwd of complexType "http://schemas.xmlsoap.org/rp/":fwd_t.
|
||||
typedef struct wsrp__fwd_USCOREt _wsrp__fwd;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/rp/":rev_t is a complexType.
|
||||
struct wsrp__rev_USCOREt
|
||||
{
|
||||
/// Size of the dynamic array of struct wsrp__via_USCOREt* is 0..unbounded
|
||||
int __sizevia ;
|
||||
/// Pointer to array of struct wsrp__via_USCOREt*.
|
||||
struct wsrp__via_USCOREt* *wsrp__via 0;
|
||||
/// TODO: <anyAttribute>
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":rev of complexType "http://schemas.xmlsoap.org/rp/":rev_t.
|
||||
typedef struct wsrp__rev_USCOREt _wsrp__rev;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/rp/":found_t is a complexType.
|
||||
struct wsrp__found_USCOREt
|
||||
{
|
||||
/// Size of the dynamic array of char* is 0..unbounded
|
||||
int __sizeat ;
|
||||
/// Pointer to array of char*.
|
||||
char* *at 1;
|
||||
/// TODO: <anyAttribute>
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":found of complexType "http://schemas.xmlsoap.org/rp/":found_t.
|
||||
typedef struct wsrp__found_USCOREt _wsrp__found;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/rp/":fault_t is a complexType.
|
||||
struct wsrp__fault_USCOREt
|
||||
{
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":faultcode.
|
||||
char* wsrp__faultcode 1; ///< Required element.
|
||||
/// Element reference "http://schemas.xmlsoap.org/rp/":faultreason.
|
||||
char* wsrp__faultreason 1; ///< Required element.
|
||||
/// Element endpoint of type xs:anyURI.
|
||||
char* endpoint 0; ///< Optional element.
|
||||
/// Element found of type "http://schemas.xmlsoap.org/rp/":found_t.
|
||||
struct wsrp__found_USCOREt* found 0; ///< Optional element.
|
||||
/// Element maxsize of type xs:integer.
|
||||
int* maxsize 0; ///< Optional element.
|
||||
/// Element maxtime of type xs:integer.
|
||||
int* maxtime 0; ///< Optional element.
|
||||
/// Element retryAfter of type xs:integer.
|
||||
int* retryAfter 0; ///< Optional element.
|
||||
/// TODO: <anyAttribute>
|
||||
/// Schema extensibility is user-definable.
|
||||
/// Consult the protocol documentation to change and/or insert declarations.
|
||||
/// Use wsdl2h option -x to remove this attribute.
|
||||
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":fault of complexType "http://schemas.xmlsoap.org/rp/":fault_t.
|
||||
typedef struct wsrp__fault_USCOREt _wsrp__fault;
|
||||
|
||||
/// "http://schemas.xmlsoap.org/rp/":via_t is a complexType with simpleContent.
|
||||
struct wsrp__via_USCOREt
|
||||
{
|
||||
/// __item wraps simpleContent.
|
||||
char* __item ;
|
||||
/// Attribute vid of type xs:anyURI.
|
||||
@char* vid 0; ///< Optional attribute.
|
||||
};
|
||||
|
||||
/// Element "http://schemas.xmlsoap.org/rp/":via of complexType "http://schemas.xmlsoap.org/rp/":via_t.
|
||||
typedef struct wsrp__via_USCOREt _wsrp__via;
|
||||
|
||||
/* End of wsrp.h */
|
||||
@@ -0,0 +1,198 @@
|
||||
/*
|
||||
|
||||
wsse.h
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cegxy -o wsse.h -t WS/WS-typemap.dat WS/wsse.xsd
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added //gsoap wsse schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd*
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsse schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
|
||||
//gsoap wsse schema elementForm: qualified
|
||||
//gsoap wsse schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":AttributedString from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents an element with arbitrary attributes.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is used for password elements per Section 4.1.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is used for elements containing stringified binary data.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents a username token per Section 4.1
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType from typemap WS/WS-typemap.dat.
|
||||
/// @brief A security token that is encoded in binary
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType from typemap WS/WS-typemap.dat.
|
||||
/// @brief A security token key identifier
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents a reference to an external security token.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents a reference to an embedded security token.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is used reference a security token.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage from typemap WS/WS-typemap.dat.
|
||||
/// @brief Typedef to allow a list of usages (as URIs).
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
|
||||
enum wsse__FaultcodeEnum
|
||||
{
|
||||
wsse__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
|
||||
wsse__UnsupportedAlgorithm, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
|
||||
wsse__InvalidSecurity, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
|
||||
wsse__InvalidSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
|
||||
wsse__FailedAuthentication, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
|
||||
wsse__FailedCheck, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
|
||||
wsse__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
|
||||
};
|
||||
/// Typedef synonym for enum wsse__FaultcodeEnum.
|
||||
typedef enum wsse__FaultcodeEnum wsse__FaultcodeEnum;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType.
|
||||
/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
|
||||
/// Imported element _wsse__UsernameToken from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__UsernameToken
|
||||
{ char* Username;
|
||||
struct _wsse__Password* Password;
|
||||
char* Nonce;
|
||||
char* wsu__Created;
|
||||
@char* wsu__Id;
|
||||
} _wsse__UsernameToken;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType.
|
||||
/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
|
||||
/// Imported element _wsse__BinarySecurityToken from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__BinarySecurityToken
|
||||
{ char* __item;
|
||||
@char* wsu__Id;
|
||||
@char* ValueType;
|
||||
@char* EncodingType;
|
||||
} _wsse__BinarySecurityToken;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Reference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType.
|
||||
/// @brief This element defines a security token reference
|
||||
/// Imported element _wsse__Reference from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__Reference
|
||||
{ @char* URI;
|
||||
@char* ValueType;
|
||||
} _wsse__Reference;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Embedded of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType.
|
||||
/// @brief This element defines a security token embedded reference
|
||||
/// Imported element _wsse__Embedded from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__Embedded
|
||||
{ /* Extensible with embedded tokens and assertions */
|
||||
@char* wsu__Id;
|
||||
@char* ValueType;
|
||||
} _wsse__Embedded;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifier of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType.
|
||||
/// @brief This element defines a key identifier reference
|
||||
/// Imported element _wsse__KeyIdentifier from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__KeyIdentifier
|
||||
{ char* __item;
|
||||
@char* wsu__Id;
|
||||
@char* ValueType;
|
||||
@char* EncodingType;
|
||||
} _wsse__KeyIdentifier;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType.
|
||||
/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
|
||||
/// Imported element _wsse__SecurityTokenReference from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__SecurityTokenReference
|
||||
{ struct _wsse__Reference* Reference;
|
||||
struct _wsse__KeyIdentifier* KeyIdentifier;
|
||||
struct _wsse__Embedded* Embedded;
|
||||
@char* wsu__Id;
|
||||
@char* Usage;
|
||||
} _wsse__SecurityTokenReference;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Security of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType.
|
||||
/// @brief This element defines the wsse:Security SOAP header element per Section 4.
|
||||
/// Imported element _wsse__Security from typemap WS/WS-typemap.dat.
|
||||
#import "ds.h"
|
||||
typedef struct _wsse__Security
|
||||
{ struct _wsu__Timestamp* wsu__Timestamp;
|
||||
struct _wsse__UsernameToken* UsernameToken;
|
||||
struct _wsse__BinarySecurityToken* BinarySecurityToken;
|
||||
struct ds__SignatureType* ds__Signature;
|
||||
@char* SOAP_ENV__actor;
|
||||
@char* SOAP_ENV__role;
|
||||
} _wsse__Security;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParameters of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType.
|
||||
/// @brief This element contains properties for transformations from any namespace, including DSIG.
|
||||
/// '_wsse__TransformationParameters' element definition intentionally left blank.
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Password of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString.
|
||||
/// Imported element _wsse__Password from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse__Password
|
||||
{ char* __item;
|
||||
@char* Type;
|
||||
} _wsse__Password;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Nonce of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString.
|
||||
/// '_wsse__Nonce' element definition intentionally left blank.
|
||||
|
||||
/// Attribute "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Usage of simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage.
|
||||
/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
|
||||
/// '_wsse__Usage' attribute definition intentionally left blank.
|
||||
|
||||
/* End of wsse.h */
|
||||
@@ -0,0 +1,200 @@
|
||||
/*
|
||||
|
||||
wsse2.h
|
||||
|
||||
See wsse.h
|
||||
|
||||
- Copied from wsse.h
|
||||
- Removed //gsoapopt
|
||||
- Added //gsoap wsse2 schema import: http://schemas.xmlsoap.org/ws/2002/12/secext
|
||||
- Renamed //gsoap wsse => wsse2
|
||||
- Renamed wsse__ => wsse2__
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://schemas.xmlsoap.org/ws/2002/12/secext *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsse2 schema import: http://schemas.xmlsoap.org/ws/2002/12/secext
|
||||
//gsoap wsse2 schema elementForm: qualified
|
||||
//gsoap wsse2 schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":AttributedString from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents an element with arbitrary attributes.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is used for password elements per Section 4.1.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is used for elements containing stringified binary data.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents a username token per Section 4.1
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType from typemap WS/WS-typemap.dat.
|
||||
/// @brief A security token that is encoded in binary
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType from typemap WS/WS-typemap.dat.
|
||||
/// @brief A security token key identifier
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents a reference to an external security token.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type represents a reference to an embedded security token.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is used reference a security token.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage from typemap WS/WS-typemap.dat.
|
||||
/// @brief Typedef to allow a list of usages (as URIs).
|
||||
/// simpleType definition intentionally left blank.
|
||||
|
||||
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
|
||||
enum wsse2__FaultcodeEnum
|
||||
{
|
||||
wsse2__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
|
||||
wsse2__UnsupportedAlgorithm, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
|
||||
wsse2__InvalidSecurity, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
|
||||
wsse2__InvalidSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
|
||||
wsse2__FailedAuthentication, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
|
||||
wsse2__FailedCheck, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
|
||||
wsse2__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
|
||||
};
|
||||
/// Typedef synonym for enum wsse2__FaultcodeEnum.
|
||||
typedef enum wsse2__FaultcodeEnum wsse2__FaultcodeEnum;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType.
|
||||
/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
|
||||
/// Imported element _wsse2__UsernameToken from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__UsernameToken
|
||||
{ char* Username;
|
||||
struct _wsse2__Password* Password;
|
||||
char* Nonce;
|
||||
char* wsu__Created;
|
||||
@char* wsu__Id;
|
||||
} _wsse2__UsernameToken;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType.
|
||||
/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
|
||||
/// Imported element _wsse2__BinarySecurityToken from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__BinarySecurityToken
|
||||
{ char* __item;
|
||||
@char* wsu__Id;
|
||||
@char* ValueType;
|
||||
@char* EncodingType;
|
||||
} _wsse2__BinarySecurityToken;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Reference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType.
|
||||
/// @brief This element defines a security token reference
|
||||
/// Imported element _wsse2__Reference from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__Reference
|
||||
{ @char* URI;
|
||||
@char* ValueType;
|
||||
} _wsse2__Reference;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Embedded of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType.
|
||||
/// @brief This element defines a security token embedded reference
|
||||
/// Imported element _wsse2__Embedded from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__Embedded
|
||||
{ /* Extensible with embedded tokens and assertions */
|
||||
@char* wsu__Id;
|
||||
@char* ValueType;
|
||||
} _wsse2__Embedded;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifier of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType.
|
||||
/// @brief This element defines a key identifier reference
|
||||
/// Imported element _wsse2__KeyIdentifier from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__KeyIdentifier
|
||||
{ char* __item;
|
||||
@char* wsu__Id;
|
||||
@char* ValueType;
|
||||
@char* EncodingType;
|
||||
} _wsse2__KeyIdentifier;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType.
|
||||
/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
|
||||
/// Imported element _wsse2__SecurityTokenReference from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__SecurityTokenReference
|
||||
{ struct _wsse2__Reference* Reference;
|
||||
struct _wsse2__KeyIdentifier* KeyIdentifier;
|
||||
struct _wsse2__Embedded* Embedded;
|
||||
@char* wsu__Id;
|
||||
@char* Usage;
|
||||
} _wsse2__SecurityTokenReference;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Security of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType.
|
||||
/// @brief This element defines the wsse:Security SOAP header element per Section 4.
|
||||
/// Imported element _wsse2__Security from typemap WS/WS-typemap.dat.
|
||||
#import "ds2.h"
|
||||
typedef struct _wsse2__Security
|
||||
{ struct _wsu__Timestamp* wsu__Timestamp;
|
||||
struct _wsse2__UsernameToken* UsernameToken;
|
||||
struct _wsse2__BinarySecurityToken* BinarySecurityToken;
|
||||
struct ds__SignatureType* ds__Signature;
|
||||
@char* SOAP_ENV__actor;
|
||||
@char* SOAP_ENV__role;
|
||||
} _wsse2__Security;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParameters of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType.
|
||||
/// @brief This element contains properties for transformations from any namespace, including DSIG.
|
||||
/// '_wsse2__TransformationParameters' element definition intentionally left blank.
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Password of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString.
|
||||
/// Imported element _wsse2__Password from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsse2__Password
|
||||
{ char* __item;
|
||||
@char* Type;
|
||||
} _wsse2__Password;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Nonce of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString.
|
||||
/// '_wsse2__Nonce' element definition intentionally left blank.
|
||||
|
||||
/// Attribute "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Usage of simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage.
|
||||
/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
|
||||
/// '_wsse2__Usage' attribute definition intentionally left blank.
|
||||
|
||||
/* End of wsse.h */
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
|
||||
wsu.h
|
||||
|
||||
Generated with:
|
||||
wsdl2h -cegy -o wsu.h -t WS/WS-typemap.dat WS/wsu.xsd
|
||||
|
||||
Modified by Robert van Engelen:
|
||||
|
||||
- Removed //gsoapopt
|
||||
- Added the following directive to import wsu namespace
|
||||
//gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
|
||||
This ensures that the WS-Addressing schemas are not copied into the generated
|
||||
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
|
||||
|
||||
*/
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd*
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Import *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Namespaces *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
//gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
|
||||
//gsoap wsu schema elementForm: qualified
|
||||
//gsoap wsu schema attributeForm: unqualified
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Schema Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedDateTime from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedURI from typemap WS/WS-typemap.dat.
|
||||
/// @brief This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":TimestampType from typemap WS/WS-typemap.dat.
|
||||
/// @brief This complex type ties together the timestamp related elements into a composite type.
|
||||
/// complexType definition intentionally left blank.
|
||||
|
||||
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":tTimestampFault is a simpleType restriction of xs:QName.
|
||||
/// @brief This type defines the fault code value for Timestamp message expiration.
|
||||
/// Note: enum values are prefixed with 'wsu__tTimestampFault' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
||||
enum wsu__tTimestampFault
|
||||
{
|
||||
wsu__MessageExpired, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":MessageExpired"
|
||||
};
|
||||
/// Typedef synonym for enum wsu__tTimestampFault.
|
||||
typedef enum wsu__tTimestampFault wsu__tTimestampFault;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Timestamp of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":TimestampType.
|
||||
/// @brief This element allows Timestamps to be applied anywhere element wildcards are present, including as a SOAP header.
|
||||
/// Imported element _wsu__Timestamp from typemap WS/WS-typemap.dat.
|
||||
typedef struct _wsu__Timestamp
|
||||
{ @char* wsu__Id; // use qualified form to enable signature
|
||||
char* Created;
|
||||
char* Expires;
|
||||
} _wsu__Timestamp;
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Expires of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedDateTime.
|
||||
/// @brief This element allows an expiration time to be applied anywhere element wildcards are present.
|
||||
/// '_wsu__Expires' element definition intentionally left blank.
|
||||
|
||||
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Created of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedDateTime.
|
||||
/// @brief This element allows a creation time to be applied anywhere element wildcards are present.
|
||||
/// '_wsu__Created' element definition intentionally left blank.
|
||||
|
||||
/// Attribute "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Id of simpleType xs:ID.
|
||||
/// @brief This global attribute supports annotating arbitrary elements with an ID.
|
||||
/// '_wsu__Id' attribute definition intentionally left blank.
|
||||
|
||||
/* End of wsu.h */
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
|
||||
xlink.h
|
||||
|
||||
Use #import "xlink.h" in a gSOAP header file to enable xlink 1999 bindings.
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xlink schema import: http://www.w3.org/1999/xlink
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
|
||||
xmime.h
|
||||
|
||||
Use #import "xmime.h" in a gSOAP header file to enable xmlmime 2004/06 bindings.
|
||||
|
||||
The xmime:contentType attribute can be used to associate a MIME type with
|
||||
binary content, as in:
|
||||
|
||||
#import "xmime.h"
|
||||
struct ns__myBinaryData
|
||||
{ unsigned char *__ptr;
|
||||
int __size;
|
||||
@char *xmime__contentType;
|
||||
};
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xmime schema import: http://www.w3.org/2004/06/xmlmime
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
|
||||
xmime4.h
|
||||
|
||||
Use #import "xmlmime.h" in a gSOAP header file to enable xmlmime 2004/11
|
||||
bindings.
|
||||
|
||||
The xmime4:contentType attribute can be used to associate a MIME type with
|
||||
binary content, as in:
|
||||
|
||||
#import "xmime4.h"
|
||||
struct ns__myBinaryData
|
||||
{ unsigned char *__ptr;
|
||||
int __size;
|
||||
@char *xmime4__contentType;
|
||||
};
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xmime4 schema import: http://www.w3.org/2004/11/xmlmime
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
|
||||
xmime5.h
|
||||
|
||||
Use #import "xmime5.h" in a gSOAP header file to enable xmlmime 2005/05
|
||||
bindings.
|
||||
|
||||
The xmime5:contentType attribute can be used to associate a MIME type with
|
||||
binary content, as in:
|
||||
|
||||
#import "xmime5.h"
|
||||
struct ns__myBinaryData
|
||||
{ unsigned char *__ptr;
|
||||
int __size;
|
||||
@char *xmime5__contentType;
|
||||
};
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xmime5 schema import: http://www.w3.org/2005/05/xmlmime
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
|
||||
xml.h
|
||||
|
||||
Literal XML strings.
|
||||
|
||||
A literal XML string contains XML content. This declaration provides a simple
|
||||
interface to the literal XML string handler. The XML string contains UTF8
|
||||
content when the SOAP_C_UTFSTRING flag is set.
|
||||
|
||||
Note: the built-in _XML type provides the same functionality.
|
||||
|
||||
Example:
|
||||
#import "xml.h"
|
||||
struct ns__MyData
|
||||
{ int num;
|
||||
XML str; // has XML content
|
||||
};
|
||||
struct ns__Mixed
|
||||
{ int num;
|
||||
XML __any; // __any is not a tag: this allows parsing of mixed content
|
||||
};
|
||||
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
typedef char *XML;
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
|
||||
xmlmime.h
|
||||
|
||||
This file is depricated. Please use xmime.h
|
||||
|
||||
Use #import "xmlmime.h" in a gSOAP header file to enable xmlmime 2004/11
|
||||
bindings.
|
||||
|
||||
The xmlmime:contentType attribute can be used to associate a MIME type with
|
||||
binary content, as in:
|
||||
|
||||
#import "xmlmime.h"
|
||||
struct ns__myBinaryData
|
||||
{ unsigned char *__ptr;
|
||||
int __size;
|
||||
@char *xmlmime__contentType;
|
||||
};
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xmlmime schema import: http://www.w3.org/2004/11/xmlmime
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
|
||||
xmlmime5.h
|
||||
|
||||
This file is depricated. Please use xmime5.h
|
||||
|
||||
Use #import "xmlmime5.h" in a gSOAP header file to enable xmlmime 2005/05
|
||||
bindings.
|
||||
|
||||
The xmlmime5:contentType attribute can be used to associate a MIME type with
|
||||
binary content, as in:
|
||||
|
||||
#import "xmlmime5.h"
|
||||
struct ns__myBinaryData
|
||||
{ unsigned char *__ptr;
|
||||
int __size;
|
||||
@char *xmlmime5__contentType;
|
||||
};
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
|
||||
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia, Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xmlmime schema import: http://www.w3.org/2005/05/xmlmime
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
|
||||
xop.h
|
||||
|
||||
Use #import "xop.h" in a gSOAP header file to enable MTOM attachments.
|
||||
|
||||
Use SOAP_ENC_MTOM flag in your code to switch to MTOM attachments, see
|
||||
the gSOAP documentation soapdoc2.html
|
||||
|
||||
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2005, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
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-2005 Robert A. 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
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
//gsoap xop schema import: http://www.w3.org/2004/08/xop/include
|
||||
|
||||
struct _xop__Include
|
||||
{ unsigned char *__ptr;
|
||||
int __size;
|
||||
char *id;
|
||||
char *type;
|
||||
char *options;
|
||||
};
|
||||
|
||||
typedef struct _xop__Include _xop__Include;
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user