receive xml

Jun 2, 2014 at 9:41 AM
Hi, I have a service that sends me an xml (method post) with data to the url I choose, I want this url to be an office 365 page with spservices, how can I handle this in javascript? there will be problems with security?
Coordinator
Jun 2, 2014 at 1:17 PM
You question is a bit broad. It sounds like you can use jQuery's $.ajax function to get the XML from your service. Having it on the same page as SPServices doesn't cause any additional security issues.

M.
Jun 2, 2014 at 2:11 PM
Excuse me, the problem is that I know how to do it with server side code, in the page_load event I got the object REquest.content and there is the xml, but I don't know how to do it in Javascript with spservices, do you have any idea?
Coordinator
Jun 2, 2014 at 2:47 PM
If it's your own services, the SPServices doesn't know anything about it. You can just use jQuery's $.ajax.

M.
Jun 3, 2014 at 7:07 PM
Thanks, I have understand that what I want is not possible in the client side, thanks for all.
Coordinator
Jun 4, 2014 at 2:03 AM
It probably is, but you're not giving me enough to go on to be very helpful.

M.
Jun 5, 2014 at 7:30 AM
no problem, you can be sure I will ask for another thing in the nex days and you will help me.