Send XML Doc to web service
Posted: Sun Nov 26, 2017 9:43 pm
I'm wanting to create a LC app that
* shows the user a data collection form
* packages user submitted data into an XML document
* sends (or is it "writes") the XML doc to a web service. The web service will have been created by someone else. I only want to create the data collection app.
I have seen plenty of LC resource material describing the first two points, but:
1) Can anyone point me in the direction of resource material that shows how I can use LC to send an XML doc to a web service? I have previously used POST TO URL to send strings of characters to a web service. I'm just after any info that would help me make the transition from sending a string of char to sending an xml doc. Or is it as simple as use POST TO URL again, and treat the XML doc as a big/fancy string of char?
2) Does anyone know of a web service that I can use to test sending an XML doc? I know of endless web services which I can use to test reading an xml doc, but I need to test sending one.
Thanks in advance
Kim
* shows the user a data collection form
* packages user submitted data into an XML document
* sends (or is it "writes") the XML doc to a web service. The web service will have been created by someone else. I only want to create the data collection app.
I have seen plenty of LC resource material describing the first two points, but:
1) Can anyone point me in the direction of resource material that shows how I can use LC to send an XML doc to a web service? I have previously used POST TO URL to send strings of characters to a web service. I'm just after any info that would help me make the transition from sending a string of char to sending an xml doc. Or is it as simple as use POST TO URL again, and treat the XML doc as a big/fancy string of char?
2) Does anyone know of a web service that I can use to test sending an XML doc? I know of endless web services which I can use to test reading an xml doc, but I need to test sending one.
Thanks in advance
Kim