Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > b11a2727b72967fc3dd0452f1b45d651 > files > 5

glassfish-saaj-javadoc-1.3.18-2.mga3.noarch.rpm

<!--

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.

    The contents of this file are subject to the terms of either the GNU
    General Public License Version 2 only ("GPL") or the Common Development
    and Distribution License("CDDL") (collectively, the "License").  You
    may not use this file except in compliance with the License.  You can
    obtain a copy of the License at
    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
    or packager/legal/LICENSE.txt.  See the License for the specific
    language governing permissions and limitations under the License.

    When distributing the software, include this License Header Notice in each
    file and include the License file at packager/legal/LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [year] [name of copyright owner]"

    Contributor(s):
    If you wish your version of this file to be governed by only the CDDL or
    only the GPL Version 2, indicate your decision by adding "[Contributor]
    elects to include this software in this distribution under the [CDDL or GPL
    Version 2] license."  If you don't indicate a single choice of license, a
    recipient has the option to distribute your version of this file under
    either the CDDL, the GPL Version 2 or to extend the choice of license to
    its licensees as provided above.  However, if you add GPL Version 2 code
    and therefore, elected the GPL Version 2 license, then the option applies
    only if the new code is made subject to such option by the copyright
    holder.

-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- SAAJ samples -->
  <title>SAAJ Sample Applications</title>
  <link rel="stylesheet" type="text/css" href="style/default.css">
</head>
<body>
<center>
<h1> <font color="#000099">SOAP with Attachments API for Java<sup><font
 size="-2">TM</font></sup> <br>
Sample Applications</font></h1>
<b>Specification Version:</b> 1.3<br>
<b>Reference Implementation (RI) Version:</b> 1.3 <br>
</center>
<h3>List of Sample Applications</h3>
<blockquote>
  <dl>
    <dt><a href="http://localhost:8080/saaj-simple"><b>saaj-simple</b></a></dt>
    <dd>
      <p>This sample application demonstrates how to send a simple <code>SOAPMessage</code>
from a sender (servlet) to a receiver (servlet). This shows a simple
round-trip message; the receiver responds with a reply. The messages
appear in the directory from which you started the Web container.</p>
    </dd>
    <dd>&nbsp;</dd>
    <dt><a href="http://localhost:8080/saaj-book"><b>saaj-book</b></a></dt>
    <dd>
      <p>This sample Web application demonstrates how to create and
send a <code>SOAPMessage</code> from a sender (servlet) to a receiver
(servlet). This sample demonstrates how a DOM document can be used in
conjunction with SAAJ. A DOM document is created from information read
from an XML file, and the content is added to the body of a message.
The messages appear in the directory from which you started the Web
container.</p>
    </dd>
    <dd>&nbsp;</dd>
    <dt><a href="http://localhost:8080/saaj-translator"><b>saaj-translator</b></a></dt>
    <dd>
      <p>This sample uses Altavista's babelfish translation service to
translate text. The text to be translated is sent within a <code>SOAPMessage</code>
to the TranslationService.</p>
      <p> The TranslationService, in turn, talks to
babelfish.altavista.com, making an HTTP connection, and extracts the
translations of the input text string from the response. The text is
translated into German, Italian, and French. </p>
      <p> The translations can be returned either as attachments to a
SAAJ message or within the <code>SOAPBody</code>, depending on which
option is chosen through the radio button from the application's <code>index.html</code>
file. If you use a proxy, the proxy settings (both host and port) need
to be entered.</p>
    </dd>
    <dd>&nbsp;</dd>
    <dt><b>saaj/samples/uddiping</b></dt>
    <dd>
      <p>This sample application is a real-time application that talks
to a live UDDI registry. It sends a <code>SOAPMessage</code> query to
the registry and prints out the message response using the SAAJ API.</p>
      <p> Instructions for running this sample are in a README file in
the <code>uddiping</code> directory.</p>
    </dd>
    <dd>&nbsp;</dd>
    <dt><b>saaj/samples/soapprocessor</b></dt>
    <dd>
      <p>This sample provides an API that implements a <code>SOAPProcessor</code>
object, which implements the processing model described in <a
 href="http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383491">The
SOAP Message Exchange Model</a>. The sample consists of a JAR file,
which can be used by other sample applications, and the associated
source code.</p>
      <p> For more information about this sample, see the README file
in the <code>soapprocessor</code> directory.</p>
    </dd>
    <dd>&nbsp;</dd>
  </dl>
</blockquote>
</body>
</html>