In a nutshell, it's a way of envoking methods of remote objects.  It's
actually more like RPC's than DCOM...

Here's what a SOAP reqeust looks like for a remote method HelloWorld(using
ASP.NET Web Services)  You can also Contact through HTTP GET and HTTP POST
methods, however, using SOAP you won't need HTTP GET/POST:

POST /costas/MyFirstProject/VoyagerAPI.asmx HTTP/1.1
Host: costas-test
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/HelloWorld";

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Body>
    <HelloWorld xmlns="http://tempuri.org/";>
      <TempVar>string</TempVar>
    </HelloWorld>
  </soap:Body>
</soap:Envelope>

Here's a response:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Body>
    <HelloWorldResponse xmlns="http://tempuri.org/";>
      <HelloWorldResult>string</HelloWorldResult>
    </HelloWorldResponse>
  </soap:Body>
</soap:Envelope>





-----Original Message-----
From: Baskin, Dave [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 01, 2001 8:44 AM
To: CF-Talk
Subject: SOAP - was BOOKS for XML


I've heard talk of SOAP around the office but haven't had time to look into
what it is. Can anyone give a quick overview of what it is and it's
benefits. Thanks.

d

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]

Since XML is a very broad topic, you might be more interested in a specific
use of XML. There are plenty of books covering these more specific topics,
such as SOAP.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to