|
>Home>Products>DataDirect XQuery>Features>Web Service Integration
Print
Making SOAP Requests from DataDirect XQuery
DataDirect can use the ws:call() function to make SOAP requests. For instance, we might want to look up a book on Amazon.com using the ISBN of the book.
The following function creates the payload for the web message we want to send.
Now we can use the following query to create the message payload by calling our function, then use ws:call() to invoke the web service and get the result,
which is a description of the book whose ISBN we are sending:
|