Showing TCP packets for call and response using XML, Web Service connector, and Flash Remoting.
Shown in bytes. The service is a simple retrieval of 5 records from a database.
App | Call | Response |
---|---|---|
XML | 234 | 912 |
Web Service | 914 | 7249 |
Flash Remoting | 330 | 677 |
GET /ms_flash/samplexml.xml HTTP/1.1
Referer: http://localhost:8080/ms_flash/samplexml.xml
x-flash-version: 7,0,14,0
User-Agent: Shockwave Flash
Host: localhost:8080
Cache-Control: no-cache
Cookie: CFID=306; CFTOKEN=50206982
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
X-Powered-By: ASP.NET
Date: Sat, 26 Jun 2004 14:32:47 GMT
Content-Type: text/xml
Accept-Ranges: bytes
Last-Modified: Sun, 18 Apr 2004 17:38:01 GMT
ETag: "b01b37e56b25c41:a31"
Content-Length: 664
<?xml version="1.0" encoding="iso-8859-1"?>
<users>
<user>
<firstname>Biff</firstname>
<lastname>Binkman</lastname>
<birthdate>11/2/1970</birthdate>
</user>
<user>
<firstname>Jack</firstname>
<lastname>Splat</lastname>
<lastname>1/30/1986</lastname>
</user>
<user>
<firstname>John</firstname>
<lastname>Jehosephat</lastname>
<birthdate>2/14/1977</birthdate>
</user>
<user>
<firstname>Jim</firstname>
<lastname>Susquehanna</lastname>
<birthdate>2/1/1982</birthdate>
</user>
<user>
<firstname>Frank</firstname>
<lastname>Frappuccino</lastname>
<birthdate>2/15/1976</birthdate>
</user>
</users>
GET /ms_flash/Users.wsdl HTTP/1.1
Referer: http://localhost:8080/ms_flash/Users.wsdl
x-flash-version: 7,0,14,0
User-Agent: Shockwave Flash
Host: localhost:8080
Cache-Control: no-cache
Cookie: CFID=306; CFTOKEN=50206982
POST /ms_flash/Users.cfc HTTP/1.1
Referer: http://localhost:8080/ms_flash/Users.cfc
x-flash-version: 7,0,14,0
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 383
User-Agent: Shockwave Flash
Host: localhost:8080
Cache-Control: no-cache
Cookie: CFID=306; CFTOKEN=50206982
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body xmlns:ns1="http://ms_flash:8080"><ns1:getUsers SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></SOAP-ENV:Body></SOAP-ENV:Envelope>
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
X-Powered-By: ASP.NET
Date: Sat, 26 Jun 2004 14:27:33 GMT
Content-Type: text/xml
Accept-Ranges: bytes
Last-Modified: Sun, 18 Apr 2004 19:03:46 GMT
ETag: "301835e07725c41:a31"
Content-Length: 4549
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://ms_flash:8080" xmlns:impl="http://ms_flash:8080" xmlns:intf="http://ms_flash:8080" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns1="http://rpc.xml.coldfusion" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"><wsdl:types><schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ms_flash:8080"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ArrayOf_xsd_string"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/></restriction></complexContent></complexType><complexType name="ArrayOfArrayOf_xsd_anyType"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[][]"/></restriction></complexContent></complexType></schema><schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://rpc.xml.coldfusion"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="QueryBean"><sequence><element name="columnList" nillable="true" type="impl:ArrayOf_xsd_string"/><element name="data" nillable="true" type="impl:ArrayOfArrayOf_xsd_anyType"/></sequence></complexType><complexType name="CFCInvocationException"><sequence/></complexType></schema></wsdl:types>
<wsdl:message name="getUsersRequest">
</wsdl:message>
<wsdl:message name="getBigUsersResponse">
<wsdl:part name="getBigUsersReturn" type="tns1:QueryBean"/>
</wsdl:message>
<wsdl:message name="getBigUsersRequest">
</wsdl:message>
<wsdl:message name="CFCInvocationException">
<wsdl:part name="fault" type="tns1:CFCInvocationException"/>
</wsdl:message>
<wsdl:message name="getUsersResponse">
<wsdl:part name="getUsersReturn" type="tns1:QueryBean"/>
</wsdl:message>
<wsdl:portType name="Users">
<wsdl:operation name="getUsers">
<wsdl:input name="getUsersRequest" message="impl:getUsersRequest"/>
<wsdl:output name="getUsersResponse" message="impl:getUsersResponse"/>
<wsdl:fault name="CFCInvocationException" message="impl:CFCInvocationException"/>
</wsdl:operation>
<wsdl:operation name="getBigUsers">
<wsdl:input name="getBigUsersRequest" message="impl:getBigUsersRequest"/>
<wsdl:output name="getBigUsersResponse" message="impl:getBigUsersResponse"/>
<wsdl:fault name="CFCInvocationException" message="impl:CFCInvocationException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Users.cfcSoapBinding" type="impl:Users">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getUsers">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getUsersRequest">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ms_flash:8080"/>
</wsdl:input>
<wsdl:output name="getUsersResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ms_flash:8080"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ms_flash:8080"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getBigUsers">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getBigUsersRequest">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ms_flash:8080"/>
</wsdl:input>
<wsdl:output name="getBigUsersResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ms_flash:8080"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ms_flash:8080"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="UsersService">
<wsdl:port name="Users.cfc" binding="impl:Users.cfcSoapBinding">
<wsdlsoap:address location="http://localhost:8080/ms_flash/Users.cfc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.1
Date: Sat, 26 Jun 2004 14:27:33 GMT
X-Powered-By: ASP.NET
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Sat, 26 Jun 2004 14:27:45 GMT
X-Powered-By: ASP.NET
Connection: close
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getUsersResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://ms_flash:8080">
<ns1:getUsersReturn href="#id0"/>
</ns1:getUsersResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:QueryBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://rpc.xml.coldfusion">
<columnList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]">
<item>FIRST NAME</item>
<item>LAST NAME</item>
<item>BIRTHDATE</item>
</columnList>
<data xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[][5]">
<item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]">
<item xsi:type="xsd:string">Biff</item>
<item xsi:type="xsd:string">Binkman</item>
<item xsi:type="xsd:dateTime">1970-11-02T05:00:00.000Z</item>
</item>
<item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]">
<item xsi:type="xsd:string">Jack</item>
<item xsi:type="xsd:string">Splat</item>
<item xsi:type="xsd:dateTime">1986-01-30T05:00:00.000Z</item>
</item>
<item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]">
<item xsi:type="xsd:string">John</item>
<item xsi:type="xsd:string">Jehosephat</item>
<item xsi:type="xsd:dateTime">1977-02-14T05:00:00.000Z</item>
</item>
<item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]">
<item xsi:type="xsd:string">Jim</item>
<item xsi:type="xsd:string">Susquehanna</item>
<item xsi:type="xsd:dateTime">1982-02-01T05:00:00.000Z</item>
</item>
<item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]">
<item xsi:type="xsd:string">Frank</item>
<item xsi:type="xsd:string">Frappuccino</item>
<item xsi:type="xsd:dateTime">1976-02-15T05:00:00.000Z</item>
</item>
</data>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
POST /flashservices/gateway HTTP/1.1
Referer: http://localhost:8080/flashservices/gateway
x-flash-version: 7,0,14,0
Content-Type: application/x-amf
Content-Length: 44
User-Agent: Shockwave Flash
Host: localhost:8080
Cache-Control: no-cache
Cookie: CFID=306; CFTOKEN=50206982
ms_flash.Users.getUsers /1
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.1
Date: Sat, 26 Jun 2004 14:30:20 GMT
X-Powered-By: ASP.NET
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Sat, 26 Jun 2004 14:30:20 GMT
X-Powered-By: ASP.NET
Content-Type: application/x-amf
Content-Length: 405
/1/onResult nullÿÿÿÿ RecordSet
serverinfo cursor ?ð columnNames
First Name Last Name Birthdate serviceName PageableResultSet
totalCount @ id version ?ð initialData
Biff BinkmanB þÔ
Jack SplatB]‰…Ñ þÔ
John
JehosephatBJ)ç²@ þÔ
Jim SusquehannaBV3< þÔ
Frank FrappuccinoBF~@ þÔ