Home >Online Product Documentation >Table of Contents >Example
Example
Consider the following StockQuotesSoap SOAP request defined using the Swan and Mokashi WSDL:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:GetQuotes xmlns:s0="http://swanandmokashi.com">
<tns:QuoteTicker>prgs</tns:QuoteTicker>
</tns:GetQuotes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|
This SOAP request was created using the Stylus Studio Web Service Call Composer, as described in How to Compose a Web Service Call.
The XQuery created by Stylus Studio for this Web service call looks like this:
declare namespace tns = "http://swanandmokashi.com";
ddtek:wscall(
<ddtek:location
address="http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx"
soapaction="http://swanandmokashi.com/GetQuotes"/>,
<tns:GetQuotes xmlns:tns="http://swanandmokashi.com">
<tns:QuoteTicker/>
</tns:GetQuotes>
)
|