axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r528985 - in /webservices/axis2/trunk/c: ./ src/ src/modules/ xdocs/ xdocs/docs/
Date Sun, 15 Apr 2007 14:31:55 GMT
Author: samisa
Date: Sun Apr 15 07:31:54 2007
New Revision: 528985

URL: http://svn.apache.org/viewvc?view=rev&rev=528985
Log:
Fixed make files and documentation

Modified:
    webservices/axis2/trunk/c/ChangeLog
    webservices/axis2/trunk/c/INSTALL
    webservices/axis2/trunk/c/configure.ac
    webservices/axis2/trunk/c/src/Makefile.am
    webservices/axis2/trunk/c/src/modules/Makefile.am
    webservices/axis2/trunk/c/xdocs/docs/architecture_notes.html
    webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
    webservices/axis2/trunk/c/xdocs/docs/index.html
    webservices/axis2/trunk/c/xdocs/docs/installationguide.html
    webservices/axis2/trunk/c/xdocs/docs/om_tutorial.html
    webservices/axis2/trunk/c/xdocs/download.html
    webservices/axis2/trunk/c/xdocs/index.html
    webservices/axis2/trunk/c/xdocs/svn.html

Modified: webservices/axis2/trunk/c/ChangeLog
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/ChangeLog?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/ChangeLog (original)
+++ webservices/axis2/trunk/c/ChangeLog Sun Apr 15 07:31:54 2007
@@ -1,39 +1,46 @@
-Axis2-C (0.96)
+Axis2/C (1.0.0)
+   * Many Bug Fixes
+   * IIS module for server side
+   * libcurl based client transport
+   * Improvements to overall API to make it more user friendly, stable and binary compatible
+   * Transport proxy support
+   * Memory leak fixes
+-- Axis2/C team <axis-c-dev@ws.apache.org> Mon, 30 April 2007
+
+Axis2/C (0.96)
    * Major Memory leak fixes
    * Many Bug Fixes
    * Improvement to REST processing
    * Improvement to SOAP-Fault processing
    * Improvement to mod_axis2 library (plugged with apr pools)
    * Visual Studio 7.0 project
--- Axis2-C team <axis-c-dev@ws.apache.org> Thu, 19 December  2006 
+-- Axis2/C team <axis-c-dev@ws.apache.org> Thu, 19 December 2006 
 	
-Axis2-C (0.95)
+Axis2/C (0.95)
   * Major Memory leak fixes
   * Many Bug Fixes
   * Improved Documentation
--- Axis2-C team <axis-c-dev@ws.apache.org> Thu, 26 October  2006 
+-- Axis2/C team <axis-c-dev@ws.apache.org> Thu, 26 October 2006 
 
-Axis2-C (0.94)
+Axis2/C (0.94)
   * Guththila pull parser support
   * WSDL2C code generation tool
   * TCP Monitor - C implementation
   * Major Memory leak fixes
   * Fixes to code generation with Java Tool
   * Many Bug Fixes
+-- Axis2/C team <axis-c-dev@ws.apache.org>  Tue, 3 October 2006 
 	
--- Axis2-C team <axis-c-dev@ws.apache.org>  Tue, 3 October  2006 
-	
-Axis2-C (0.93)
+Axis2/C (0.93)
   * REST support for HTTP GET case
   * XML Schema implementation
   * Woden/C implementation that supports both WSDL 1.1 and WSDL 2.0
   * Dynamic client invocation (given a WSDL, consume services dynamically)
   * Numerous improvements to API and API documentation
   * Many bug fixes, especially, many paths of execution previously untouched were tested along with Sandesha2/C  implementation
-
--- Axis2-C team <axis-c-dev@ws.apache.org>  Thu, 31 August  2006 
+-- Axis2/C team <axis-c-dev@ws.apache.org>  Thu, 31 August 2006 
 	
-Axis2-C (0.92)
+Axis2/C (0.92)
   * Completed MTOM implementation with multiple attachment support and non-optimize  
   * Completed service client API with send robust and fire and forget
   * Added "message" to description hierarchy
@@ -45,10 +52,9 @@
   * Initial implementation of WSDL parser (To be used in dynamic invocation)
   * Changed double pointer environment parameters into pointer parameters
   to improve efficiency
-
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Fri, 16 June 2006 
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Fri, 16 June 2006 
 	
-Axis2-C (0.91)
+Axis2/C (0.91)
 
   * Full Addressing 1.0 support
   * Improved fault handling model
@@ -59,11 +65,10 @@
   * Module version support
   * Service groups
   * Numerous bug fixes since last release
-
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Mon, 15 May 2006 
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Mon, 15 May 2006 
 
 
-Axis2-C (0.90)
+Axis2/C (0.90)
 
   * Minimal memory leaks
   * Apache2 module working in Windows
@@ -71,22 +76,20 @@
   * WSDL Object Model built based on the proposed WSDL 2.0 Component model
   * Dynamic Invocation
   * Numerous bug fixes since last release
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Fri, 31 Mar 2006 
 
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Fri, 31 Mar 2006 
 
-
-Axis2-C (M0.5)
+Axis2/C (M0.5)
 
   * Improving code quality by fixing memory leaks and reviewing the code
   * Apache2 integration
   * More samples and tests
   * Initial documentation(User guide, Developer Guide and Installation Guide)
   * Numerous bug fixes since last release
-
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Fri, 10 Mar 2006 
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Fri, 10 Mar 2006 
 
 
-Axis2-C (M0.4)
+Axis2/C (M0.4)
 
   * Threading support and threaded simple axis server
   * Module loading support
@@ -94,33 +97,30 @@
   * HTTP chunking support
   * Improved logging mechanism
   * Ability to build and run on Windows platform
-
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Fri, 17 Feb 2006
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Fri, 17 Feb 2006
 
 
-Axis2-C (M0.3)
+Axis2/C (M0.3)
 
   * Core engine in place with deployment, description and context hiarachies and http transport support
   * Soap processing support
   * Simple http server
   * Client API implementation
   * Couple of working service and client samples
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Thu, 02 Feb 2006 
 
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Thu, 02 Feb 2006 
 
-
-Axis2-C (M0.2)
+Axis2/C (M0.2)
 
   * Improved OM module
   * libxml2 parser support
   * PHP binding for OM module
   * Some test cases for PHP binding
   * Many memory leaks fixes
-
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Thu, 08 Dec 2005
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Thu, 08 Dec 2005
 
 
-Axis2-C (M0.1)
+Axis2/C (M0.1)
 
   * Initial release
 
@@ -129,5 +129,5 @@
   * libxml2 parser support(only reader is supported as of now)
   * doxygen documentation support
   * A sample demonstrating how to use OM
+ -- Axis2/C team <axis-c-dev@ws.apache.org>  Fri, 25 Nov 2005
 
- -- Axis2-C team <axis-c-dev@ws.apache.org>  Fri, 25 Nov 2005

Modified: webservices/axis2/trunk/c/INSTALL
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/INSTALL?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/INSTALL (original)
+++ webservices/axis2/trunk/c/INSTALL Sun Apr 15 07:31:54 2007
@@ -1,21 +1,21 @@
 The release comes in two forms, source and binary. 
 
-To get both the binary and source distributions working, you need libxml2 from
+To get both the binary and source distributions working, you need Libxml2 from
 http://xmlsoft.org/downloads.html
 
-NOTE: Most Linux systems have libxml2 installed by default. On Windows you need
-      to download and install libxml2.
+NOTE: Most Linux systems have Libxml2 installed by default. On Windows you need
+      to download and install Libxml2.
 
 Table of Contents
 =================
 
-1. Getting Axis2C working with the binary release on Linux
-2. Getting Axis2C working with the source release on Linux
-3. Getting Axis2C working with the binary release on Windows (win32)
+1. Getting Axis2/C working with the binary release on Linux
+2. Getting Axis2/C working with the source release on Linux
+3. Getting Axis2/C working with the binary release on Windows (win32)
     3.1 Requirements
     3.2 Binaries in the release
     3.3 Running the binaries
-4. Getting Axis2C working with the source release on Windows (win32)
+4. Getting Axis2/C working with the source release on Windows (win32)
     4.1 Requirements
     4.2 Editing Configure.in file
     4.3 Compiling the source
@@ -23,19 +23,19 @@
 5. Installing Apache2 Web Server integration module (mod_axis2)
     
 
-1. Getting Axis2C working with the binary release on Linux.
+1. Getting Axis2/C working with the binary release on Linux.
 ==========================================================
 
 1. Extract the binary tar package to a directory.
 
 2. Set AXIS2C_HOME environment variable pointing to the location where you have
-   extracted Axis2C
+   extracted Axis2/C
         AXIS2C_HOME='/your_path_to_axis2c'
         export AXIS2C_HOME
 
-   NOTE: You will need to set AXIS2C_HOME only if you need to run Axis2C samples
+   NOTE: You will need to set AXIS2C_HOME only if you need to run Axis2/C samples
          or tests. The reason is that the samples and test codes use AXIS2C_HOME
-         to get the path to Axis2C. To write your own services or clients this is
+         to get the path to Axis2/C. To write your own services or clients this is
          not a requirement.
 
 3. Run the simple axis server:
@@ -63,19 +63,19 @@
         export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib
 
 
-2. Getting Axis2C working with the source release on Linux.
+2. Getting Axis2/C working with the source release on Linux.
 ==========================================================
 
 1. Extract the source tar package to a directory
 
 2. Set AXIS2C_HOME environment variable pointing to the location where you want
-   to install Axis2C.
+   to install Axis2/C.
         AXIS2C_HOME='/your_desired_path_to_axis2c_installation'
         export AXIS2C_HOME
 
-   NOTE: You will need to set AXIS2C_HOME only if you need to run Axis2C samples
+   NOTE: You will need to set AXIS2C_HOME only if you need to run Axis2/C samples
          or tests. The reason is that the samples and test codes use AXIS2C_HOME
-         to get the path to Axis2C. To write your own services or clients this is
+         to get the path to Axis2/C. To write your own services or clients this is
          not a requirement.
 
 3. Go to the directory where you extracted the source
@@ -95,20 +95,13 @@
    NOTE: If you don't provide the --prefix configure option, it will by default
          be installed into "/usr/local/axis2c" directory.
 
-   You may need to try Axis2C with guththila xml parser. You can do it by giving
+   You may need to try Axis2/C with guththila xml parser. You can do it by giving
    "--enable-guththila=yes" as a configure option.
     
         ./configure --enable-guththila=yes [other configuration options]
         make
         sudo make install
 
-   If you need to build with rampart (axis2c security module), 
-	./configure --enable-rampart=yes [other configuration options]
-	make
-	make install
-
-   NOTE : rampart has a dependancy with libssl-dev and openssl
-
    If you need to get the samples working, you also need to build the samples.
    
    To build the samples:
@@ -126,7 +119,7 @@
    NOTE: If you don't provide a --prefix configure option, samples will by default
          be installed into "/usr/local/axis2c/samples" directory.
 
-5. Go to the folder where you installed Axis2C.
+5. Go to the folder where you installed Axis2/C.
 
 6. Start simple axis server
         cd ${AXIS2C_HOME}/bin
@@ -150,7 +143,7 @@
    '-h' option.
 
 
-3. Getting Axis2C working with the binary release on Windows.
+3. Getting Axis2/C working with the binary release on Windows.
 ============================================================
 
 3.1 Requirements
@@ -196,8 +189,6 @@
       |
       +- modules     - deployed modules 
       |
-      +- rampart     - rampart include files
-      |
       +- samples     - source files of the samples in bin
       |
       +- services    - deployed services 
@@ -233,7 +224,7 @@
     C:\axis2c\bin\samples>echo.exe
 
 
-4. Getting Axis2C working with the source release on Windows.
+4. Getting Axis2/C working with the source release on Windows.
 ============================================================
 
 4.1 Requirements
@@ -317,7 +308,7 @@
     Set the variable AXIS2C_HOME to the deploy folder (C:\axis2c\build\deploy)
     Add the path to lib directory to the PATH variable (%AXIS2C_HOME%\lib)
 
-    Copy libxml2.dll, iconv.dll, and zlib1.dll to the Axis2C lib folder
+    Copy libxml2.dll, iconv.dll, and zlib1.dll to the Axis2/C lib folder
     (%AXIS2C_HOME%\lib)
 
     Now everything is set to run the server!
@@ -454,7 +445,7 @@
     Using the IIS management console, add mod_axis2_IIS.dll as a filter to the IIS/PWS web site. The name of the filter can be any meaningful name. 
 
     Restart IIS and test whether mod_axis2_IIS module is loaded by typing the URL http://localhost/axis2. 
-    Enjoy the Axis2C soap engine!
+    Enjoy the Axis2/C soap engine!
 
 
 FAQ
@@ -466,12 +457,10 @@
         set to the correct axis2 installation path.
 
 
-2. What are the other dependencies Axis2C has?
+2. What are the other dependencies Axis2/C has?
      
         Basically if you are willing to use libxml2 as your parser, you need to
-        have it installed on your system. and rampart (security module of Axis2C)
-        has dependency on openssl.
-
+        have it installed on your system. 
         libxml2 - http://xmlsoft.org/downloads.html
 
 3. I installed libxml2 installed in my system, but ./configure fails saying
@@ -485,21 +474,16 @@
                 yum install libxml2-dev
         3. If you compile libxml2 from source you will not get this error.
 
-4. I installed openssl in my system but, I'm getting an error while configuring
-   rampart?
-    
-         You might need to get "libssl-dev" package installed.
-
-5. Is there any recommended packages, that I need to instal in my system?
+4. Is there any recommended packages, that I need to instal in my system?
 
         1. automake, autoconf, libtool, aclocal
         2. libxml2 and libxml2-dev
         5. pkg-config
           
-6. I tried several methods, browse through axis-c-dev and axis-c-user mail 
+5. I tried several methods, browse through axis-c-dev and axis-c-user mail 
    archives but I was not able solve it.
 
-        Then you can ask from Axis2C users or Axis2C developers about it by
+        Then you can ask from Axis2/C users or Axis2/C developers about it by
         sending your question to 
             user      = axis-c-user@ws.apache.org    
             developer = axis-c-dev@ws.apache.org 
@@ -515,11 +499,11 @@
             subject of the request should be "subscribe"
 
 
-7. This FAQ is not enough...
+6. This FAQ is not enough...
        
        You can help us by reporting your suggestions, complaints, problems and bugs
 
 
 
 
-Thank you for using Axis2C ...
+Thank you for using Axis2/C ...

Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/configure.ac?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Sun Apr 15 07:31:54 2007
@@ -1,363 +1,363 @@
-dnl run autogen.sh to generate the configure script.
-
-AC_PREREQ(2.59)
-
-AC_INIT(axis2c-src, 1.0.0)
-AC_CANONICAL_SYSTEM
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE([tar-ustar])
-AC_PREFIX_DEFAULT(/usr/local/axis2c)
-
-dnl Checks for programs.
-AC_PROG_CC
-AC_PROG_CXX
-AC_PROG_CPP
-AM_PROG_LIBTOOL
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-
-
-dnl check for flavours of varargs macros (test from GLib)
-AC_MSG_CHECKING(for ISO C99 varargs macros in C)
-AC_TRY_COMPILE([],[
-int a(int p1, int p2, int p3);
-#define call_a(...) a(1,__VA_ARGS__)
-call_a(2,3);
-],axis2c_have_iso_c_varargs=yes,axis2c_have_iso_c_varargs=no)
-AC_MSG_RESULT($axis2c_have_iso_c_varargs)
-
-AC_MSG_CHECKING(for GNUC varargs macros)
-AC_TRY_COMPILE([],[
-int a(int p1, int p2, int p3);
-#define call_a(params...) a(1,params)
-call_a(2,3);
-],axis2c_have_gnuc_varargs=yes,axis2c_have_gnuc_varargs=no)
-AC_MSG_RESULT($axis2c_have_gnuc_varargs)
-
-dnl Output varargs tests
-if test x$axis2c_have_iso_c_varargs = xyes; then
-    AC_DEFINE(HAVE_ISO_VARARGS,1,[Have ISO C99 varargs macros])
-fi
-if test x$axis2c_have_gnuc_varargs = xyes; then
-    AC_DEFINE(HAVE_GNUC_VARARGS,1,[Have GNU-style varargs macros])
-fi
-
-dnl Checks for libraries.
-AC_CHECK_LIB(dl, dlopen)
-AC_CHECK_LIB(z, inflate)
-
-if test -d $srcdir/util; then
-    AC_CONFIG_SUBDIRS(util)
-fi
-
-if test -d $srcdir/axiom; then
-    AC_CONFIG_SUBDIRS(axiom)
-fi
-
-#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration"
-CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
-if test "$GCC" = "yes"; then
-    CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -g"
-#    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
-fi
-LDFLAGS="$LDFLAGS -lpthread"
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([stdio.h stdlib.h string.h])
-AC_CHECK_HEADERS([sys/socket.h])
-AC_CHECK_HEADERS([net/if.h], [], [],
-[#include <stdio.h>
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
-])
-AC_CHECK_HEADERS([linux/if.h],[],[],
-[
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
-])
-AC_CHECK_HEADERS([net/if_types.h])
-AC_CHECK_HEADERS([net/if_dl.h])
-
-dnl This is a check to see if we are running MacOS X
-dnl It may be better to do a Darwin check
-AC_CHECK_HEADERS([sys/appleapiopts.h]) 
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
-dnl Checks for library functions.
-AC_FUNC_MALLOC
-AC_FUNC_REALLOC
-#AC_CHECK_FUNCS([memmove])
-
-AC_MSG_CHECKING(whether to build libxml2 xml parser library)
-AC_ARG_ENABLE(libxml2, [  --enable-libxml2    build libxml2 xml parser library wrapper. default=yes],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    WRAPPER_DIR=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    WRAPPER_DIR="libxml2"
-    PKG_CHECK_MODULES(PARSER, libxml-2.0)
-    CFLAGS="$CFLAGS $PARSER_CFLAGS"
-    LDFLAGS="$LDFLAGS $PARSER_LIBS"
-    ;;
-  esac ],
-  AC_MSG_RESULT(yes)
-  WRAPPER_DIR="libxml2"
-)
-
-
-GUTHTHILA_LIBS=""
-
-AC_MSG_CHECKING(whether to build guththila xml parser library)
-AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila xml parser library wrapper. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    WRAPPER_DIR="guththila"
-    if test -d $srcdir/guththila; then
-        AC_CONFIG_SUBDIRS(guththila)
-    fi
-
-    GUTHTHILA_LIBS="/guththila/src/"
-    GUTHTHILA_DIR="guththila"
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
-AC_MSG_CHECKING(whether to use apache2 as server transport)
-AC_ARG_WITH(apache2,
-[  --with-apache2[=PATH]      use apache2 as server transport.],
-[ case "$withval" in
-  no)
-    AC_MSG_RESULT(no)
-    APACHE2BUILD=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    dnl Find apache2 include dir in the path pointed by APACHE2_HOME env variable
-    if test -d $withval; then
-        apache2inc="-I$withval"
-    dnl else find the apache2 include dir in /usr/local/apache2
-    elif test -d '/usr/include/apache2'; then
-        apache2inc="-I/usr/include/apache2"
-    else
-        AC_MSG_ERROR(could not find apache2. stop)
-    fi
-    APACHE2BUILD="apache2"
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
-AC_MSG_CHECKING(whether to use apr. Note that if you build with apache2 you might need to do this.)
-AC_ARG_WITH(apr,
-[  --with-apr[=PATH]      use apr.],
-[ case "$withval" in
-  no)
-    AC_MSG_RESULT(no)
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    dnl Find apr include dir in the path
-    if test -d $withval; then
-        aprinc="-I$withval"
-    dnl else find the apache2 include dir in /usr/local/apache2
-    elif test -d '/usr/include/apr-0'; then
-        aprinc="-I/usr/include/apr-0"
-    else
-        AC_MSG_ERROR(could not find apr. stop)
-    fi
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
-AC_MSG_CHECKING(whether to build tests)
-AC_ARG_ENABLE(tests, [  --enable-tests    build tests. default=yes],
-[ case "${enableval}" in
-  yes)
-    AC_MSG_RESULT(yes)
-    TESTDIR="test"
-    ;;
-  *)
-    AC_MSG_RESULT(no)
-    TESTDIR=""
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  TESTDIR=""
-)
-
-
-AC_MSG_CHECKING(whether to enable trace)
-AC_ARG_ENABLE(trace, [  --enable-trace    enable trace. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_TRACE"
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  CFLAGS="$CFLAGS"
-)
-
-AC_MSG_CHECKING(whether to enable multi threading)
-AC_ARG_ENABLE(multi-thread, [  --enable-multi-thread  enable multi thread. default=yes],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"
-    ;;
-  esac ],[
-  AC_MSG_RESULT(yes)
-  CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"]
-)
-
-AC_MSG_CHECKING(whether to use openssl)
-AC_ARG_ENABLE(openssl, [  --enable-openssl  enable ssl. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    ssl_enabled=false
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_SSL_ENABLED"
-    ssl_enabled=true
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  CFLAGS="$CFLAGS"
-)
-
-AC_MSG_CHECKING(whether to use libcurl)
-AC_ARG_ENABLE(libcurl, [  --enable-libcurl  enable libcurl. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    libcurl_enabled=false
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_LIBCURL_ENABLED"
-    libcurl_enabled=true
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  CFLAGS="$CFLAGS"
-)
-
-
-AC_MSG_CHECKING(whether to build dynamic invocation client library)
-AC_ARG_ENABLE(diclient, [  --enable-diclient    build diclient library wrapper. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    DICLIENT_DIR=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    DICLIENT_DIR="diclient"
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(yes)
-  DICLIENT_DIR="diclient"
-)
-
-
-
-APACHE2INC=$apache2inc
-APRINC=$aprinc
-
-AC_SUBST(PARSER_LIBS)
-AC_SUBST(APACHE2INC)
-AC_SUBST(APRINC)
-AC_SUBST(DICLIENT_DIR)
-AC_SUBST(TESTDIR)
-AC_SUBST(SAMPLES)
-AC_SUBST(APACHE2BUILD)
-AC_SUBST(PARSER_DIR)
-AC_SUBST(WRAPPER_DIR)
-AC_SUBST(GUTHTHILA_DIR)
-AC_SUBST(GUTHTHILA_LIBS)
-AM_CONDITIONAL(AXIS2_SSL_ENABLED, test x$ssl_enabled = xtrue)
-AM_CONDITIONAL(AXIS2_LIBCURL_ENABLED, test x$libcurl_enabled = xtrue)
-#export PARSER_DIR
-export WRAPPER_DIR
-export prefix 
-
-AC_CONFIG_FILES([Makefile \
-    src/Makefile \
-    src/core/Makefile \
-    src/core/description/Makefile \
-    src/core/context/Makefile \
-    src/core/engine/Makefile \
-    src/core/addr/Makefile \
-    src/core/phaseresolver/Makefile \
-    src/core/transport/Makefile \
-    src/core/transport/http/Makefile \
-    src/core/transport/http/common/Makefile \
-    src/core/transport/http/util/Makefile \
-    src/core/transport/http/sender/Makefile \
-    src/core/transport/http/sender/ssl/Makefile \
-    src/core/transport/http/sender/libcurl/Makefile \
-    src/core/transport/http/receiver/Makefile \
-    src/core/transport/http/server/simple_axis2_server/Makefile \
-    src/core/transport/http/server/Makefile \
-    src/core/transport/http/server/apache2/Makefile \
-    src/core/deployment/Makefile \
-    src/core/clientapi/Makefile \
-    src/core/receivers/Makefile \
-    src/core/util/Makefile \
-    src/modules/Makefile \
-    src/modules/mod_addr/Makefile \
-    src/modules/mod_log/Makefile \
-    test/Makefile \
-    test/core/Makefile \
-    test/core/description/Makefile \
-    test/core/clientapi/Makefile \
-    test/core/deployment/Makefile \
-    test/core/context/Makefile \
-    test/core/engine/Makefile \
-    test/core/addr/Makefile \
-    test/core/transport/Makefile\
-    test/core/transport/http/Makefile \
-    ides/Makefile \
-    ides/anjuta/Makefile \
-    include/Makefile \
-    axis2c.pc
-    ])
-    
-AC_OUTPUT
+dnl run autogen.sh to generate the configure script.
+
+AC_PREREQ(2.59)
+
+AC_INIT(axis2c-src, 1.0.0)
+AC_CANONICAL_SYSTEM
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE([tar-ustar])
+AC_PREFIX_DEFAULT(/usr/local/axis2c)
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_CXX
+AC_PROG_CPP
+AM_PROG_LIBTOOL
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+
+dnl check for flavours of varargs macros (test from GLib)
+AC_MSG_CHECKING(for ISO C99 varargs macros in C)
+AC_TRY_COMPILE([],[
+int a(int p1, int p2, int p3);
+#define call_a(...) a(1,__VA_ARGS__)
+call_a(2,3);
+],axis2c_have_iso_c_varargs=yes,axis2c_have_iso_c_varargs=no)
+AC_MSG_RESULT($axis2c_have_iso_c_varargs)
+
+AC_MSG_CHECKING(for GNUC varargs macros)
+AC_TRY_COMPILE([],[
+int a(int p1, int p2, int p3);
+#define call_a(params...) a(1,params)
+call_a(2,3);
+],axis2c_have_gnuc_varargs=yes,axis2c_have_gnuc_varargs=no)
+AC_MSG_RESULT($axis2c_have_gnuc_varargs)
+
+dnl Output varargs tests
+if test x$axis2c_have_iso_c_varargs = xyes; then
+    AC_DEFINE(HAVE_ISO_VARARGS,1,[Have ISO C99 varargs macros])
+fi
+if test x$axis2c_have_gnuc_varargs = xyes; then
+    AC_DEFINE(HAVE_GNUC_VARARGS,1,[Have GNU-style varargs macros])
+fi
+
+dnl Checks for libraries.
+AC_CHECK_LIB(dl, dlopen)
+AC_CHECK_LIB(z, inflate)
+
+if test -d $srcdir/util; then
+    AC_CONFIG_SUBDIRS(util)
+fi
+
+if test -d $srcdir/axiom; then
+    AC_CONFIG_SUBDIRS(axiom)
+fi
+
+#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration"
+CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
+if test "$GCC" = "yes"; then
+    CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -g"
+#    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
+fi
+LDFLAGS="$LDFLAGS -lpthread"
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdio.h stdlib.h string.h])
+AC_CHECK_HEADERS([sys/socket.h])
+AC_CHECK_HEADERS([net/if.h], [], [],
+[#include <stdio.h>
+#if STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# if HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+])
+AC_CHECK_HEADERS([linux/if.h],[],[],
+[
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+])
+AC_CHECK_HEADERS([net/if_types.h])
+AC_CHECK_HEADERS([net/if_dl.h])
+
+dnl This is a check to see if we are running MacOS X
+dnl It may be better to do a Darwin check
+AC_CHECK_HEADERS([sys/appleapiopts.h]) 
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+
+dnl Checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+#AC_CHECK_FUNCS([memmove])
+
+AC_MSG_CHECKING(whether to build libxml2 xml parser library)
+AC_ARG_ENABLE(libxml2, [  --enable-libxml2    build libxml2 xml parser library wrapper. default=yes],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    WRAPPER_DIR=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    WRAPPER_DIR="libxml2"
+    PKG_CHECK_MODULES(PARSER, libxml-2.0)
+    CFLAGS="$CFLAGS $PARSER_CFLAGS"
+    LDFLAGS="$LDFLAGS $PARSER_LIBS"
+    ;;
+  esac ],
+  AC_MSG_RESULT(yes)
+  WRAPPER_DIR="libxml2"
+)
+
+
+GUTHTHILA_LIBS=""
+
+AC_MSG_CHECKING(whether to build guththila xml parser library)
+AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila xml parser library wrapper. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    WRAPPER_DIR="guththila"
+    if test -d $srcdir/guththila; then
+        AC_CONFIG_SUBDIRS(guththila)
+    fi
+
+    GUTHTHILA_LIBS="/guththila/src/"
+    GUTHTHILA_DIR="guththila"
+
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+AC_MSG_CHECKING(whether to use apache2 as server transport)
+AC_ARG_WITH(apache2,
+[  --with-apache2[=PATH]      use apache2 as server transport.],
+[ case "$withval" in
+  no)
+    AC_MSG_RESULT(no)
+    APACHE2BUILD=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    dnl Find apache2 include dir in the path pointed by APACHE2_HOME env variable
+    if test -d $withval; then
+        apache2inc="-I$withval"
+    dnl else find the apache2 include dir in /usr/local/apache2
+    elif test -d '/usr/include/apache2'; then
+        apache2inc="-I/usr/include/apache2"
+    else
+        AC_MSG_ERROR(could not find apache2. stop)
+    fi
+    APACHE2BUILD="apache2"
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+AC_MSG_CHECKING(whether to use apr. Note that if you build with apache2 you might need to do this.)
+AC_ARG_WITH(apr,
+[  --with-apr[=PATH]      use apr.],
+[ case "$withval" in
+  no)
+    AC_MSG_RESULT(no)
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    dnl Find apr include dir in the path
+    if test -d $withval; then
+        aprinc="-I$withval"
+    dnl else find the apache2 include dir in /usr/local/apache2
+    elif test -d '/usr/include/apr-0'; then
+        aprinc="-I/usr/include/apr-0"
+    else
+        AC_MSG_ERROR(could not find apr. stop)
+    fi
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+AC_MSG_CHECKING(whether to build tests)
+AC_ARG_ENABLE(tests, [  --enable-tests    build tests. default=yes],
+[ case "${enableval}" in
+  yes)
+    AC_MSG_RESULT(yes)
+    TESTDIR="test"
+    ;;
+  *)
+    AC_MSG_RESULT(no)
+    TESTDIR=""
+
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  TESTDIR=""
+)
+
+
+AC_MSG_CHECKING(whether to enable trace)
+AC_ARG_ENABLE(trace, [  --enable-trace    enable trace. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_TRACE"
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS="$CFLAGS"
+)
+
+AC_MSG_CHECKING(whether to enable multi threading)
+AC_ARG_ENABLE(multi-thread, [  --enable-multi-thread  enable multi thread. default=yes],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"
+    ;;
+  esac ],[
+  AC_MSG_RESULT(yes)
+  CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"]
+)
+
+AC_MSG_CHECKING(whether to use openssl)
+AC_ARG_ENABLE(openssl, [  --enable-openssl  enable ssl. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    ssl_enabled=false
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_SSL_ENABLED"
+    ssl_enabled=true
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS="$CFLAGS"
+)
+
+AC_MSG_CHECKING(whether to use libcurl)
+AC_ARG_ENABLE(libcurl, [  --enable-libcurl  enable libcurl. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    libcurl_enabled=false
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_LIBCURL_ENABLED"
+    libcurl_enabled=true
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS="$CFLAGS"
+)
+
+
+AC_MSG_CHECKING(whether to build dynamic invocation client library)
+AC_ARG_ENABLE(diclient, [  --enable-diclient    build diclient library wrapper. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    DICLIENT_DIR=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    DICLIENT_DIR="diclient"
+
+    ;;
+  esac ],
+  AC_MSG_RESULT(yes)
+  DICLIENT_DIR="diclient"
+)
+
+
+
+APACHE2INC=$apache2inc
+APRINC=$aprinc
+
+AC_SUBST(PARSER_LIBS)
+AC_SUBST(APACHE2INC)
+AC_SUBST(APRINC)
+AC_SUBST(DICLIENT_DIR)
+AC_SUBST(TESTDIR)
+AC_SUBST(SAMPLES)
+AC_SUBST(APACHE2BUILD)
+AC_SUBST(PARSER_DIR)
+AC_SUBST(WRAPPER_DIR)
+AC_SUBST(GUTHTHILA_DIR)
+AC_SUBST(GUTHTHILA_LIBS)
+AM_CONDITIONAL(AXIS2_SSL_ENABLED, test x$ssl_enabled = xtrue)
+AM_CONDITIONAL(AXIS2_LIBCURL_ENABLED, test x$libcurl_enabled = xtrue)
+#export PARSER_DIR
+export WRAPPER_DIR
+export prefix 
+
+AC_CONFIG_FILES([Makefile \
+    src/Makefile \
+    src/core/Makefile \
+    src/core/description/Makefile \
+    src/core/context/Makefile \
+    src/core/engine/Makefile \
+    src/core/addr/Makefile \
+    src/core/phaseresolver/Makefile \
+    src/core/transport/Makefile \
+    src/core/transport/http/Makefile \
+    src/core/transport/http/common/Makefile \
+    src/core/transport/http/util/Makefile \
+    src/core/transport/http/sender/Makefile \
+    src/core/transport/http/sender/ssl/Makefile \
+    src/core/transport/http/sender/libcurl/Makefile \
+    src/core/transport/http/receiver/Makefile \
+    src/core/transport/http/server/simple_axis2_server/Makefile \
+    src/core/transport/http/server/Makefile \
+    src/core/transport/http/server/apache2/Makefile \
+    src/core/deployment/Makefile \
+    src/core/clientapi/Makefile \
+    src/core/receivers/Makefile \
+    src/core/util/Makefile \
+    src/modules/Makefile \
+    src/modules/mod_addr/Makefile \
+    src/modules/mod_log/Makefile \
+    test/Makefile \
+    test/core/Makefile \
+    test/core/description/Makefile \
+    test/core/clientapi/Makefile \
+    test/core/deployment/Makefile \
+    test/core/context/Makefile \
+    test/core/engine/Makefile \
+    test/core/addr/Makefile \
+    test/core/transport/Makefile\
+    test/core/transport/http/Makefile \
+    ides/Makefile \
+    ides/anjuta/Makefile \
+    include/Makefile \
+    axis2c.pc
+    ])
+    
+AC_OUTPUT

Modified: webservices/axis2/trunk/c/src/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/Makefile.am?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/src/Makefile.am Sun Apr 15 07:31:54 2007
@@ -1 +1 @@
-SUBDIRS = core modules
+SUBDIRS = core modules

Modified: webservices/axis2/trunk/c/src/modules/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/modules/Makefile.am?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/src/modules/Makefile.am (original)
+++ webservices/axis2/trunk/c/src/modules/Makefile.am Sun Apr 15 07:31:54 2007
@@ -1 +1 @@
-SUBDIRS = mod_addr mod_log
+SUBDIRS = mod_addr mod_log

Modified: webservices/axis2/trunk/c/xdocs/docs/architecture_notes.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/architecture_notes.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/architecture_notes.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/architecture_notes.html Sun Apr 15 07:31:54 2007
@@ -7,7 +7,7 @@
   <meta content="text/html; charset=iso-8859-1">
   <meta content="text/html; charset=iso-8859-1">
   <meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
-  <title>Architecture_notes.html</title>
+  <title>Apache Axis2/C Architecture Notes</title>
 </head>
 
 <body lang="en">

Modified: webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/axis2c_manual.html Sun Apr 15 07:31:54 2007
@@ -17,7 +17,7 @@
 <p>This document uses the following conventions:
 <ul>
     <li>The directory each package is installed is given with an "_INSTALL_DIR" 
-suffix to the package name. For example, the path libxml2 is installed is referred 
+suffix to the package name. For example, the path Libxml2 is installed is referred 
 to as LIBXML2_INSTALL_DIR, and likewise.
     </li>
 </ul>
@@ -1328,60 +1328,60 @@
 <a name="wsdl2c"></a>
 <h1>14. WSDL2C Tool</h1>
 
-<p>WSDL2C tool that comes with Axis2/Java supports generation of Axis2/C stubs and
-skeletons for WSDL files. This is a Java tool that can be used to generate C code that works with Axis2/C.
-<a href="http://svn.apache.org/viewvc/webservices/axis2/trunk/java">Axis2/Java
-SVN</a> revision 414253 and later versions provide this facility. A basic
-guide on this Java tool can be found <a
-href="http://ws.apache.org/axis2/1_0/userguide2.html#Writing_Web_Services_by_Code_Generating_Skeleton">here.</a></p>
-<p>Before you 
-run the tool, make sure that all the .jar
-library files that comes with Axis2/Java are added to the CLASSPATH environment variable.</p>
-
-<h2>Generating Service Skeletons</h2>
-<p>The tool can be run with the following parameters and generate the
-service skeleton and other required files with ADB (Axis Data Binding) support. </p>
-<pre>
-java org.apache.axis2.wsdl.WSDL2C -uri interoptestdoclitparameters.wsdl -ss -sd -d adb -u 
-</pre>
-
-<p>To understand the meanings of the options used with the tool, please have a look 
-at the <a href="http://ws.apache.org/axis2/1_0/userguide2.html#Writing_Web_Services_by_Code_Generating_Skeleton">
-Java tool documentation</a>.</p>
-
-<p>If you need an XML in/out programming model, you can just ignore the data
-binding support. To generate code
-with no data binding support, just replace <code>-d adb -u</code>, that was used in previos command, with <code>-d none</code>.
-<pre>java org.apache.axis2.wsdl.WSDL2C -uri interoptestdoclitparameters.wsdl -ss -sd -d none</pre>
-
-<p>The WSDL file, <code>interoptestdoclitparameters.wsdl</code>, used in above 
-command examples can be found in
-&lt;axis2_src_dir&gt;/test/resources directory. </p>
-
-<p>Once the code is generated, you have to implement the businedd logic for the service.
-For this, locate the skeleton source file from the generated files. 
-To identify the locations where you can place your business logic in line with the 
-operations defined in the WSDL file that you used to generate code, look for the comment lines:
-<pre>/* Todo fill this with the necessary business logic */</pre>
-You may also go through the header files generated and understand the 
-API in line with the WSDL file that you used to generate the code.
-</p>
-
-
-<h2>Generating Client Stubs</h2>
-<p>WSDL2C code generator tool provides support for generating client 
-stubs as well. You can generate the required stubs from a given
-WSDL with the other supporting files. Use following parameters to
-generate the Axis2/C client stub code with ADB support.</p>
-<pre>java WSDL2C -uri interoptestdoclitparameters.wsdl -d adb -u</pre>
-
-<p>In order to ignore the data binding support and use raw XML in/out model,
-just use the following parameters.</p>
-<pre>java WSDL2C -uri interoptestdoclitparameters.wsdl -d none</pre>
-
-<p>Like in the case of service skeletons, you have to fill in the business logic as you require
-in client stubs as well. To do this, you have to go through the header files generated and understand the 
-API in line with the WSDL file that you used to generate the code.</p>
+<p>WSDL2C tool that comes with Axis2/Java supports generation of Axis2/C stubs and
+skeletons for WSDL files. This is a Java tool that can be used to generate C code that works with Axis2/C.
+<a href="http://svn.apache.org/viewvc/webservices/axis2/trunk/java">Axis2/Java
+SVN</a> revision 414253 and later versions provide this facility. A basic
+guide on this Java tool can be found <a
+href="http://ws.apache.org/axis2/1_0/userguide2.html#Writing_Web_Services_by_Code_Generating_Skeleton">here.</a></p>
+<p>Before you 
+run the tool, make sure that all the .jar
+library files that comes with Axis2/Java are added to the CLASSPATH environment variable.</p>
+
+<h2>Generating Service Skeletons</h2>
+<p>The tool can be run with the following parameters and generate the
+service skeleton and other required files with ADB (Axis Data Binding) support. </p>
+<pre>
+java org.apache.axis2.wsdl.WSDL2C -uri interoptestdoclitparameters.wsdl -ss -sd -d adb -u 
+</pre>
+
+<p>To understand the meanings of the options used with the tool, please have a look 
+at the <a href="http://ws.apache.org/axis2/1_0/userguide2.html#Writing_Web_Services_by_Code_Generating_Skeleton">
+Java tool documentation</a>.</p>
+
+<p>If you need an XML in/out programming model, you can just ignore the data
+binding support. To generate code
+with no data binding support, just replace <code>-d adb -u</code>, that was used in previous command, with <code>-d none</code>.
+<pre>java org.apache.axis2.wsdl.WSDL2C -uri interoptestdoclitparameters.wsdl -ss -sd -d none</pre>
+
+<p>The WSDL file, <code>interoptestdoclitparameters.wsdl</code>, used in above 
+command examples can be found in
+&lt;axis2_src_dir&gt;/test/resources directory. </p>
+
+<p>Once the code is generated, you have to implement the business logic for the service.
+For this, locate the skeleton source file from the generated files. 
+To identify the locations where you can place your business logic in line with the 
+operations defined in the WSDL file that you used to generate code, look for the comment lines:
+<pre>/* Todo fill this with the necessary business logic */</pre>
+You may also go through the header files generated and understand the 
+API in line with the WSDL file that you used to generate the code.
+</p>
+
+
+<h2>Generating Client Stubs</h2>
+<p>WSDL2C code generator tool provides support for generating client 
+stubs as well. You can generate the required stubs from a given
+WSDL with the other supporting files. Use following parameters to
+generate the Axis2/C client stub code with ADB support.</p>
+<pre>java WSDL2C -uri interoptestdoclitparameters.wsdl -d adb -u</pre>
+
+<p>In order to ignore the data binding support and use raw XML in/out model,
+just use the following parameters.</p>
+<pre>java WSDL2C -uri interoptestdoclitparameters.wsdl -d none</pre>
+
+<p>Like in the case of service skeletons, you have to fill in the business logic as you require
+in client stubs as well. To do this, you have to go through the header files generated and understand the 
+API in line with the WSDL file that you used to generate the code.</p>
 
 <a name="appA"></a>
 <h1>Appendix A</h1>

Modified: webservices/axis2/trunk/c/xdocs/docs/index.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/index.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/index.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/index.html Sun Apr 15 07:31:54 2007
@@ -4,13 +4,13 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-  <title>Axis2/C Documentation</title>
+  <title>Apache Axis2/C Documentation</title>
   <meta name="generator" content="amaya 9.2.1, see http://www.w3.org/Amaya/"
   />
 </head>
 
 <body>
-<h1>Axis2/C Documentation</h1>
+<h1>Apache Axis2/C Documentation</h1>
 
 <h2>Getting Started</h2>
 <ul>

Modified: webservices/axis2/trunk/c/xdocs/docs/installationguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/installationguide.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/installationguide.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/installationguide.html Sun Apr 15 07:31:54 2007
@@ -5,12 +5,12 @@
 <head>
   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-  <title>Axis2-C Installation Guide</title>
+  <title>Apache Axis2/C Installation Guide</title>
   <meta name="generator" content="Bluefish 1.0.5"/>
 </head>
 
 <body>
-<h1>Axis2/C Installation Guide</h1>
+<h1>Apache Axis2/C Installation Guide</h1>
 
 <p>This document will guide you on how to install Axis2/C and run the server
 and client samples on Linux and Microsoft Windows operating systems.</p>
@@ -54,9 +54,9 @@
 
 <a id="linux_binary"></a>
 
-<h3>1.1. Instaling Binary Distribution</h3>
+<h3>1.1. Installing Binary Distribution</h3>
 
-<p>The following steps need to be follwed to install and run 
+<p>The following steps need to be followed to install and run 
 Axis2/C binary distribution on Linux : - </p>
 <ol>
   <li>Extract the binary tar package to a folder</li>
@@ -105,7 +105,7 @@
       </li>
       <li>To see the possible command line options for sample clients run
         them with '-h' option</li>
-      <p><strong>Note :</strong> If you run into shared libbrary problems, try
+      <p><strong>Note :</strong> If you run into shared library problems, try
       setting the LD_LIBRARY_PATH</p>
       <ul>
           <li>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_path_to_axis2c/lib</li>
@@ -116,7 +116,7 @@
 </ol>
 
 <ai id=linux_source>
-<h3>1.2. Instaling Source Distribution</h3>
+<h3>1.2. Installing Source Distribution</h3>
 
 <p>The following steps need to be followed to install and run Axis2/C using
 source distribution on Linux : - </p>
@@ -153,7 +153,7 @@
         option, the default installation would be /usr/local/axis2c
         directory.</li>
       <li>You may need to try Axis2/C with Guththila XML parser. You can do
-        that by poviding --enable-guththila=yes option when configuring
+        that by providing --enable-guththila=yes option when configuring
         <ul>
           <li>./configure --enable-guththila=yes [other configuration
           options]</li>
@@ -228,7 +228,7 @@
 
 <a id="win_binary"></a>
 
-<h3>2. 1. Instaling Binary Distribution</h3>
+<h3>2. 1. Installing Binary Distribution</h3>
 <a id="bin_req"></a>
 
 <h4>2.1.1. Requirements</h4>
@@ -238,7 +238,7 @@
 
   <p>(Note: you can  <a href="http://msdn.microsoft.com/vstudio/express/downloads/">download Microsoft VSExpress2005 edition</a> 
   from the Microsoft Web site and install it to run these binaries)</p>
-  <li>You also need the following dlls:
+  <li>You also need the following DLLs:
     <ul>
       <li>libxml2.dll [http://www.xmlsoft.org - download the version &gt;=
        libxml2-2.6.27.win32]</li>
@@ -262,7 +262,7 @@
 
   <p><em>The above folders contain the following files:</em></p>
   <ul>
-    <li>bin - server and other executables</li>
+    <li>bin - server and other executable</li>
     <li>bin\samples - client samples go here</li>
     <li>lib - library modules</li>
     <li>services - deployed services</li>
@@ -292,7 +292,7 @@
   <li>The log is by default created in %AXIS2C_HOME%\logs folder with the
     name axis2.log.</li>
   <li>(Note: You may provide command line options to change the default
-    behaviour. Use the command "axis2_http_server.exe -h" to learn about the
+    behavior. Use the command "axis2_http_server.exe -h" to learn about the
     usage)</li>
   <li>Now you can run any sample client located in %AXIS2C_HOME%\bin\samples\
     <ul>
@@ -302,7 +302,7 @@
 </ul>
 <a id="win_source"></a>
 
-<h3>2. 2. Instaling Source Distribution</h3>
+<h3>2. 2. Installing Source Distribution</h3>
 <a id="src_req"></a>
 
 <h4>2.2.1. Requirements</h4>
@@ -383,7 +383,7 @@
 
   <p><em>The above folders contain the following files:</em></p>
   <ul>
-    <li>bin - server and other executables</li>
+    <li>bin - server and other executable</li>
     <li>bin\samples - client samples</li>
     <li>lib - library modules</li>
     <li>services - deployed services</li>
@@ -414,7 +414,7 @@
   <li>The log is by default created under %AXIS2C_HOME%\logs folder with the
     name axis2.log.</li>
   <li>(Note: you may provide command line options to change the default
-    behaviour. Use the command "axis2_http_server.exe -h" to learn about the
+    behavior. Use the command "axis2_http_server.exe -h" to learn about the
     usage)</li>
   <li>Now you can run any sample client deployed under
     %AXIS2C_HOME%\bin\samples\

Modified: webservices/axis2/trunk/c/xdocs/docs/om_tutorial.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/om_tutorial.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/docs/om_tutorial.html (original)
+++ webservices/axis2/trunk/c/xdocs/docs/om_tutorial.html Sun Apr 15 07:31:54 2007
@@ -5,14 +5,14 @@
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-  <title>Axis2/C AXOM Tutorial</title>
+  <title>Apache Axis2/C AXOM Tutorial</title>
   <meta name="generator" content="Bluefish 1.0.5"/>
 </head>
 
 <body>
-<h1>Axis2/C AXIOM Tutorial</h1>
+<h1>Apache Axis2/C AXIOM Tutorial</h1>
 
-<h2>Content</h2>
+<h2>Contents</h2>
 <ul>
   <li><a href="#Introduction">Introduction</a>
     <ul>

Modified: webservices/axis2/trunk/c/xdocs/download.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/download.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/download.html (original)
+++ webservices/axis2/trunk/c/xdocs/download.html Sun Apr 15 07:31:54 2007
@@ -1,7 +1,7 @@
 <html>
 <head>
   <meta http-equiv="content-type" content="">
-  <title>Releases</title>
+  <title>Axis2/C Releases</title>
 </head>
 
 <body>

Modified: webservices/axis2/trunk/c/xdocs/index.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/index.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/index.html (original)
+++ webservices/axis2/trunk/c/xdocs/index.html Sun Apr 15 07:31:54 2007
@@ -4,7 +4,7 @@
 <html>
 <head>
   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-  <title>Welcome to Apache Axis2-C home page</title>
+  <title>Apache Axis2/C - The SOAP Engine</title>
 </head>
 
 <body xml:lang="en">

Modified: webservices/axis2/trunk/c/xdocs/svn.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/svn.html?view=diff&rev=528985&r1=528984&r2=528985
==============================================================================
--- webservices/axis2/trunk/c/xdocs/svn.html (original)
+++ webservices/axis2/trunk/c/xdocs/svn.html Sun Apr 15 07:31:54 2007
@@ -1,16 +1,16 @@
 <html>
 <head>
   <meta http-equiv="content-type" content="">
-  <title>Developing Apache Axis2</title>
+  <title>Developing Apache Axis2/C</title>
 </head>
 
 <body lang="en">
-<h1>Developing Apache Axis2</h1>
+<h1>Developing Apache Axis2/C</h1>
 
 <p>This document will give you information on how to use SVN in order
 to get a SVN checkout/update and making commits to source repository.</p>
 
-<h2>Content</h2>
+<h2>Contents</h2>
 <ul>
   <li><a href="#svn">Working with Subversion (SVN)</a></li>
   <li><a href="#checkout">Checkout Axis2 from Subversion</a></li>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message