| ... |
... |
@@ -30,8 +30,7 @@ |
| 30 |
30 |
The next step is to decide which //service variants// you want to provide. There are three of them: |
| 31 |
31 |
|
| 32 |
32 |
* SOAP over HTTP, |
| 33 |
|
-* SOAP over HTTPS, and |
| 34 |
|
-* jETI. |
|
33 |
+* SOAP over HTTPS |
| 35 |
35 |
|
| 36 |
36 |
As the following listing shows, you can define the variants to be published by the server in the provider configuration. In the given example, SOAP over HTTP and jETI are available: |
| 37 |
37 |
|
| ... |
... |
@@ -42,11 +42,9 @@ |
| 42 |
42 |
# Use this option to configure whether the JAXWS layout will be published HTTPS based |
| 43 |
43 |
de.cau.cs.kieler.kwebs.jaxws.publishHttps=false |
| 44 |
44 |
|
| 45 |
|
-# Use this option to configure whether the layout will be published jETI based |
| 46 |
|
-de.cau.cs.kieler.kwebs.publishJeti=true |
| 47 |
47 |
{{/code}} |
| 48 |
48 |
|
| 49 |
|
-The next step is to define how the variants are being published. All variants per default only accept requests from {{code language="none"}}localhost{{/code}}. In order to make them publicly available you need to configure from which IPs the variants are accepting requests from. You can also define the port a variant is listening on and the HTTP context it is bound to. In the following example they are accepting requests from {{code language="none"}}0.0.0.0{{/code}}, meaning that they accept incoming requests from any client. The SOAP over HTTP variant is bound to port {{code language="none"}}8442{{/code}} and the context {{code language="none"}}layout{{/code}}. You cannot define a context for the jETI variant due to the proprietary nature of the transport protocol jETI uses. |
|
46 |
+The next step is to define how the variants are being published. All variants per default only accept requests from {{code language="none"}}localhost{{/code}}. In order to make them publicly available you need to configure from which IPs the variants are accepting requests from. You can also define the port a variant is listening on and the HTTP context it is bound to. In the following example they are accepting requests from {{code language="none"}}0.0.0.0{{/code}}, meaning that they accept incoming requests from any client. The SOAP over HTTP variant is bound to port {{code language="none"}}8442{{/code}} and the context {{code language="none"}}layout{{/code}}. |
| 50 |
50 |
|
| 51 |
51 |
{{code language="bash"}} |
| 52 |
52 |
# Use this option to configure the address, port and context under |
| ... |
... |
@@ -53,13 +53,6 @@ |
| 53 |
53 |
# which the SOAP variant will be published over HTTP |
| 54 |
54 |
de.cau.cs.kieler.kwebs.jaxws.httpAddress=http://0.0.0.0:8442/layout |
| 55 |
55 |
|
| 56 |
|
-# Use this option to configure the address under which the jETI |
| 57 |
|
-# variant will be published |
| 58 |
|
-de.cau.cs.kieler.kwebs.jeti.server.hostname=0.0.0.0 |
| 59 |
|
- |
| 60 |
|
-# Use this option to configure the port under which the jETI |
| 61 |
|
-# variant will be published |
| 62 |
|
-de.cau.cs.kieler.kwebs.jeti.connector.sepp.port=9867 |
| 63 |
63 |
{{/code}} |
| 64 |
64 |
|
| 65 |
65 |
If you decide to publish the SOAP over HTTPS variant you need a server certificate in order to secure the connection. While a certificate that has been officially signed by a Certificate Authority (CA) is preferable, the server provides a java key store containing a self signed certificate. It is located in the folder {{code language="none"}}server/kwebs/security/keystores{{/code}} beneath the root directory of your server installation, the name of the key store is {{code language="none"}}server.jks{{/code}}. Furthermore, due to the nature of the SSL-implementation of the java platform, the server provides the corresponding client trust store that clients can use to add the server certificate to the list of certificates the java runtime implicitly trusts ({{code language="none"}}client.jks{{/code}}). The server also contains a script ({{code language="none"}}GenerateCertsAndKeystores.sh{{/code}}) that allows you to generate these by yourself. You can find it in the folder {{code language="none"}}server/cmd{{/code}} beneath the root directory of your server installation. The script requires the presence of OpenSSL ([[http:~~/~~/www.openssl.org/>>url:http://www.openssl.org/||shape="rect"]]). While it is generally already installed on Linux platforms, for a Windows based server you need to download and install the OpenSSL toolkit ([[http:~~/~~/www.openssl.org/related/binaries.html>>url:http://www.openssl.org/related/binaries.html||shape="rect"]]). |