File: index.html

package info (click to toggle)
xml-soap 2.2-6
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 2,492 kB
  • ctags: 1,934
  • sloc: java: 15,895; xml: 740; jsp: 580; cpp: 561; sh: 235; makefile: 127
file content (169 lines) | stat: -rw-r--r-- 6,671 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Apache SOAP Installation Instructions</title>
</head>

<body bgcolor="#FFFFFF">

<h2 align="center">Installation Instructions for Apache SOAP v2.2</h2>

<p>The Apache-SOAP distribution can be installed for use as a
client or as a server. This document provides installation
instructions for both cases and also has a trouble shooting
section to help sort out common installation related problems.</p>

<p><strong>Important note for users upgrading from older versions
of Apache SOAP: </strong>If you are upgrading from an older
version of Apache SOAP then you must be sure to remove any cached
class files, DeployedServices.ds files etc. or you will get a
variety of strange errors. If you deployed Apache SOAP using a
Web app, then any old expanded WARs must also be removed.
Services deployed into the old version cannot be automatically
transferred to the new version - you must manually re-deploy them
to the new version. That is, the old DeployedServices.ds file
cannot be read by this new version. We apologize in advanced for
the pain this will cause some of our users. If you are in fact
upgrading from an older version of Apache SOAP and get any funny,
unusual looking exceptions or behavior, then most likely the
problem is some unexpected interaction with code from the older
version. Please clean up and try again or try installing in a
virgin environment.</p>

<h3>Unpack the Distribution</h3>

<p>We assume that you have downloaded the binary distribution of
Apache-SOAP and have extracted the archive into the directory <tt>/foo</tt>.
Thus the files from the distribution are in the directory <tt>/foo/soap-2_2/</tt>.</p>

<p>Note that if you are on a Win32 machine then you should
replace &quot;/&quot; with &quot;\&quot; as you follow these
instructions.</p>

<h3>Client-Side Instructions</h3>

<p>Your classpath must contain <strong>/foo/soap-2_2/soap.jar</strong>
and the following:</p>

<ul>
    <li><strong>mail.jar</strong> from <a
        href="http://java.sun.com/products/javamail/">JavaMail</a></li>
    <li><strong>activation.jar </strong>from <a
        href="http://java.sun.com/products/beans/glasgow/jaf.html">JavaBeans
        Activation Framework</a></li>
    <li>a <a href="http://java.sun.com/xml/xml_jaxp.html"
        target="_top">JAXP</a> compatible, namespace-aware XML
        parser such as <a href="http://xml.apache.org/xerces-j">Apache
        Xerces</a> (v1.1.2 or later). If you have other non-namespace
        aware XML parsers on your classpath then the namespace-aware
        parser must be at the front of your classpath. Apache
        SOAP will not work otherwise.</li>
</ul>

<p>Additionally, to run the samples that came with the
distribution, add <strong>/foo/soap-2_2</strong> to your
classpath.</p>

<h3>Server-Side Instructions</h3>

<p>You need to ensure that the server classpath contains all of
the above components. In addition, to implement services in
scripting languages (such as the calculator sample), add <strong>bsf.jar</strong>
from <a
href="http://oss.software.ibm.com/developerworks/projects/bsf">BSF</a>
and <strong>js.jar</strong> from <a
href="http://www.mozilla.org/rhino/">Rhino</a> to your classpath.</p>

<p>To install the server-side of Apache-SOAP, you need a Web
application server that supports servlets and JSPs (if you want
to run the admin client as well). </p>

<p><strong>Installing the router servlets and admin client:</strong>
The instructions for how to install varies from one app server to
another. Here are instructions for the following servers:</p>

<ul>
    <li><a href="tomcat.html">Apache Tomcat v3.2</a></li>
    <li><a href="weblogic51.html">BEA WebLogic Application Server
        v5.1</a></li>
    <li><a href="weblogic60.html">BEA WebLogic Application Server
        v6.0</a></li>
    <li><a href="websphere.html">IBM WebSphere v3.5</a></li>
    <li><a href="iPlanet.html">iPlanet Application Server 6.0</a></li>
    <li><a href="JRun.html">JRun 3.0</a></li>
</ul>

<p>Didn't find yours listed? See whether the instructions for
Tomcat (for example) gives you enough hints on how to do it. If
not, first check the FAQ (<a
href="http://xml.apache.org/soap/faq" target="_top">http://xml.apache.org/soap/faq</a>)
and if that fails try asking on the Apache-SOAP user's list; more
than likely someone else has done it already. You can subscribe
to the list here: <a href="http://xml.apache.org/soap/mail.html"
target="_top">http://xml.apache.org/soap/mail.html</a>.</p>

<h3><a name="test-install">Testing Your Server-Side Installation</a></h3>

<p>Point your browser to:</p>

<blockquote>
    <p><code>http://localhost:port/soap/servlet/rpcrouter</code> </p>
</blockquote>

<p>and</p>

<blockquote>
    <p><code>http://localhost:port/soap/servlet/messagerouter</code>
    </p>
</blockquote>

<p>where <code>port</code> is <code>8080</code>, or <code>4040</code>,
or whatever port your particular HTTP server is listening on. The
browser should display the following:</p>

<blockquote>
    <h4>SOAP (RPC|Message) Router</h4>
    <p><code>Sorry, I don't speak via HTTP GET- you have to use
    HTTP POST to talk to me. </code></p>
</blockquote>

<p>If you don't see this message, your server is not configured
correctly. If you do, you now know your router URLs: they are the
URLs you pointed your browser to.</p>

<p>To test whether you have proper server and client-side stuff
set up, follow the client-side instructions to put the right
things on your classpath and type the following:</p>

<blockquote>
    <p><code>java org.apache.soap.server.ServiceManagerClient </code><code><em>rpc-router-url</em></code><code>
    list</code> </p>
</blockquote>

<p>where the first argument above is the RPC router URL you
determined earlier (the one with &quot;rpcrouter&quot; at the end).
[NOTE: The above command line is one long line; your browser may
show it on two lines but do NOT put it on two lines!]</p>

<p>If this succeeds you will see it return with no output or with
a list of URIs. Either case is successful - it indicates what
services are already deployed on your server. If you get anything
else then its time to <a href="../trouble/index.html">troubleshoot</a>.
</p>

<h3>SSL Instructions</h3>

<p><strong>Getting SSL support up and running:</strong> The
instructions for how to get SSL support running vary from server
to server: Here are instructions for the following servers:</p>

<ul>
    <li><a href="FAQ_Tomcat_SOAP_SSL.html">Apache Tomcat v3.2</a></li>
</ul>

<p>&nbsp;</p>
</body>
</html>