Hi all,
OK I am sure I read somewhere in here about storing xml as a Blob and I am sure there was a beautiful example of the code but alas I can not find it again.
I am using V3.70 SQL and intend on storing a received xml response as xml in a blob field and then I am thinking of using the DocDom to somehow display the xml on screen so the user can either print or just view the formatted xml information.
Has anyone done this successfully?
Kylea.
0
Comments
i'm going thru the same process/problem.
any suggestions?
thanxs a lot
Import XML to Blob:
Export XML from Blob and Show in Browser:
We actually are using our own dll to place a request on a website and then receive a response (property).
i.e. MyControl = Automation
So the code goes something like this.
MyControl.Request(request);
Then we want the Response which is a property that is passed back into the dll --- but I am not sure how to get it back into Navision.
So what I really want to do is something like this where
ResponseRec = Table
XMLResponseReport = Blob in ResponseRec
XmlOutStream = OutStream
I can do this to collect the Response using the dll.
MyContorl.Response(Response);
but I don't know how to get the Property 'Response' back into my table.
I know this is incorrect code but I am just not sure how to get the property response into the Stream so I can save it in my blob field.
ResponseRec.XMLResponseReport.CREATEOUTSTREAM(XmlOutStream);
ResponseRec.Response.save(xmlOutStream);
How can you return a property from a dll into a Navision blob?
Kylea. ](*,)