You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ka...@apache.org on 2007/06/19 11:07:06 UTC

svn commit: r548661 - in /webservices/rampart/trunk/c: samples/ABOUT_SAMPLES samples/secpolicy/deploy.sh xdocs/docs/configurations.html

Author: kaushalye
Date: Tue Jun 19 02:07:05 2007
New Revision: 548661

URL: http://svn.apache.org/viewvc?view=rev&rev=548661
Log:
Changing deploy script

Modified:
    webservices/rampart/trunk/c/samples/ABOUT_SAMPLES
    webservices/rampart/trunk/c/samples/secpolicy/deploy.sh
    webservices/rampart/trunk/c/xdocs/docs/configurations.html

Modified: webservices/rampart/trunk/c/samples/ABOUT_SAMPLES
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/ABOUT_SAMPLES?view=diff&rev=548661&r1=548660&r2=548661
==============================================================================
--- webservices/rampart/trunk/c/samples/ABOUT_SAMPLES (original)
+++ webservices/rampart/trunk/c/samples/ABOUT_SAMPLES Tue Jun 19 02:07:05 2007
@@ -1,4 +1,4 @@
-Following is a breif description of Rampart/C samples
+Following is a brief description of Rampart/C samples
 
 Service : samples/services/sec_echo
 ---------------------------

Modified: webservices/rampart/trunk/c/samples/secpolicy/deploy.sh
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/secpolicy/deploy.sh?view=diff&rev=548661&r1=548660&r2=548661
==============================================================================
--- webservices/rampart/trunk/c/samples/secpolicy/deploy.sh (original)
+++ webservices/rampart/trunk/c/samples/secpolicy/deploy.sh Tue Jun 19 02:07:05 2007
@@ -5,32 +5,26 @@
     exit
 fi
 
-CLIENT_REPO="$AXIS2C_HOME/client_repo"
-SERVICE_HOME="$AXIS2C_HOME/services/sec_echo"
+INST_DIR=$AXIS2C_HOME
+CLIENT_REPO="$INST_DIR/client_repo"
+SERVICE_HOME="$INST_DIR/services/sec_echo"
 
 #COPYING THE RELEVENT POLICY FILES TO CLIENT AND SERVER
 
-#copy client policy file to CLIENT_REPO
-#echo "Copying client policy files to $CLIENT_REPO"
-#cp $1/client-policy.xml $CLIENT_REPO/policy.xml
 
 echo "Replacing settings in policy files."
 if [ `uname -s` = Darwin ]
 then
-    sed -e 's,AXIS2C_HOME,'$AXIS2C_HOME',g' -e 's,\.so,\.dylib,g' $1/client-policy.xml > $CLIENT_REPO/policy.xml
+    sed -e 's,AXIS2C_HOME,'$INST_DIR',g' -e 's,\.so,\.dylib,g' $1/client-policy.xml > $CLIENT_REPO/policy.xml
 else
-    sed 's,AXIS2C_HOME,'$AXIS2C_HOME',g' $1/client-policy.xml > $CLIENT_REPO/policy.xml
+    sed 's,AXIS2C_HOME,'$INST_DIR',g' $1/client-policy.xml > $CLIENT_REPO/policy.xml
 fi
 
-#copy services.xml to SERVICE_HOME
-#echo "Copying services.xml to $SERVICE_HOME"
-#cp $1/services.xml $SERVICE_HOME/services.xml
-
 echo "Replacing settings in Configuration files."
 if [ `uname -s` = Darwin ]
 then
-    sed -e 's,AXIS2C_HOME,'$AXIS2C_HOME',g' -e 's,\.so,\.dylib,g' $1/services.xml > $SERVICE_HOME/services.xml
+    sed -e 's,AXIS2C_HOME,'$INST_DIR',g' -e 's,\.so,\.dylib,g' $1/services.xml > $SERVICE_HOME/services.xml
 else
-    sed 's,AXIS2C_HOME,'$AXIS2C_HOME',g' $1/services.xml > $SERVICE_HOME/services.xml
+    sed 's,AXIS2C_HOME,'$INST_DIR',g' $1/services.xml > $SERVICE_HOME/services.xml
 fi
 

Modified: webservices/rampart/trunk/c/xdocs/docs/configurations.html
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/xdocs/docs/configurations.html?view=diff&rev=548661&r1=548660&r2=548661
==============================================================================
--- webservices/rampart/trunk/c/xdocs/docs/configurations.html (original)
+++ webservices/rampart/trunk/c/xdocs/docs/configurations.html Tue Jun 19 02:07:05 2007
@@ -80,7 +80,7 @@
                     <sp:MustSupportRefKeyIdentifier/>
                     <sp:MustSupportRefEmbeddedToken/>
                     <sp:MustSupportRefIssuerSerial/>
- </wsp:Policy>
+                </wsp:Policy>
             </sp:Wss10>
             <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
                 <sp:Body/>
@@ -113,12 +113,12 @@
    <description>
         This is a testing service , to test the system is working or not
    </description>
-    <module ref="rampart"/>
-    <operation name="echoString">
+   <module ref="rampart"/>
+   <operation name="echoString">
             <parameter name="wsamapping">http://example.com/ws/2004/09/policy/Test/EchoRequest</parameter>
-    </operation>
+   </operation>
 
-    	<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
+    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
 		<!--Your policies are here-->
 	</wsp:Policy>
 </service>