K
Keith Chadwick
Wonder if someone can get me on the right track. I have a web service that
returns the xml representation of some data. This returned data is loaded
in the client (i.e. 6) into a msxml4 object. The data is then rendered to
html with a xsl transformation client side. This works great and how things
will stay. Now I need to get the data the other way to a web service.
When the user clicks on Save the client side xml is updated with the values
they have changed. I then need to post this back to another web service
that will expect this data. Now obviously I can not simply pas the xml as
string on the querystring because you run into encoding problems if the user
has entered in & > or < values for example, and yes I have to allow for
these.
So my question is how to send the xml back to a web service via Jscript and
get a xml response back from the service? Do I need to wrap it in a soap
package or something similar?
Any help would be appreciated.
Cheers
Keith
returns the xml representation of some data. This returned data is loaded
in the client (i.e. 6) into a msxml4 object. The data is then rendered to
html with a xsl transformation client side. This works great and how things
will stay. Now I need to get the data the other way to a web service.
When the user clicks on Save the client side xml is updated with the values
they have changed. I then need to post this back to another web service
that will expect this data. Now obviously I can not simply pas the xml as
string on the querystring because you run into encoding problems if the user
has entered in & > or < values for example, and yes I have to allow for
these.
So my question is how to send the xml back to a web service via Jscript and
get a xml response back from the service? Do I need to wrap it in a soap
package or something similar?
Any help would be appreciated.
Cheers
Keith