10-05-2007 05:04 PM
10-08-2007 04:40 AM
10-08-2007 02:41 PM
Dear Wiebe,
Thank you for the useful links. By any chance, do you have any examples of implementation of GET or POST in LabView? I would be very grateful.
I have otherwise considered to get binded by Windows and use the embedding of Internet Explorer, which would do the work for me. The part I do not like is that it is Windows-only solution and is not transferrable to other operating systems.
Kind regards
Albert
PS
Any body from National Instruments - here is an enhancment request: to add a function to read web pages, which would have an argument for POST data (otherwise the GET data can be easily formed by adding a text string to the site address). Matlab has such a function (actually, it has two, one for reading, urlread and one for writing, urlwrite, I think).
10-09-2007 04:12 AM
10-09-2007 03:28 PM
Hi Wiebe,
Thank you for the link and the code. The like uses Windows API, so I will try to play around with your code instead. I will probably need to look at the HTML related stadards to see what to expect (in regards to what you said about the difference in replies).
Best regards
Albert
11-20-2007 12:15 PM
Dear NI technical support,
Is this feature (POSTing the data to a server) included in the NI Internet Toolkit?
Thanks!
Regards
Albert
11-21-2007 02:31 PM
Hi Albert,
I don’t think you will find the Internet Toolkit very helpful in this application. I thought that the above posts would be a very good approach.
10-20-2008 03:15 AM
Hi weibe,
Thank you for the code.It is very helpful to me.About the VI(WDSL First Contact HTTP POST.vi) , can you help me to explain the document header,
POST /ip2geo/ip2geo.asmx HTTP/1.1
Host: ws.cdyne.com
Content-Type: text/xml; charset=utf-8
Content-Length: 391
SOAPAction: "http://ws.cdyne.com/ResolveIP"
Beacause I want to sent the data to my own web sever.So I must have some modification on it.
Regards,
水彖
10-20-2008 06:40 AM
11-19-2008 01:21 AM
Dear Weibe,
Thank you for the code.It is very helpful to me.
Your code (WDSL First Contact HTTP POST.vi)can successfully send xml files which contain only english characters. But when the xml files contain chinese characters, the code fails to send them. Are there any methods can solve this problem?
P.S. A chinese character occupies 3 bytes in the UTF-8 format,while an english character occupies 1 byte
Regards,
icecoffee,