I am trying to understand how I might be able to call a Web Service method from XQuery and then interpret the results that the service sends back - unfortunately I have little experience in XQuery and even less in Web Services.
Can anyone give me an example of some XQuery code that would
- call a Web Service method with a couple of parameters
- the Web Service method would return a chunk of XML
- the XQuery would then interpret that returned XML and carry out some action on what it finds
It's the XQuery end of things that I am interested in rather than the Web Service end.