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>
               
)
               

            

JSP Editor

Edit and Validate JSP 1.2 and JSP 2.0 documents. Includes JSP syntax coloring, JSP code completion and more.

Microsoft XML Tools

Build Microsoft XML applications with Stylus Studio, which includes development support for all Microsoft XML technologies, including MSXML and Microsoft System.XML (Microsoft XML Parsers), SQL Server 2000, SQL Server 2005 (Yukon), and more.

XQuery Profiler

Stylus Studio's XQuery Profiler allows you to benchmark any XQuery expression, and it helps you locate and eliminate performance bottlenecks for maximum XQuery performance.

Stylus Studio's Advanced XQuery Mapper Features

Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member