Guest Ada Report post Posted 06/05/2020 10:00 AM I would like to ask that why I can't post data via web service module ? Although the callflow can connect web service successfully, the data can't write in xml file. Please refer to the attachment. Does the web service post data only support xml ? Thank you. Share this post Link to post
SupportTeam Report post Posted 06/05/2020 10:06 AM Anything that is specified in the "Data" text box will be sent to http/https server when the "Http POST" Request is made. Can you post the vgEngine trace that captures the call and the execution of the "Web Service" module in particular? Share this post Link to post
SupportTeam Report post Posted 06/05/2020 10:08 AM The HTTP address is incorrect. The screenshot shows that address is specified as: http://localhost:84/test/test.xml That is not a valid HTTP Service address. Please check what is the HTTP Service's address endpoint, amend accordingly, and try again. If you are still encountering problems please post the vgEngine trace that captures the call and the execution of the "Web Service" module in particular. Share this post Link to post
SupportTeam Report post Posted 06/05/2020 10:20 AM Are you trying to do a HTTP POST, or are you trying to read in the "test.xml" file? To read in the "test.xml" file you should be using a "HTTP GET" request. Share this post Link to post
Guest Ada Report post Posted 06/05/2020 04:38 PM Thank you. I am trying to do a HTTP POST. I want to insert web service data in test.xml Share this post Link to post
SupportTeam Report post Posted 06/05/2020 06:55 PM You want the webservice to place the data posted to it into a file (test.xml) on the machine running the web service? This is something that would be done by whatever is running the "test" endpoint webservice on port 84... Share this post Link to post
Guest Ada Report post Posted 06/06/2020 10:36 AM Yes, I want to to place the data posted to it into a file (test.xml) on the machine running the web service, but I can't do it. Share this post Link to post
SupportTeam Report post Posted 06/07/2020 07:25 AM Do you actually want to send data to a web service running on another machine/server, or do you just want to save data to a file on a local machine? You seem to want to connect to a web service running on a local machine, and then have that web service save to file, so why not just save to file directly from VoiceGuide? Example of how to save to file can be found here: https://www.voiceguide.com/vghelp/source/html/modvbs.htm see the "Example : Save to File" section in the above link. Share this post Link to post