SOAP - Type Mismatch error

Status
Not open for further replies.

jeff2674

Member
Joined
Jul 27, 2009
Messages
8
Reaction score
0
I don't have a premium account yet so I don't know if that is the issue. I'm working with the SOAP API to radioreference and just testing to see if it works for me. If so, I will be getting the premier account.

I'm using VBA to just get a list of countries. From another thread in here that was the only function you could access with being a non-premium member.

When running this code i'm getting a 'Type Mismatch'. Not sure what I'm doing wrong, perhaps someone out there who has done some SOAP coding could help?

----------------

Dim clnt As New SoapClient30
Set clnt = New SoapClient30
Dim objClient As New clsws_RRWsdl
Set objClient = New clsws_RRWsdl
Dim strsvc As Variant

clnt.ClientProperty("ServerHTTPRequest") = True
clnt.MSSoapInit "http://api.radioreference.com/soap2/?wsdl"
strsvc = objClient.wsm_getCountryList
MsgBox (strsvc)

----------------
 
Status
Not open for further replies.
Top