OLE IDispatch exception code 0 from SOAP-END:Server: WSDLOperation: Instantiating the dispatch object for method SendText failedHere is the code in my project
DEFINE CLASS wsclass AS Session OLEPUBLIC * A function to add numbers together FUNCTION AddNumbers(tnNumber1 AS Number, tnNumber2 AS Number) AS Number RETURN tnNumber1 + tnNumber2 * A function to return a string FUNCTION SendText() AS String RETURN "This message has been brought to you by web services" ENDDEFINEHere is how I am calling it
PUBLIC lows,oWeb loWS =NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx") oWeb =loWS.SetupClient("http://TE17829/Webpub/wsclass.WSDL","","") &&,"wsclassSoapPort") ? oweb.sendtext()It is the ? oweb.sendtext() in the above code that generates the error message