Prev: ReportProInit()
Next: Opening index automatically
From: Harry B. on 9 Apr 2010 06:27 Mario, perhaps oClient:[ConnectorProperty, "ProxyServer"] := cProxy will do it for you. --Harry B.
From: Harry B. on 9 Apr 2010 07:41 .... just one minute to late!
From: richard.townsendrose on 10 Apr 2010 07:05 Mario does your web service caller allow you to POST as if the user had completed an ordinary html form ? I want to be able to send the data that would normally go from an html form to my web service from a VO app. we have a good system where we send an email with an html form for the recipient of the email to make a reply. the form posts the stuff to a php server which creates a small text file of the content and emails that back to the user. it also creates a pdf and emails that to BOTH the recipient and the user so that everyone has an undisputable record of what was sent. some code would be much appreciated ... i am a bit of a novice with web services, but our php scripts have been working and improving over a decade. we use the AWT library (now maintained by willie moore) to generate the html forms. richard
From: Norbert Kolb on 10 Apr 2010 07:54 Hello Richard, > does your web service caller allow you to POST as if the user had > completed an ordinary html form ? > > I want to be able to send the data that would normally go from an html > form to my web service from a VO app. You find a sample at the Homepage of the UG-Bodensee: http://www.voug-bodensee.net/ under Downloads GetOrPost It does exact what you are looking for. Norbert
From: richard.townsendrose on 11 Apr 2010 03:57
Norbert Thanks very much ... if i get stuck or cannot understand anything - i use google translator for german to englist and it is quite good ! so i THINK you have the right answer ... this is what google translated your description as ! "GetOrPost - that is the question! Again and again the question was asked how one can retrieve HTML pages directly from a VO application out? There are indeed the cHttp class from the Internet Library. But who wants a little more, is fast. In the example GetOrPost.aef shows how you can do that by filling out and submitting HTML forms on VO or like the up-and download files is done." i HOPE that "retrieve HTML pages directly from a VO application out?" MEANS "Post the information using VO in the same way as using an HTML form" richard |