jechawke    01/12/12 15:51:16

  Modified:    targets/soap/faq faq_chawke_smtp.html
  Log:
  Added note on location of IBM pop/smtp jars on ibm.com, as per request by 
Lucas Gonze.
  
  Revision  Changes    Path
  1.2       +2 -2      xml-site/targets/soap/faq/faq_chawke_smtp.html
  
  Index: faq_chawke_smtp.html
  ===================================================================
  RCS file: /home/cvs/xml-site/targets/soap/faq/faq_chawke_smtp.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- faq_chawke_smtp.html      2001/05/23 15:31:54     1.1
  +++ faq_chawke_smtp.html      2001/12/12 23:51:16     1.2
  @@ -33,7 +33,7 @@
   </B>The writers of the SOAP 1.1 protocol [<A 
HREF="http://www.w3.org/TR/SOAP/";>http://www.w3.org/TR/SOAP/</A>] note that:
   '<I>SOAP can potentially be used in combination with a variety of other 
protocols; however, the only bindings defined in this document describe how to 
use SOAP in combination with HTTP and HTTP Extension Framework</I>'.
   <br> 
  -One of the nice things about SOAP is that it isn�t restricted to a 
particular transport layer. Most - if not all - implementations are currently 
using HTTP to transport SOAP messages, but there is no reason why you can�t use 
other layers, such as SMTP.
  +One of the nice things about SOAP is that it isn't restricted to a 
particular transport layer. Most - if not all - implementations are currently 
using HTTP to transport SOAP messages, but there is no reason why you can�t use 
other layers, such as SMTP.
   <H2>Apache SOAP Provides an SMTP Transport</H2>
   The Apache SOAP distribution includes classes which permit the servicing of 
SOAP requests using e-mail. It does this using a combination of SMTP [<A 
HREF="http://www.freesoft.org/CIE/RFC/821/";>http://www.freesoft.org/CIE/RFC/821/]</A>
 and POP [<A 
HREF="http://www.freesoft.org/CIE/RFC/1725/";>http://www.freesoft.org/CIE/RFC/1725/</A>].
 
   A class called <CODE>SMTP2HTTPBridge</CODE> must be running in a separate 
JVM on the server. As the name suggests, this class operates as a bridge, 
mapping requests between HTTP and SMTP.
  @@ -42,7 +42,7 @@
   <OL TYPE="a">
   </B>
   <LI>Ensure that the machine you are using is running POP3 and SMTP services 
(or can access another machine that provides them). Note that the scripts shown 
below assume that a POP3 service is running locally.</LI>
  -<LI>Download the POP3 and SMTP jar files from the Apache SOAP web site 
(currently they are here: <A 
HREF="http://xml.apache.org/dist/soap/";>http://xml.apache.org/dist/soap/</A>). 
The SMTP bridge software uses these classes to send and receive e-mail 
messages.</LI>
  +<LI>Download the POP3 and SMTP jar files from the Apache SOAP web site 
(currently they are here: <A 
HREF="http://xml.apache.org/dist/soap/";>http://xml.apache.org/dist/soap/</A>). 
Note that these are IBM (and not Sun) jars, and they are also available from 
IBM at <A 
HREF="http://www.alphaworks.ibm.com/ab.nsf/techreqs/SMTP";>http://www.alphaworks.ibm.com/ab.nsf/techreqs/SMTP</a>
 and <A 
HREF="http://www.alphaworks.ibm.com/ab.nsf/techreqs/POP3";>http://www.alphaworks.ibm.com/ab.nsf/techreqs/POP3</a>,
 respectively. The SMTP bridge software uses these classes to send and receive 
e-mail messages.</LI>
   <LI>Ensure that the POP3 and SMTP jar files (<CODE>pop3.jar</CODE> and 
<CODE>smtp.jar</CODE>) are included in your classpath.</LI>
   <LI>Create a new account (e.g. <CODE>soaprouter</CODE>) under which the SOAP 
bridge will execute. This makes life easier in the long term, and avoids 
filling your mail box with loads of XML messages!</LI>
   <LI>The Apache SOAP distribution includes a class that maps requests between 
HTTP and SMTP. Login to the new account and launch this Java class - it�s 
called <CODE>org.apache.soap.server.SMTP2HTTPBridge</CODE>. Don�t forget to 
include the <CODE>pop3.jar</CODE> and <CODE>smtp.jar</CODE> in your classpath 
or it won�t work! A sample (Unix) shell script to launch the class is provided 
here:</LI>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to