Поделиться через


load Method (ISoapReader) (Windows Embedded CE 6.0)

1/6/2010

This method loads an XML document from a file, stream, or a URL.

Syntax

HRESULT load(
  VARIANT xmlSource, 
  BSTR bstrSoapAction, 
  VARIANT_BOOL* isSuccessful 
);

Parameters

  • xmlSource
    [in] XML source. The source can be a file, a stream, or a URL.
  • bstrSoapAction
    [in] Optional. Default value is "". The value of the "SOAPAction" HTTP header. If specified and not empty, it overrides the "SOAPAction" header value passed inside the xmlSource parameter.
  • isSuccessful
    [out] Boolean parameter indicating the success or failure of the load method.

Return Value

The following table describes the common return values.

Value Description

S_OK

Success.

E_NOTIMPL

The function contains no implementation.

E_OUTOFMEMORY

Out of memory.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ISoapReader