HRESULT SerializeNode([in] ISOAPNode * n);
This takes a SOAPNode object and serializes it, mutli-ref encoding rules are applied as needed.
Visual Basic Class File Implements ISoapSerializer Private Const NS = "http://auth.example.org/2001/01/" Private Sub ISoapSerializer_Serialize( Val As Variant, _ ByVal ctx As PocketSOAP.ISerializerContext, _ ByVal dest As PocketSOAP.ISerializerOutput) Dim a As AuthInfo Set a = Val ' authInfo has two properties, which are actually SOAPNode objects. dest.SerializeNode a.Type dest.SerializeNode a.Key End Sub
Copyright © Simon Fell, 2000-2004. All rights reserved.