Receiving XML

arnaro
Member Posts: 29
Here is a code snippet.... Im using XML4 from Microsoft.
//GET
XMLHTTPServer.open('GET', URL_t, FALSE, User_t, Pass_t);
XMLHTTPServer.send;
//LOAD response into document
XMLDocument.loadXML(XMLHTTPServer_laut.responseText); //<--fails
fails because the response is more than 250 chrs.
How can I do this???
- Arol
//GET
XMLHTTPServer.open('GET', URL_t, FALSE, User_t, Pass_t);
XMLHTTPServer.send;
//LOAD response into document
XMLDocument.loadXML(XMLHTTPServer_laut.responseText); //<--fails
fails because the response is more than 250 chrs.
How can I do this???
- Arol
0
Comments
-
If you want to share this OCX, please upload it to this site and it will be included in the download section.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Seems like Navision has no solution for this either, my service request to them turned upp nothing....
The solution I will use is to make an OCX in VB that takes the XML response and saves it to a file... from where Navision can handle it...
- Arol0 -
Don't have the XMLHTTPServer docs nearby, but you should be able to direct the output into a OutStream, then use this as InStream for the Load (not LoadXML, that's for UTF-16 coded docs) method of the DOMdocument.
Streams can be of any length, and are a supported variable type in Attain.
John0 -
Hello... once again Attain... hehe...
I know Attain supports streams, but as is none of our customers has Attain so ....
Anyways the ocx works fine, im going to add some features to it, but regretfully its not owned by me so I wont be able to post it, but Ill be happy to give instructions on how to do it should anyone be intersted.
- Arol0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions