?? x775.htm
字號:
<HTML
><HEAD
><TITLE
>XML-RPC and SOAP</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="Programming Jabber"
HREF="book1.htm"><LINK
REL="UP"
TITLE="Inside Jabber"
HREF="c445.htm"><LINK
REL="PREVIOUS"
TITLE="Custom Clients"
HREF="x760.htm"><LINK
REL="NEXT"
TITLE="Browsing"
HREF="x780.htm"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Programming Jabber</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x760.htm"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. Inside Jabber</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x780.htm"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="JABTDG-CH-2-SECT-2.8"
>XML-RPC and SOAP</A
></H1
><P
>Realising that if Jabber is an XML router that can carry
XML-based custom payloads in synchronous and asynchronous modes, we can
immediately start to imagine scenarios where Jabber fits as a transport
glue in other already established application domains.</P
><P
>The XML Remote Procedure Call (XML-RPC) specification and the Simple Object
Access Protocol (SOAP)
both formalize method calls and responses in XML. XML-RPC
was designed to use HTTP to carry those encoded calls and responses between
endpoints, and SOAP can use HTTP too. What if we carry XML-RPC or SOAP
payloads in Jabber? We immediately see the step-change increase in contextual
richness; XML-RPC interactivity becomes part of a wider, all-encompassing
conversation between applications and humans. Traditional IM-based clients,
applications using client stub libraries, and components can all make use
of the power of what these technologies have to offer, without having to
leave the comfort of their Jabber environment, which can serve as a
messaging plasma between all sorts of entities and services. </P
><P
>We'll have a look at embedding XML-RPC and SOAP calls in Jabber messages
in Part II of the book.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x760.htm"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.htm"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x780.htm"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Custom Clients</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c445.htm"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Browsing</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -