Problem with VB6 client to send string array and receive array of objects from .NET Web Service.
It is better to use send xml and return xml interface.
Calling a Web Service using VB6 with SOAP 3.0
Calling .NET Assemblies and Web Services from VB6
Private Sub Command3_Click()On Error GoTo ErrHDim deptname As String
Dim unit1 As New clsUnit
Dim reader As New SoapReader30
Dim clnt As New SoapClient30
clnt.MSSoapInit "http://st2cpraplt01/CPR.Common.Data.SAEmployee/SAEmployee.asmx?wsdl"
deptname = "TRANSPORTATION/FIELD OPERATION"
reader = clnt.GetUnitsOfDepartment(deptname)
MsgBox (reader.Body)
ErrH:
MsgBox (Err.Description)
End Sub