2025-11-28 00:35:46 +09:00

437 lines
15 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<wsdcodegen ConfigFileVersion="1.3">
<LayerPrefix>FileServiceSecure</LayerPrefix>
<LayerNumber>1</LayerNumber>
<!--************************************************************-->
<!--*** WSDLS TO BE INCLUDED ***-->
<!--************************************************************-->
<Wsdl PrefixMessageStructureNames="true">
<Path>FileServiceSecure.wsdl</Path>
</Wsdl>
<!--This Macro will be included in all header files.-->
<Macro Name="PragmaOnce">
<![CDATA[
#pragma once
]]>
</Macro>
<!-- This Macro will be included in automatically generated files where -->
<!-- a modification to the file is required. -->
<Macro Name="NeedToModify">
<![CDATA[
///////////////////////////////////////////////////////////////////////////////
//
// This file is automatically generated. However, the file needs to be
// modified in order to accomodate changes needed for for the device host
// creation to use WSDCreateDeviceHost2 instead with customized parameters,
// or for the device proxy creation to use WSDCreateDeviceProxy2 instead with
// customized parameters.
//
///////////////////////////////////////////////////////////////////////////////
]]>
</Macro>
<!--************************************************************-->
<!--*** TYPES HEADER FILE ***-->
<!--This file contains forward declarations and structure definitions.-->
<!--************************************************************-->
<File Name="FileServiceSecureTypes.h">
<Include Macro="DoNotModify" />
<Include Macro="PragmaOnce" />
<NamespaceDeclarations />
<NamespaceNameMacros />
<StructDeclarations />
<StructDefinitions />
<EnumerationValueDeclarations />
<TypeTableDeclarations />
<MessageStructureDefinitions />
<PortTypeDeclarations />
<StubDeclarations Events="True">
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<Operation>FileChangeEvent</Operation>
</StubDeclarations>
</File>
<!--************************************************************-->
<!--*** TYPES FILE ***-->
<!--This file contains type table and operation definitions.-->
<!--************************************************************-->
<File Name="FileServiceSecureTypes.cpp">
<Include Macro="DoNotModify" />
<LiteralInclude Language="C" Local="False">wsdapi.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecure.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecureTypes.h</LiteralInclude>
<NamespaceDefinitions />
<TypeTableDefinitions />
<MessageTypeDefinitions />
<PortTypeDefinitions>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<Events>True</Events>
<EventStubFunction>True</EventStubFunction>
</PortTypeDefinitions>
<RelationshipMetadataDefinition />
<ThisModelMetadataDefinition />
</File>
<!--************************************************************-->
<!--*** INTERFACE IDL ***-->
<!--This file defines the interfaces for the specified services.-->
<!--************************************************************-->
<File Name="FileServiceSecure.idl">
<Include Macro="DoNotModify" />
<![CDATA[
interface IFileServiceSecure;
interface IFileServiceSecureProxy;
interface IFileServiceSecureEventNotify;
]]>
<LiteralInclude Language="IDL">oaidl.idl</LiteralInclude>
<LiteralInclude Language="IDL">ocidl.idl</LiteralInclude>
<LiteralInclude Language="IDL">wsdattachment.idl</LiteralInclude>
<LiteralInclude Language="IDL">wsdclient.idl</LiteralInclude>
<LiteralInclude Language="IDL">wsdhost.idl</LiteralInclude>
<LiteralInclude Language="IDL">FileServiceSecureTypes.h</LiteralInclude>
<![CDATA[
//
// IFileServiceSecure Interface
// This interface contains the methods included in FileServiceSecure.wsdl, and
// is used by FileService Secure Client to execute methods on FileService
// Secure Service.
//
[
object,
uuid(6e89a58b-2340-41ad-80b1-698e5821a834),
helpstring("IFileServiceSecure Interface"),
pointer_default(unique),
restricted,
local
]
interface IFileServiceSecure : IUnknown
{
]]>
<IdlFunctionDeclarations>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
</IdlFunctionDeclarations>
<![CDATA[
};
]]>
<![CDATA[
//
// IFileServiceSecureProxy Interface
//
[
object,
uuid(2f3ac8e3-de5b-4f6b-bd8d-1f4b2d15ec27),
helpstring("IFileServiceSecureProxy Interface"),
pointer_default(unique),
restricted,
local
]
interface IFileServiceSecureProxy : IFileServiceSecure
{
HRESULT Init(IWSDServiceProxy* genericProxy);
]]>
<IdlFunctionDeclarations Async="True">
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<Operation>GetFileList</Operation>
<Operation>GetFile</Operation>
</IdlFunctionDeclarations>
<SubscriptionIdlFunctionDeclarations>
<NotificationInterface>IFileServiceSecureEventNotify</NotificationInterface>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<Operation>FileChangeEvent</Operation>
</SubscriptionIdlFunctionDeclarations>
<![CDATA[
};
]]>
<![CDATA[
//
// IFileServiceSecureEventNotify Interface
//
[
object,
uuid(34cbfafd-f544-495c-a025-a572102d5d56),
helpstring("IFileServiceSecureEventNotify Interface"),
pointer_default(unique),
restricted,
local
]
interface IFileServiceSecureEventNotify : IUnknown
{
]]>
<IdlFunctionDeclarations Events="True">
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
</IdlFunctionDeclarations>
<![CDATA[
};
]]>
</File>
<!--************************************************************-->
<!--*** PROXY HEADER FILES ***-->
<!--This file contains declarations for proxy classes and builder functions.-->
<!--************************************************************-->
<File Name="FileServiceSecureProxy.h">
<Include Macro="NeedToModify" />
<Include Macro="PragmaOnce" />
<![CDATA[
class CFileServiceSecureProxy;
class CFileServiceSecureEventSource;
]]>
<ProxyBuilderDeclarations>
<ProxyClass>CFileServiceSecureProxy</ProxyClass>
</ProxyBuilderDeclarations>
<![CDATA[
class CFileServiceSecureProxy: public IFileServiceSecureProxy
{
protected:
~CFileServiceSecureProxy();
LONG m_cRef;
IWSDServiceProxy* m_genericProxy;
public:
HRESULT STDMETHODCALLTYPE Init(IWSDServiceProxy* genericProxy);
CFileServiceSecureProxy();
]]>
<IUnknownDeclarations />
<FunctionDeclarations>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
</FunctionDeclarations>
<FunctionDeclarations Async="True">
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<Operation>GetFileList</Operation>
<Operation>GetFile</Operation>
</FunctionDeclarations>
<SubscriptionFunctionDeclarations>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<NotificationInterface>IFileServiceSecureEventNotify</NotificationInterface>
</SubscriptionFunctionDeclarations>
<![CDATA[
};
]]>
</File>
<!--************************************************************-->
<!--*** PROXY FILE ***-->
<!--This file contains code for proxy classes and functions.-->
<!--************************************************************-->
<File Name="FileServiceSecureProxy.cpp">
<Include Macro="NeedToModify" />
<LiteralInclude Language="C" Local="False">wsdapi.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecure.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecureTypes.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecureProxy.h</LiteralInclude>
<ProxyBuilderImplementations>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<ProxyClass>CFileServiceSecureProxy</ProxyClass>
</ProxyBuilderImplementations>
<![CDATA[
CFileServiceSecureProxy::CFileServiceSecureProxy() :
m_cRef(1), m_genericProxy(NULL)
{
}
CFileServiceSecureProxy::~CFileServiceSecureProxy()
{
if ( NULL != m_genericProxy )
{
m_genericProxy->Release();
m_genericProxy = NULL;
}
};
HRESULT STDMETHODCALLTYPE CFileServiceSecureProxy::Init(
/* [in] */ IWSDServiceProxy* pIWSDServiceProxy )
{
if( NULL == pIWSDServiceProxy )
{
return E_INVALIDARG;
}
m_genericProxy = pIWSDServiceProxy;
m_genericProxy->AddRef();
return S_OK;
}
]]>
<IUnknownDefinitions>
<ProxyClass>CFileServiceSecureProxy</ProxyClass>
<RefCountVar>m_cRef</RefCountVar>
<Interface>IFileServiceSecure</Interface>
<Interface>IFileServiceSecureProxy</Interface>
</IUnknownDefinitions>
<ProxyFunctionImplementations>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<ProxyClass>CFileServiceSecureProxy</ProxyClass>
</ProxyFunctionImplementations>
<ProxyFunctionImplementations Async="True">
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<ProxyClass>CFileServiceSecureProxy</ProxyClass>
<Operation>GetFileList</Operation>
<Operation>GetFile</Operation>
</ProxyFunctionImplementations>
<SubscriptionProxyFunctionImplementations>
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<ProxyClass>CFileServiceSecureProxy</ProxyClass>
<NotificationInterface>IFileServiceSecureEventNotify</NotificationInterface>
</SubscriptionProxyFunctionImplementations>
</File>
<!--************************************************************-->
<!--*** STUB FILE ***-->
<!--This file contains stub function code.-->
<!--************************************************************-->
<File Name="FileServiceSecureStub.cpp">
<Include Macro="DoNotModify" />
<LiteralInclude Language="C" Local="False">wsdapi.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecure.h</LiteralInclude>
<LiteralInclude Language="C" Local="True">FileServiceSecureTypes.h</LiteralInclude>
<MessageTypeDeclarations />
<StubDefinitions Events="True">
<PortType>http://www.example.com/ncd/FileServiceSecure/FileServiceSecure</PortType>
<ServerClass>IFileServiceSecureEventNotify</ServerClass>
<Deallocator>WSDFreeLinkedMemory</Deallocator>
</StubDefinitions>
</File>
<!--************************************************************-->
<!--*** README FILE ***-->
<!--This file contains readme text.-->
<!---->
<!--Changes made to the contents of the metadata section of this-->
<!--configuration file will not impact the accuracy of the Readme.txt-->
<!--file, but more significant changes may render the Readme.txt file-->
<!--inaccurate.-->
<!--************************************************************-->
<File Name="Readme.txt">
<![CDATA[=== Index ====================================================================
* Quick start guide
+ Client
+ Compiling
* Generated files
* Generated interfaces
+ Base interfaces
+ Proxy interfaces
+ Event notify interfaces
* Generated classes
+ Proxy classes
* Generated functions
+ Proxy builder functions
* Generated structures
+ Parameter structures
=== Quick start guide ========================================================
--- Client ---------------------------
Your client application should use one of the proxy builder functions
CreateCFileServiceSecureProxy() and CreateCFileServiceSecureProxyById(), which
will instantiate a class of type CFileServiceSecureProxy. These functions are
defined in FileServiceSecureTypes.h.
Once this class has been successfully created, it may be used to
issue service commands to a host.
Use CreateCFileServiceSecureProxy() when only the target type is known.
Use CreateCFileServiceSecureProxyById() when the service ID is known.
--- Compiling -----------------------
All generated files must be compiled together into one static library,
executable, or DLL.
The generated IDL file (FileServiceSecure.idl) may be compiled into
C++ files with the MIDL tool. The other generated files require that
FileServiceSecure.idl will be compiled into FileServiceSecure.h.
=== Generated files ==========================================================
* FileServiceSecureTypes.h Forward-declarations and struct definitions
* FileServiceSecureTypes.cpp Type table and operation structure definitions
* FileServiceSecure.idl Defines the interfaces for the specified services
* FileServiceSecureProxy.h Declares proxy classes and builder functions
* FileServiceSecureProxy.cpp Proxy class and function implementations
* FileServiceSecureStub.cpp Stub function code
=== Generated interfaces =====================================================
--- Base interfaces ------------------
* IFileServiceSecure
This base interface is generated directly by the WSDL. Clients should use the
extended proxy classes, below. No eventing operations are included in the base
interface. The proxy uses this interface to communicate with the server,
although the server uses another interface (IFileServiceSecureEventNotify) to
execute the service methods.
--- Proxy interfaces -----------------
* IFileServiceSecureProxy
These proxy interfaces extend the base interfaces (listed above) by adding
client-only functionality such as asynchronous service calls for two-way
operations and subscribe/unsubscribe methods for eventing operations.
These interfaces should only be implemented by the generated client proxies.
Your client code should instantiate objects that expose these interfaces
using the proxy builder functions, and should call into the exposed methods.
--- Event notify interfaces ----------
* IFileServiceSecureEventNotify
These event notify interfaces are used by services to issue events, and are
implemented by client code to receive events. Subscription management is
handled separately in the proxy interfaces (listed above).
Your service code should instantiate objects that expose these interfaces
using the event source builder functions (see below), and should call into
the exposed methods.
You should build a client object that implements these interfaces, and
register that object when subscribing for events. Your object will receive
callbacks when you receive events from the service.
=== Generated classes ========================================================
--- Proxy classes --------------------
* CFileServiceSecureProxy
These proxy classes can be called from your application, and will issue
messages to a service. To instantiate one of these classes, use a proxy
builder function (see below).
=== Generated functions ======================================================
--- Proxy builder functions ----------
* CreateCFileServiceSecureProxy()
Use these functions to generate proxy classes (see above).
=== Generated structures =====================================================
--- Parameter structures -------------
All parameter structures are defined inside FileServiceSecureTypes.h.
]]>
</File>
</wsdcodegen>