Author: asankha
Date: Mon Feb 19 08:52:07 2007
New Revision: 509251
URL: http://svn.apache.org/viewvc?view=rev&rev=509251
Log:
fixed endorsed dir's for sample server for unix scripts and updated the config
language doc
Modified:
webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.sh
webservices/synapse/trunk/java/src/main/bin/synapse.sh
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
Modified:
webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.sh
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.sh?view=diff&rev=509251&r1=509250&r2=509251
==============================================================================
---
webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.sh
(original)
+++
webservices/synapse/trunk/java/modules/samples/src/main/scripts/axis2server.sh
Mon Feb 19 08:52:07 2007
@@ -95,6 +95,9 @@
JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
fi
+# endorsed dir
+AXIS2_ENDORSED=$AXIS2_HOME/../../lib/endorsed
+
echo " Using JAVA_HOME: $JAVA_HOME"
echo " Using AXIS2 Repository : $AXIS2_HOME/repository"
echo " Using AXIS2 Configuration : $AXIS2_HOME/repository/conf/axis2.xml"
@@ -104,5 +107,5 @@
PORT="-Dport=$2"
fi
-java $PORT -classpath $AXIS2_CLASSPATH samples.util.SampleAxis2Server \
+java $PORT -Djava.endorsed.dirs=$AXIS2_ENDORSED -classpath $AXIS2_CLASSPATH
samples.util.SampleAxis2Server \
-repo $AXIS2_HOME/repository -conf $AXIS2_HOME/repository/conf/axis2.xml
Modified: webservices/synapse/trunk/java/src/main/bin/synapse.sh
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/main/bin/synapse.sh?view=diff&rev=509251&r1=509250&r2=509251
==============================================================================
--- webservices/synapse/trunk/java/src/main/bin/synapse.sh (original)
+++ webservices/synapse/trunk/java/src/main/bin/synapse.sh Mon Feb 19 08:52:07
2007
@@ -100,7 +100,7 @@
JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
fi
# endorsed dir
-SYNAPSE_ENDORSED=$JAVA_HOME/lib/endorsed
+SYNAPSE_ENDORSED=$SYNAPSE_HOME/lib/endorsed
# synapse.xml
SYNAPSE_XML=-Dsynapse.xml=$SYNAPSE_HOME/repository/conf/synapse.xml
Modified:
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html?view=diff&rev=509251&r1=509250&r2=509251
==============================================================================
---
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
(original)
+++
webservices/synapse/trunk/java/src/site/resources/Synapse_Configuration_Language.html
Mon Feb 19 08:52:07 2007
@@ -1,20 +1,20 @@
<!--
-~ Licensed to the Apache Software Foundation (ASF) under one
-~ or more contributor license agreements. See the NOTICE file
-~ distributed with this work for additional information
-~ regarding copyright ownership. The ASF licenses this file
-~ to you under the Apache License, Version 2.0 (the
-~ "License"); you may not use this file except in compliance
-~ with the License. You may obtain a copy of the License at
+~ Licensed to the Apache Software Foundation (ASF) under one
+~ or more contributor license agreements. See the NOTICE file
+~ distributed with this work for additional information
+~ regarding copyright ownership. The ASF licenses this file
+~ to you under the Apache License, Version 2.0 (the
+~ "License"); you may not use this file except in compliance
+~ with the License. You may obtain a copy of the License at
~
-~ http://www.apache.org/licenses/LICENSE-2.0
+~ http://www.apache.org/licenses/LICENSE-2.0
~
-~ Unless required by applicable law or agreed to in writing,
-~ software distributed under the License is distributed on an
-~ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~ KIND, either express or implied. See the License for the
-~ specific language governing permissions and limitations
-~ under the License.
+~ Unless required by applicable law or agreed to in writing,
+~ software distributed under the License is distributed on an
+~ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~ KIND, either express or implied. See the License for the
+~ specific language governing permissions and limitations
+~ under the License.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
@@ -36,7 +36,7 @@
<p>A Synapse configuration looks like the following at the top level:</p>
<pre> <synapse>
- registrydef
+ registrydef+
<definitions>
(sequencedef | endpointdef | literalpropertydef)+
<definitions>?
@@ -56,10 +56,10 @@
<property name="string" value="string"/>*
</registry></pre>
-<p>The registry definition without a name becomes the 'default' registry
-instance for the Synapse instance, and any reference to a registry which does
-not specify a registry name defaults to this instance. Optionally, a number
-of configuration properties may be specified to configure an instance of a
+<p>The registry definition without a name becomes the 'default' registry for
+the Synapse instance, and any reference to a registry which does not specify
+a registry name defaults to this instance. Optionally, a number of
+configuration properties may be specified to configure an instance of a
registry.</p>
<h3>Definitions</h3>
@@ -116,25 +116,16 @@
to give a logical name to an endpoint address. If the address is not just a
simple URL, then extensibility elements may be used to indicate the address
(i.e. to compute the address at runtime).</p>
-<pre> <endpoint name="string" [address="url"] [key="string"]>
+<pre> <endpoint name="string" [address="url"] [key="string"]
[force="soap|pox"] [optimize="mtom|swa"]>
<enableRM/>?
<enableSec [policy="key"]/>?
- <enableAddressing/>?
+ <enableAddressing separateListener="true|false"/>?
.. extensibility ..
</endpoint></pre>
-<p>An Axis2 Parameter element within an endpoint definition with the name "
-OutflowSecurity" describes the Apache Rampart security configuration to be
-used for messages flowing to this endpoint. Please see Rampart/Axis2
-documentation for more details.</p>
-
-<p>A Policy element within an endpoint definition with an Id of "RMPolicy"
-describes the Apache Sandesha2 RM configuration (or any overrides against the
-default) to be used for messages flowing to this endpoint. Please see
-Sandesha2/Axis2 documentation for more details.</p>
-
<p>The enableRM/enableSec options turns on WS-Security or WS-RM on outgoing
-messages to this endpoint.</p>
+messages to this endpoint and specific policies may be specified for
+configuration</p>
<p>A Dynamic Endpoint may be defined by specifying a Dynamic Property as its
definition. As the dynamic property changes, the endpoint will dynamically be
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]