Author: shankar
Date: Tue Sep 30 20:35:15 2008
New Revision: 700670

URL: http://svn.apache.org/viewvc?rev=700670&view=rev
Log:
Adding makefile and supporting files

Added:
    webservices/rampart/trunk/c/samples/client/saml_protect/Makefile.am
    webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.bat
    webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.sh   
(with props)

Added: webservices/rampart/trunk/c/samples/client/saml_protect/Makefile.am
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/client/saml_protect/Makefile.am?rev=700670&view=auto
==============================================================================
--- webservices/rampart/trunk/c/samples/client/saml_protect/Makefile.am (added)
+++ webservices/rampart/trunk/c/samples/client/saml_protect/Makefile.am Tue Sep 
30 20:35:15 2008
@@ -0,0 +1,28 @@
+prgbindir=$(prefix)/bin/samples/rampart/client/saml_protect
+prgbin_PROGRAMS = saml_protect
+datadir=$(prefix)/bin/samples/rampart/client/saml_protect
+data_DATA= update_n_run.sh
+saml_protect_SOURCES = echo.c 
+
+saml_protect_LDADD   = $(LDFLAGS) \
+                    -L$(AXIS2C_HOME)/lib \
+                                       -L$(AXIS2C_HOME)/modules/rampart \
+                                       -laxutil \
+                    -laxis2_axiom \
+                                       -lneethi \
+                                       -lsecconv \
+                    -laxis2_engine \
+                    -laxis2_parser \
+                    -lpthread \
+                    -laxis2_http_sender \
+                    -laxis2_http_receiver \
+                                       -lmod_rampart \
+                                       -lomxmlsec \
+                    $(GUTHTHILA_LIBS) \
+                    $(LIBXML2_LIBS)
+
+INCLUDES = @AXIS2INC@ \
+                  -I$(AXIS2C_HOME)/include \
+            -I ../../../include 
+
+EXTRA_DIST = update_n_run.sh update_n_run.bat

Added: webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.bat
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.bat?rev=700670&view=auto
==============================================================================
--- webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.bat 
(added)
+++ webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.bat 
Tue Sep 30 20:35:15 2008
@@ -0,0 +1,11 @@
[EMAIL PROTECTED] off
+rem if your client repository is different, change the value.
+set CLIENT_REPO=%AXIS2C_HOME%\client_repo
+
+rem INSTALL MODULE to make sure that both server and client have the same 
module.
+echo "Copying latest module to client_repo"
+xcopy /E /Y /I "%AXIS2C_HOME%\modules\rampart" "%CLIENT_REPO%\modules\rampart"
+
+%AXIS2C_HOME%\bin\samples\rampart\client\saml_echo\echo.exe 
http://localhost:9090/axis2/services/sec_echo/echoString %CLIENT_REPO%
+
[EMAIL PROTECTED] on

Added: webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.sh
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.sh?rev=700670&view=auto
==============================================================================
--- webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.sh 
(added)
+++ webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.sh Tue 
Sep 30 20:35:15 2008
@@ -0,0 +1,11 @@
+#!/bin/bash
+#If your client repository is different, change the value.
+CLIENT_REPO="$AXIS2C_HOME/client_repo"
+
+#INSTALL MODULE to make sure that both server and client have the same module.
+echo "Copying latest module to client_repo"
+cp -r $AXIS2C_HOME/modules/rampart $CLIENT_REPO/modules
+
+#RUN
+./saml_protect http://localhost:9090/axis2/services/sec_echo/echoString 
$CLIENT_REPO
+

Propchange: 
webservices/rampart/trunk/c/samples/client/saml_protect/update_n_run.sh
------------------------------------------------------------------------------
    svn:executable = *


Reply via email to