⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 soapreader.idl

📁 Windows CE 6.0 Server 源码
💻 IDL
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are not authorized to use this source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the SOURCE.RTF on your install media or the root of your tools installation.
// THE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
// soapreader.idl : IDL source for wsdlread.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (soapreader.tlb) and marshalling code.

#include "soapreaderguid.h"

import "msxml2.idl";

#ifdef SOAP_INTERFACES	

	DUAL_INTERFACE_LOCAL(UUID_ISOAPREADER, SOAP_SDK_VERSION, "ISoapReader Interface")
	interface ISoapReader : IDispatch
	{
	    [id(DISPID_SOAPREADER_LOAD), helpstring("load document into the SoapReader DOM from the specified XML source")] 
	    		HRESULT load(
				      	[in] VARIANT xmlSource,
				      	[in, defaultvalue("")] BSTR bstrSoapAction,
				      	[out, retval] VARIANT_BOOL * isSuccessful);

	    [id(DISPID_SOAPREADER_LOADXML), helpstring("load a document into the SoapReader DOM from a string")] 
				HRESULT loadXML( 
				        [in] BSTR bstrXML,
				        [out, retval] VARIANT_BOOL * isSuccessful);

		[propget, helpstring("Get the SoapReader DOM")] 
				HRESULT DOM(
						[out, retval] IXMLDOMDocument **pIXMLDOMDocument);


		[propget, helpstring("The SOAP Envelope element")]
				HRESULT Envelope(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Body element")] 
				HRESULT Body(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Header element")] 
				HRESULT Header(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Fault element")]
				HRESULT Fault(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Fault/faultstring element")]
				HRESULT FaultString(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Fault/faultcode element")]
				HRESULT FaultCode(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Fault/faultactor element")]
				HRESULT FaultActor(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The SOAP Fault/detail element")]
				HRESULT FaultDetail(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The first header entry element with the specified local name and namespace URI")]
				HRESULT HeaderEntry(
						[in] BSTR LocalName, 
		                [in, defaultvalue("")] BSTR NamespaceURI, 
		                [out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("All SOAP header elements with a mustUnderstand attribute equal to 1")]
				HRESULT MustUnderstandHeaderEntries(
						[out, retval] IXMLDOMNodeList** ppNodeList);

		[propget, helpstring("All SOAP header elements")]
				HRESULT HeaderEntries(
						[out, retval] IXMLDOMNodeList** ppNodeList);

		[propget, helpstring("All SOAP body elements")]
				HRESULT BodyEntries(
						[out, retval] IXMLDOMNodeList** ppNodeList);

		[propget, helpstring("The first SOAP body element with the specified local name and namespace URI")]
				HRESULT BodyEntry(
						[in] BSTR LocalName, 
		                [in, defaultvalue("")] BSTR NamespaceURI, 
		                [out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The first SOAP body element")]
				HRESULT RPCStruct(
						[out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The first child element of the first SOAP body element with the specified local name and namespace URI")]
				HRESULT RPCParameter(
						[in] BSTR LocalName, 
		                [in, defaultvalue("")] BSTR NamespaceURI, 
		                [out, retval] IXMLDOMElement** ppElement);

		[propget, helpstring("The first child element of the first SOAP body entry element")]
				HRESULT RPCResult(
						[out, retval] IXMLDOMElement** ppElement);						

		[propget, helpstring("The soapAction HTTP header if the passed in input was a Requestobject")]
				HRESULT soapAction(
						[out, retval] BSTR *pbstrSoapAction);						

	};

#endif

#ifdef SOAP_COCLASSES 
	
    LOCAL_COCLASS(CLSID_SOAPREADER, SOAP_SDK_VERSION, "SoapReader Class")
    coclass SoapReader
    {
        [default] interface ISoapReader;
    };
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -