>code in web s:
>-----------------
>
>DEFINE CLASS testwebs as Session OLEPUBLIC
>
> FUNCTION test(i as Character) as String
> LOCAL cXML as String
> use \\192.168.0.252\aa.dbf
Problem is right here - \\192.168.0.252\aa.dbf is not a valid UNC. A UNC based on an IP address is in the form
\\
dotted IP address\
share name\
file path relative to the share> sele * from aa into cursor bb
> cursortoxml('bb','cXML',1,0,0,'')
> RETURN cXML
> ENDFUNC
>
>ENDDEFINE
>
>---------------------
>Then call...
>---------------------
>LOCAL bb as testwebs web service
>LOCAL loWS
>loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
>loWS.cWSName = "testwebs web service"
>bb = loWS.SetupClient("
http://ABCSERVER/testone/testwebs.WSDL", "testwebs", "testwebsSoapPort")
>
>?bb.test('0016000022')
>---------------------
>But found error in "use \\192.168.0.252\aa.dbf"
>
>Map to j: -> use j:\aa.dbf ->error too
>
>by VFP ODBC ->error too
>
>-----------------------
>But run by com
>-----------------------
>bb=createobject('testwebs.testwebs')
>bb.test('0016000022')
>-----------------------
>no error ->Oh..God save me...
>
>-----------------------!!!!!!!!Why say not in web service!!!!! web s can not support network path???!