This project has moved and is read-only. For the latest updates, please go here.

receive xml

Jun 2, 2014 at 10: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?
Jun 2, 2014 at 2: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.

Jun 2, 2014 at 3: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?
Jun 2, 2014 at 3:47 PM
If it's your own services, the SPServices doesn't know anything about it. You can just use jQuery's $.ajax.

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

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