danBosh
asked on
Array dimensions do not match
I have written this:
Private Sub Command0_Click()
Dim c As clsws_SFlow
Set c = New clsws_SFlow
Dim v As Variant
v = c.wsm_GetInstructionsTest( "SSLConvey ", "garnys", "courage")
MsgBox (v)
End Sub
Which calls:
Public Function wsm_GetInstructionsTest(By Val str_sSource As String, ByVal str_sUser As String, ByVal str_sPass As String) As Variant
'************************* ********** ********** ********** **********
'Proxy function created from http://195.217.202.154/application/cmti/webservice/searchflowws.asmx?wsdl.
'
'"wsm_GetInstructionsTest" is an array with elements defined as Variant
'See Complex Types: Arrays in Microsoft Office 2003 Web Services Toolkit Help
'for details on implementing arrays.
'************************* ********** ********** ********** **********
'Error Trap
On Error GoTo wsm_GetInstructionsTestTra p
wsm_GetInstructionsTest = sc_SFlow.GetInstructionsTe st(str_sSo urce, str_sUser, str_sPass)
Exit Function
wsm_GetInstructionsTestTra p:
SFlowErrorHandler "wsm_GetInstructionsTest"
End Function
But i am getting the error "SoapMapper: Array dimensions do not match" from the line "v = c.wsm_GetInstructionsTest( "SSLConvey ", "garnys", "courage")"....help?
Private Sub Command0_Click()
Dim c As clsws_SFlow
Set c = New clsws_SFlow
Dim v As Variant
v = c.wsm_GetInstructionsTest(
MsgBox (v)
End Sub
Which calls:
Public Function wsm_GetInstructionsTest(By
'*************************
'Proxy function created from http://195.217.202.154/application/cmti/webservice/searchflowws.asmx?wsdl.
'
'"wsm_GetInstructionsTest"
'See Complex Types: Arrays in Microsoft Office 2003 Web Services Toolkit Help
'for details on implementing arrays.
'*************************
'Error Trap
On Error GoTo wsm_GetInstructionsTestTra
wsm_GetInstructionsTest = sc_SFlow.GetInstructionsTe
Exit Function
wsm_GetInstructionsTestTra
SFlowErrorHandler "wsm_GetInstructionsTest"
End Function
But i am getting the error "SoapMapper: Array dimensions do not match" from the line "v = c.wsm_GetInstructionsTest(
the error would be shown on the line as danBOsh says...because the error though generated by a function internal to this wsm_getinstructions function.
I guess you could try out the webservice internally to check if it works. The array might need to be implemented differently.
I guess you could try out the webservice internally to check if it works. The array might need to be implemented differently.
ASKER
What? so are u saying that the error is thrown from the webservice and not the code i have shown above?...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Today it is 26th November so I guess those 4 days have well and truly passed!
wsm_GetInstructionsTest = sc_SFlow.GetInstructionsTe