I personally uses XMLDOM for this case, but that was because i wrote Web Services since VFP7. Yes, this should work.
Jaime
>I am planing a Web Service which will receive XML document from our users? I would like to write a MTCOMDLL that will receive the XML document through HTTPS and parse the information into VFP tables. The XML document schema is defined an external XSD file.
>
>How can I use XMLAdapter to achieve this?
>
>Or is there a better way to do this? Maybe in .NET?
>
>I am think of something like this:
>
>DEFINE CLASS MyWebService AS Session OLEPUBLIC
> PROCEDURE NewCustomer(lcCurstomerInfoXML AS String) AS String
> LOCAL loXMLAdapter AS XMLAdapter
> LOCAL lcReturn
>
> loXMLAdapter = CREATEOBJECT("XMLAdapter")
>
> OPEN DATABASE "mydb.dbc"
>
> loXMLAdapter.LoadXML(m.lcCurstomerInfoXML)
>
>
>
> CLOSE DATABASES ALL
>
> RETURN m.lcReturn
> ENDPROC
>ENDDEFINE
>
>
>Would this work?
>
>Will appreciate any comments or recommendations!
Why do programs stop working correctly as soon as you leave the Fox?