i am using the MS SOAP Toolkit 3 with MS Visual basic, and trying to get started with the SugarCRM's SOAP interface. here is my code:
Dim soapClient As MSSOAPLib30.SoapClient30
Set soapClient = New MSSOAPLib30.SoapClient30
Call soapClient.MSSoapInit("http://sugar/soap.php?wsdl=sugarsoap")
Dim s As String
s = soapClient.create_contact("neil", "mypassword", "bob", "loblaws", "bob@loblaws.com")
MsgBox s
If (Err.Number <> 0) Then
MsgBox soapClient.FaultString
End If
s is blank and there is nothing in the fault string, and no contact is created. What am I doing wrong? do i have to hash the password? if so, how?
Thanks!
Neil M


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks