XMethods Logo

Home ·  Tools · Implementations · Manage · Register · Tutorials · About

Partner4 Logo Partner3 Logo Partner2 Logo

Magic Squares

WSDL

http://www.cs.fsu.edu/~engelen/magic.wsdl     Analyze WSDL   |   View RPC Profile  (only for RPC services)
Owner:engelen
For more Info:http://www.cs.fsu.edu/~engelen/soap.html
Description:Returns a magic square of a given rank.

Endpoints

URLPublisherContact EmailImplementation
http://www.cs.fsu.edu/~engelen/magicserver.cgiengelenengelen@cs.fsu.edugSOAP

Contributed Clients   What is this?     Add / Edit / Delete Client  

NameTypePublisherToolkitLanguageOS
Web Services Performance and Load TesterApplicationLisaWu N/ACross-Platform


Detailed Description

Returns a magic square of a given rank.

Usage Notes

The method name is "magic" with input parameter "rank" of type "int" (value must be between 1 and 100).

The method namespace URI is "urn:MagicSquare".

The service return parameter is "result", which is an integer-valued magic square matrix represented by an array (rows) of arrays (columns).

An example request:

<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/1999/XMLSchema"
  xmlns:ns1="urn:MagicSquare"
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:magic>
<rank xsi:type="int">3</rank>
</ns1:magic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The response:

<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/1999/XMLSchema"
  xmlns:ns1="urn:MagicSquare"
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:magicResponse>
<result xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="int[][3]">
<SOAP-ENC:Array xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="int[3]">
<int xsi:type="int">6</int>
<int xsi:type="int">1</int>
<int xsi:type="int">8</int>
</SOAP-ENC:Array>
<SOAP-ENC:Array xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="int[3]">
<int xsi:type="int">7</int>
<int xsi:type="int">5</int>
<int xsi:type="int">3</int>
</SOAP-ENC:Array>
<SOAP-ENC:Array xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="int[3]">
<int xsi:type="int">2</int>
<int xsi:type="int">9</int>
<int xsi:type="int">4</int>
</SOAP-ENC:Array>
</result>
</ns1:magicResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Note: The service was primarily used for performance studies of various SOAP implementations.

Help  Message Board