o si gusta probar de esta otra forma:
LOCAL loRemoteIP AS "XML Web Service"
* LOCAL loRemoteIP AS "MSSOAP.SoapClient30"
* Do not remove or alter following line. It is used to support IntelliSense for your XML Web service.
*__VFPWSDef__: loRemoteIP =
http://www.gncys.com/ws/remoteip.asmx?wsdl , RemoteIP , RemoteIPSoap
LOCAL loException, lcErrorMsg, loWSHandler
TRY
loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")
loRemoteIP = loWSHandler.SetupClient("
http://www.gncys.com/ws/remoteip.asmx?wsdl", "RemoteIP", "RemoteIPSoap")
CATCH TO loException
lcErrorMsg="Error: "+TRANSFORM(loException.Errorno)+" - "+loException.Message
DO CASE
CASE VARTYPE(loRemoteIP)#"O"
* Handle SOAP error connecting to web service
CASE !EMPTY(loRemoteIP.FaultCode)
* Handle SOAP error calling method
lcErrorMsg=lcErrorMsg+CHR(13)+loRemoteIP.Detail
OTHERWISE
* Handle other error
ENDCASE
* Use for debugging purposes
MESSAGEBOX(lcErrorMsg)
FINALLY
ENDTRY
MESSAGEBOX(loRemoteIP.Address)
*RETURN loRemoteIP.Address
Te doy el link para que lo descargues: