I'm trying to figure out two things:
Can Xpath be used to query a SOAP-based web services server?
Is this built into the SOAP protocol such that any good SOAP server would handle the requests correctly without having to add custom handling of XPath queries?
The two questions may seem redundant, but I'm breaking them because:
I don't know if what I have in mind makes sense/would be the right use of XPath,
If it does make sense, is it already an understood feature of the SOAP protocol (and thus might explain why I can't find any specific documentation for the Web Service I'm actually dealing with.)
Here is the real-world scenario, if that helps:
I have a calendar database (very simple, MySQL), and I want to update my MS Exchange calendar via EWS. Whenever I push events out from my db to my calendar, two things are true:
The date range will always be the same (the start of the week through the end of the week of when the push happens).
The UID of each event will have an indicator that it was sent out by this specific app.
So, before any events are pushed to the calendar, I would like to delete any events that are within that date range and have the app-indicator in the UID, so that I don't get doubles of calendar items, or worse, old items on my calendar that no longer are right.
Since I'm having trouble finding the right way to do such a query/delete/add all in one request, I was thinking that XPath was the less-proprietary solution. But I'm not even sure where the XPath query would be amended to the request, or even if the best of xml parsers would derive the intended goal.
Sorry this was more long winded then I meant it to be. Short version: can I use XPath within a SOAP request? If so, how?