Come modification to my sample:

Public Class Info

Public name As String = "Superman"
Public email As String = "Superman@superman.com"

End Class

<WebMethod()> Public Function GetInfo() As Info

Dim MyInfo As New Info()
GetInfo = MyInfo
End Function

To expand it, add following class to your project:

Public Class MoreInfo
Inherits Info

Public sex As String = "male"

End Class

and change the web method to:

<WebMethod()> Public Function GetInfo() As MoreInfo

Dim MyInfo As New MoreInfo()
GetInfo = MyInfo
End Function

The "old" client will be able to work with this.

Luke

(This posting is provided "AS IS", with no warranties, and confers no
rights.)