|
Home >Online Product Documentation >Table of Contents >How to Create XQuery from a Web Service Call How to Create XQuery from a Web Service CallTo create XQuery from a Web service call:
1. Create a Web service call as described in How to Compose a Web Service Call.
2. Test the SOAP request by clicking the Preview Result button, and verify that it returns the results you require.
3. Click WebServiceCall > Copy XQuery to Clipboard on the Stylus Studio menu.
Stylus Studio creates XQuery based on the SOAP request and copies the XQuery code to your system's clipboard.
4. Open a new XQuery document (File > New > XQuery File), and paste the clipboard contents into the new document.
|