LOCAL loeBayAPI AS "XML Web Service" * LOCAL loeBayAPI AS "MSSOAP.SoapClient30" * Do not remove or alter following line. It is used to support IntelliSense for your XML Web service. *__VFPWSDef__: loeBayAPI = http://developer.ebay.com/webservices/latest/ebaySvc.wsdl , eBayAPIInterfaceService , eBayAPI LOCAL loException, lcErrorMsg, loWSHandler TRY loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx") loeBayAPI = loWSHandler.SetupClient("http://developer.ebay.com/webservices/latest/ebaySvc.wsdl", "eBayAPIInterfaceService", "eBayAPI") * Call your XML Web service here. ex: leResult = loeBayAPI.SomeMethod() CATCH TO loException lcErrorMsg="Error: "+TRANSFORM(loException.Errorno)+" - "+loException.Message DO CASE CASE VARTYPE(loeBayAPI)#"O" * Handle SOAP error connecting to web service CASE !EMPTY(loeBayAPI.FaultCode) * Handle SOAP error calling method lcErrorMsg=lcErrorMsg+CHR(13)+loeBayAPI.Detail OTHERWISE * Handle other error ENDCASE * Use for debugging purposes MESSAGEBOX(lcErrorMsg) FINALLY ENDTRYDocumentation on this can be found at http://developer.ebay.com/DevZone/SOAP/docs/WebHelp/wwhelp/wwhimpl/js/html/wwhelp.htm On the left click on "Getting Started", "Executing You First C# Call".