HRESULT SerializerForValue([in] VARIANT * v, [in] BSTR ParentType, [in] BSTR ParentTypeNS, [in] BSTR name, [in] BSTR Namespace, [out] BSTR * type, [out] BSTR * typeNamespace, [out, retval] ISoapSerializer ** s);
Finds a serializer for a particular value, taking into account its serialization context, such as containg type and element name. This allows values with the same COM type, to have different resulting XML types, depending on their context. e.g. a particular service may want to get one parameter as a xsd:base64Binary, and another parameter as an xsd:hexBinary, both of these are represented as bytes arrays in COM, so this allows to handle those context specific mappings.
The type, typeNamespace and resulting Serializer will be populated following the call.
Copyright © Simon Fell, 2000-2004. All rights reserved.