You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2004/08/17 12:05:17 UTC

cvs commit: ws-axis/c/samples/server/ref AxisServiceException.cpp AxisServiceException.h AxisServiceException.lo AxisServiceException.o Makefile.am Makefile.in RefTestPortType.cpp RefTestPortType.h RefTestPortType.lo RefTestPortType.o RefTestPortTypeService.cpp RefTestPortTypeService.lo RefTestPortTypeService.o RefTestPortTypeWrapper.cpp RefTestPortTypeWrapper.h RefTestPortTypeWrapper.lo RefTestPortTypeWrapper.o deploy.wsdd intType.cpp intType.h intType.lo intType.o libref.la undeploy.wsdd

damitha     2004/08/17 03:05:17

  Added:       c/samples/server/ref AxisServiceException.cpp
                        AxisServiceException.h AxisServiceException.lo
                        AxisServiceException.o Makefile.am Makefile.in
                        RefTestPortType.cpp RefTestPortType.h
                        RefTestPortType.lo RefTestPortType.o
                        RefTestPortTypeService.cpp
                        RefTestPortTypeService.lo RefTestPortTypeService.o
                        RefTestPortTypeWrapper.cpp RefTestPortTypeWrapper.h
                        RefTestPortTypeWrapper.lo RefTestPortTypeWrapper.o
                        deploy.wsdd intType.cpp intType.h intType.lo
                        intType.o libref.la undeploy.wsdd
  Log:
  (null)
  
  Revision  Changes    Path
  1.1                  ws-axis/c/samples/server/ref/AxisServiceException.cpp
  
  Index: AxisServiceException.cpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains implementations of the ref Exception class of the web service.
   */
  
  #include "AxisServiceException.h"
  
  #include <axis/server/AxisWrapperAPI.h>
  
  AxisServiceException::AxisServiceException()
  {
  /* This only serves the purpose of indicating that the 
   * service has thrown an excpetion 
   */ 
  	m_iExceptionCode = AXISC_SERVICE_THROWN_EXCEPTION; 
  	processException(m_iExceptionCode); 
  }
  
  AxisServiceException::AxisServiceException(ISoapFault* pFault)
  {
  	m_iExceptionCode = AXISC_SERVICE_THROWN_EXCEPTION;
  	processException(pFault);}
  
  AxisServiceException::AxisServiceException(int iExceptionCode)
  {
  
  	m_iExceptionCode = iExceptionCode;
  	processException (iExceptionCode);
  }
  
  AxisServiceException::AxisServiceException(exception* e)
  {
  	processException (e);
  }
  
  AxisServiceException::AxisServiceException(exception* e,int iExceptionCode)
  {
  
  	processException (e, iExceptionCode);
  }
  
  AxisServiceException::~AxisServiceException() throw () 
  {
  	m_sMessage ="";
  }
  
  void AxisServiceException:: processException(exception* e, int iExceptionCode)
  {
  	m_sMessage = getMessage (e) + getMessage (iExceptionCode);
  }
  
  void AxisServiceException::processException (ISoapFault* pFault)
  {
  	/*User can do something like deserializing the struct into a string*/
  }
  
  void AxisServiceException::processException(exception* e)
  {
  	m_sMessage = getMessage (e);
  }
  
  void AxisServiceException::processException(int iExceptionCode)
  {
  	m_sMessage = getMessage (iExceptionCode);
  }
  
  const string AxisServiceException::getMessage (exception* objException)
  {
  	string sMessage = objException->what();
  	return sMessage;
  }
  
  const string AxisServiceException::getMessage (int iExceptionCode)
  {
  	string sMessage;
  	switch(iExceptionCode)
  	{
  		case AXISC_SERVICE_THROWN_EXCEPTION:
  		sMessage = "The ref service has thrown an exception. see details";
  		break;
  		default:
  		sMessage = "Unknown Exception has occured in the ref service";
  	}
  return sMessage;
  }
  
  const char* AxisServiceException::what() throw ()
  {
  	return m_sMessage.c_str ();
  }
  
  const int AxisServiceException::getExceptionCode(){
  	return m_iExceptionCode;
  }
  
  
  
  
  1.1                  ws-axis/c/samples/server/ref/AxisServiceException.h
  
  Index: AxisServiceException.h
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains an Exception class of the web service.
   */
  
  #if !defined(__AXISSERVICEEXCEPTION_EXCEPTION_H__INCLUDED_)
  #define __AXISSERVICEEXCEPTION_EXCEPTION_H__INCLUDED_
  
  #include <string>
  #include <exception>
  #include <axis/server/AxisException.h>
  #include <axis/ISoapFault.h>
  using namespace std;
  AXIS_CPP_NAMESPACE_USE 
  
  class AxisServiceException: public AxisException
  {
  public:
  	AxisServiceException();
  	AxisServiceException(ISoapFault* pFault);
  	AxisServiceException(int iExceptionCode);
  	AxisServiceException(exception* e);
  	AxisServiceException(exception* e, int iExceptionCode);
  	virtual ~AxisServiceException() throw();
  	 const char* what() throw();
  	 const int getExceptionCode();
  	 const string getMessage(exception* e);
  	 const string getMessage(int iExceptionCode);
  private:
  	 void processException(exception* e);
  	 void processException(ISoapFault* pFault);
  	 void processException(exception* e, int iExceptionCode);
  	 void processException(int iExceptionCode);
  	 string m_sMessage;
  	 int m_iExceptionCode;
  
  };
  
  #endif /* !defined(__AXISSERVICEEXCEPTION_EXCEPTION_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/ref/AxisServiceException.lo
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/AxisServiceException.o
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  lib_LTLIBRARIES = libref.la
  SUBDIRS =
  libref_la_SOURCES = AxisServiceException.cpp RefTestPortTypeService.cpp intType.cpp RefTestPortTypeWrapper.cpp RefTestPortType.cpp
  libref_la_LIBADD = $(LDFLAGS)
  INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  1.1                  ws-axis/c/samples/server/ref/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  # Makefile.in generated by automake 1.6.3 from Makefile.am.
  # @configure_input@
  
  # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
  # Free Software Foundation, Inc.
  # This Makefile.in is free software; the Free Software Foundation
  # gives unlimited permission to copy and/or distribute it,
  # with or without modifications, as long as this notice is preserved.
  
  # This program is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  # PARTICULAR PURPOSE.
  
  @SET_MAKE@
  SHELL = @SHELL@
  
  srcdir = @srcdir@
  top_srcdir = @top_srcdir@
  VPATH = @srcdir@
  prefix = @prefix@
  exec_prefix = @exec_prefix@
  
  bindir = @bindir@
  sbindir = @sbindir@
  libexecdir = @libexecdir@
  datadir = @datadir@
  sysconfdir = @sysconfdir@
  sharedstatedir = @sharedstatedir@
  localstatedir = @localstatedir@
  libdir = @libdir@
  infodir = @infodir@
  mandir = @mandir@
  includedir = @includedir@
  oldincludedir = /usr/include
  pkgdatadir = $(datadir)/@PACKAGE@
  pkglibdir = $(libdir)/@PACKAGE@
  pkgincludedir = $(includedir)/@PACKAGE@
  top_builddir = ../../..
  
  ACLOCAL = @ACLOCAL@
  AUTOCONF = @AUTOCONF@
  AUTOMAKE = @AUTOMAKE@
  AUTOHEADER = @AUTOHEADER@
  
  am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  INSTALL = @INSTALL@
  INSTALL_PROGRAM = @INSTALL_PROGRAM@
  INSTALL_DATA = @INSTALL_DATA@
  install_sh_DATA = $(install_sh) -c -m 644
  install_sh_PROGRAM = $(install_sh) -c
  install_sh_SCRIPT = $(install_sh) -c
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
  INSTALL_HEADER = $(INSTALL_DATA)
  transform = @program_transform_name@
  NORMAL_INSTALL = :
  PRE_INSTALL = :
  POST_INSTALL = :
  NORMAL_UNINSTALL = :
  PRE_UNINSTALL = :
  POST_UNINSTALL = :
  host_alias = @host_alias@
  host_triplet = @host@
  
  EXEEXT = @EXEEXT@
  OBJEXT = @OBJEXT@
  PATH_SEPARATOR = @PATH_SEPARATOR@
  AMTAR = @AMTAR@
  APACHE2BUILD = @APACHE2BUILD@
  APACHE2INC = @APACHE2INC@
  APACHEBUILD = @APACHEBUILD@
  APACHEINC = @APACHEINC@
  AS = @AS@
  AWK = @AWK@
  CC = @CC@
  CXX = @CXX@
  DEPDIR = @DEPDIR@
  DLLTOOL = @DLLTOOL@
  ECHO = @ECHO@
  EXPATBUILD = @EXPATBUILD@
  EXPATINC = @EXPATINC@
  EXPATLIB = @EXPATLIB@
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  LIBTOOL = @LIBTOOL@
  LIBWWWBUILD = @LIBWWWBUILD@
  LINKCLIENTLIB = @LINKCLIENTLIB@
  LN_S = @LN_S@
  OBJDUMP = @OBJDUMP@
  PACKAGE = @PACKAGE@
  RANLIB = @RANLIB@
  SAMPLESBUILD = @SAMPLESBUILD@
  STRIP = @STRIP@
  TESTCASESBUILD = @TESTCASESBUILD@
  VERSION = @VERSION@
  XERCESCBUILD = @XERCESCBUILD@
  XERCESCINC = @XERCESCINC@
  XERCESCLIB = @XERCESCLIB@
  am__include = @am__include@
  am__quote = @am__quote@
  install_sh = @install_sh@
  lib_LTLIBRARIES = libref.la
  SUBDIRS = 
  libref_la_SOURCES = AxisServiceException.cpp RefTestPortTypeService.cpp intType.cpp RefTestPortTypeWrapper.cpp RefTestPortType.cpp
  libref_la_LIBADD = $(LDFLAGS)
  INCLUDES = -I$(AXISCPP_HOME)/include
  subdir = samples/server/ref
  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  CONFIG_HEADER = $(top_builddir)/config.h
  CONFIG_CLEAN_FILES =
  LTLIBRARIES = $(lib_LTLIBRARIES)
  
  libref_la_LDFLAGS =
  libref_la_DEPENDENCIES =
  am_libref_la_OBJECTS = AxisServiceException.lo RefTestPortTypeService.lo \
  	intType.lo RefTestPortTypeWrapper.lo RefTestPortType.lo
  libref_la_OBJECTS = $(am_libref_la_OBJECTS)
  
  DEFS = @DEFS@
  DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
  CPPFLAGS = @CPPFLAGS@
  LDFLAGS = @LDFLAGS@
  LIBS = @LIBS@
  depcomp = $(SHELL) $(top_srcdir)/depcomp
  am__depfiles_maybe = depfiles
  @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/AxisServiceException.Plo \
  @AMDEP_TRUE@	./$(DEPDIR)/RefTestPortType.Plo \
  @AMDEP_TRUE@	./$(DEPDIR)/RefTestPortTypeService.Plo \
  @AMDEP_TRUE@	./$(DEPDIR)/RefTestPortTypeWrapper.Plo \
  @AMDEP_TRUE@	./$(DEPDIR)/intType.Plo
  CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
  	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  	$(AM_CXXFLAGS) $(CXXFLAGS)
  CXXLD = $(CXX)
  CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
  	$(AM_LDFLAGS) $(LDFLAGS) -o $@
  CXXFLAGS = @CXXFLAGS@
  DIST_SOURCES = $(libref_la_SOURCES)
  
  RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
  	uninstall-info-recursive all-recursive install-data-recursive \
  	install-exec-recursive installdirs-recursive install-recursive \
  	uninstall-recursive check-recursive installcheck-recursive
  DIST_COMMON = Makefile.am Makefile.in
  DIST_SUBDIRS = $(SUBDIRS)
  SOURCES = $(libref_la_SOURCES)
  
  all: all-recursive
  
  .SUFFIXES:
  .SUFFIXES: .cpp .lo .o .obj
  $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
  	cd $(top_srcdir) && \
  	  $(AUTOMAKE) --gnu  samples/server/ref/Makefile
  Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
  	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
  libLTLIBRARIES_INSTALL = $(INSTALL)
  install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  	@$(NORMAL_INSTALL)
  	$(mkinstalldirs) $(DESTDIR)$(libdir)
  	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  	  if test -f $$p; then \
  	    f="`echo $$p | sed -e 's|^.*/||'`"; \
  	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
  	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
  	  else :; fi; \
  	done
  
  uninstall-libLTLIBRARIES:
  	@$(NORMAL_UNINSTALL)
  	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  	    p="`echo $$p | sed -e 's|^.*/||'`"; \
  	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
  	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
  	done
  
  clean-libLTLIBRARIES:
  	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  	  test -z "$dir" && dir=.; \
  	  echo "rm -f \"$${dir}/so_locations\""; \
  	  rm -f "$${dir}/so_locations"; \
  	done
  libref.la: $(libref_la_OBJECTS) $(libref_la_DEPENDENCIES) 
  	$(CXXLINK) -rpath $(libdir) $(libref_la_LDFLAGS) $(libref_la_OBJECTS) $(libref_la_LIBADD) $(LIBS)
  
  mostlyclean-compile:
  	-rm -f *.$(OBJEXT) core *.core
  
  distclean-compile:
  	-rm -f *.tab.c
  
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AxisServiceException.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RefTestPortType.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RefTestPortTypeService.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RefTestPortTypeWrapper.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intType.Plo@am__quote@
  
  distclean-depend:
  	-rm -rf ./$(DEPDIR)
  
  .cpp.o:
  @AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  @AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  @AMDEP_TRUE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  	$(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
  
  .cpp.obj:
  @AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  @AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  @AMDEP_TRUE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  	$(CXXCOMPILE) -c -o $@ `cygpath -w $<`
  
  .cpp.lo:
  @AMDEP_TRUE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  @AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
  @AMDEP_TRUE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  	$(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
  CXXDEPMODE = @CXXDEPMODE@
  
  mostlyclean-libtool:
  	-rm -f *.lo
  
  clean-libtool:
  	-rm -rf .libs _libs
  
  distclean-libtool:
  	-rm -f libtool
  uninstall-info-am:
  
  # This directory's subdirectories are mostly independent; you can cd
  # into them and run `make' without going through this Makefile.
  # To change the values of `make' variables: instead of editing Makefiles,
  # (1) if the variable is set in `config.status', edit `config.status'
  #     (which will cause the Makefiles to be regenerated when you run `make');
  # (2) otherwise, pass the desired values on the `make' command line.
  $(RECURSIVE_TARGETS):
  	@set fnord $$MAKEFLAGS; amf=$$2; \
  	dot_seen=no; \
  	target=`echo $@ | sed s/-recursive//`; \
  	list='$(SUBDIRS)'; for subdir in $$list; do \
  	  echo "Making $$target in $$subdir"; \
  	  if test "$$subdir" = "."; then \
  	    dot_seen=yes; \
  	    local_target="$$target-am"; \
  	  else \
  	    local_target="$$target"; \
  	  fi; \
  	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  	done; \
  	if test "$$dot_seen" = "no"; then \
  	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  	fi; test -z "$$fail"
  
  mostlyclean-recursive clean-recursive distclean-recursive \
  maintainer-clean-recursive:
  	@set fnord $$MAKEFLAGS; amf=$$2; \
  	dot_seen=no; \
  	case "$@" in \
  	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  	  *) list='$(SUBDIRS)' ;; \
  	esac; \
  	rev=''; for subdir in $$list; do \
  	  if test "$$subdir" = "."; then :; else \
  	    rev="$$subdir $$rev"; \
  	  fi; \
  	done; \
  	rev="$$rev ."; \
  	target=`echo $@ | sed s/-recursive//`; \
  	for subdir in $$rev; do \
  	  echo "Making $$target in $$subdir"; \
  	  if test "$$subdir" = "."; then \
  	    local_target="$$target-am"; \
  	  else \
  	    local_target="$$target"; \
  	  fi; \
  	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  	done && test -z "$$fail"
  tags-recursive:
  	list='$(SUBDIRS)'; for subdir in $$list; do \
  	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  	done
  
  ETAGS = etags
  ETAGSFLAGS =
  
  tags: TAGS
  
  ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
  	  $(AWK) '    { files[$$0] = 1; } \
  	       END { for (i in files) print i; }'`; \
  	mkid -fID $$unique
  
  TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  		$(TAGS_FILES) $(LISP)
  	tags=; \
  	here=`pwd`; \
  	list='$(SUBDIRS)'; for subdir in $$list; do \
  	  if test "$$subdir" = .; then :; else \
  	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
  	  fi; \
  	done; \
  	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  	unique=`for i in $$list; do \
  	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  	  done | \
  	  $(AWK) '    { files[$$0] = 1; } \
  	       END { for (i in files) print i; }'`; \
  	test -z "$(ETAGS_ARGS)$$tags$$unique" \
  	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  	     $$tags $$unique
  
  GTAGS:
  	here=`$(am__cd) $(top_builddir) && pwd` \
  	  && cd $(top_srcdir) \
  	  && gtags -i $(GTAGS_ARGS) $$here
  
  distclean-tags:
  	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  
  top_distdir = ../../..
  distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
  
  distdir: $(DISTFILES)
  	@list='$(DISTFILES)'; for file in $$list; do \
  	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  	    dir="/$$dir"; \
  	    $(mkinstalldirs) "$(distdir)$$dir"; \
  	  else \
  	    dir=''; \
  	  fi; \
  	  if test -d $$d/$$file; then \
  	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  	    fi; \
  	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  	  else \
  	    test -f $(distdir)/$$file \
  	    || cp -p $$d/$$file $(distdir)/$$file \
  	    || exit 1; \
  	  fi; \
  	done
  	list='$(SUBDIRS)'; for subdir in $$list; do \
  	  if test "$$subdir" = .; then :; else \
  	    test -d $(distdir)/$$subdir \
  	    || mkdir $(distdir)/$$subdir \
  	    || exit 1; \
  	    (cd $$subdir && \
  	      $(MAKE) $(AM_MAKEFLAGS) \
  	        top_distdir="$(top_distdir)" \
  	        distdir=../$(distdir)/$$subdir \
  	        distdir) \
  	      || exit 1; \
  	  fi; \
  	done
  check-am: all-am
  check: check-recursive
  all-am: Makefile $(LTLIBRARIES)
  installdirs: installdirs-recursive
  installdirs-am:
  	$(mkinstalldirs) $(DESTDIR)$(libdir)
  
  install: install-recursive
  install-exec: install-exec-recursive
  install-data: install-data-recursive
  uninstall: uninstall-recursive
  
  install-am: all-am
  	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  
  installcheck: installcheck-recursive
  install-strip:
  	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  	  INSTALL_STRIP_FLAG=-s \
  	  `test -z '$(STRIP)' || \
  	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  mostlyclean-generic:
  
  clean-generic:
  
  distclean-generic:
  	-rm -f Makefile $(CONFIG_CLEAN_FILES)
  
  maintainer-clean-generic:
  	@echo "This command is intended for maintainers to use"
  	@echo "it deletes files that may require special tools to rebuild."
  clean: clean-recursive
  
  clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
  	mostlyclean-am
  
  distclean: distclean-recursive
  
  distclean-am: clean-am distclean-compile distclean-depend \
  	distclean-generic distclean-libtool distclean-tags
  
  dvi: dvi-recursive
  
  dvi-am:
  
  info: info-recursive
  
  info-am:
  
  install-data-am:
  
  install-exec-am: install-libLTLIBRARIES
  
  install-info: install-info-recursive
  
  install-man:
  
  installcheck-am:
  
  maintainer-clean: maintainer-clean-recursive
  
  maintainer-clean-am: distclean-am maintainer-clean-generic
  
  mostlyclean: mostlyclean-recursive
  
  mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  	mostlyclean-libtool
  
  uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
  
  uninstall-info: uninstall-info-recursive
  
  .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
  	clean-generic clean-libLTLIBRARIES clean-libtool \
  	clean-recursive distclean distclean-compile distclean-depend \
  	distclean-generic distclean-libtool distclean-recursive \
  	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
  	info-recursive install install-am install-data install-data-am \
  	install-data-recursive install-exec install-exec-am \
  	install-exec-recursive install-info install-info-am \
  	install-info-recursive install-libLTLIBRARIES install-man \
  	install-recursive install-strip installcheck installcheck-am \
  	installdirs installdirs-am installdirs-recursive \
  	maintainer-clean maintainer-clean-generic \
  	maintainer-clean-recursive mostlyclean mostlyclean-compile \
  	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
  	tags tags-recursive uninstall uninstall-am uninstall-info-am \
  	uninstall-info-recursive uninstall-libLTLIBRARIES \
  	uninstall-recursive
  
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
  # Otherwise a system limit (for SysV at least) may be exceeded.
  .NOEXPORT:
  
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortType.cpp
  
  Index: RefTestPortType.cpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains definitions of the web service
   */
  
  #include "RefTestPortType.h"
  
  
  RefTestPortType::RefTestPortType()
  {
  }
  
  RefTestPortType::~RefTestPortType()
  {
  }
  
  /* This function is called by the AxisEngine when something went wrong
   with the current web service request processing. Appropriate actions should
   be taken here.*/
  void RefTestPortType::onFault()
  {
  }
  /* This function is called by the AxisEngine when this web service
   library is first loaded. So here we can initialize any global/static
   data structures of this web service or open database connections */
  void RefTestPortType::init()
  {
  }
  /* This function is called by the AxisEngine when this web service
   library is unloaded. So we can deallocate any global/static data structures
   and close database connections etc here. */
  void RefTestPortType::fini()
  {
  }
  intType* RefTestPortType::echoInt(intType* Value0)  
  {
  	return Value0;
  }
  
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortType.h
  
  Index: RefTestPortType.h
  ===================================================================
  /*
   * This is the Service Class genarated by the tool WSDL2Ws
   * RefTestPortType.h: interface for the RefTestPortTypeclass.
   *
   */
  #if !defined(__REFTESTPORTTYPE_SERVERSKELETON_H__INCLUDED_)
  #define __REFTESTPORTTYPE_SERVERSKELETON_H__INCLUDED_
  
  #include <axis/server/AxisUserAPI.h>
  #include "AxisServiceException.h" 
  
  #include "intType.h"
  
  class RefTestPortType 
  {
  	public:
  		RefTestPortType();
  	public:
  		virtual ~RefTestPortType();
  	public: 
  		void onFault();
  		void init();
  		void fini();
  		intType* echoInt(intType* Value0);
  };
  
  #endif /* !defined(__REFTESTPORTTYPE_SERVERSKELETON_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortType.lo
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortType.o
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeService.cpp
  
  Index: RefTestPortTypeService.cpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains the two export functions of the Web service Dynamic Library 
   */
  
  #include "RefTestPortTypeWrapper.h" 
  extern "C" {
  STORAGE_CLASS_INFO
  int GetClassInstance(BasicHandler **inst)
  {
  	*inst = new BasicHandler();
  	WrapperClassHandler* pWCH = new RefTestPortTypeWrapper();
  	(*inst)->_functions = 0;
  	if (pWCH)
  	{
  		(*inst)->_object = pWCH;
  		return pWCH->init();
  	}
  	return AXIS_FAIL;
  }
  STORAGE_CLASS_INFO 
  int DestroyInstance(BasicHandler *inst)
  {
  	if (inst)
  	{
  		WrapperClassHandler* pWCH = reinterpret_cast<WrapperClassHandler*>(inst);
  		pWCH->fini();
  		delete pWCH;
  		delete inst;
  		return AXIS_SUCCESS;
  	}
  	return AXIS_FAIL;
  }
  }
  
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeService.lo
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeService.o
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeWrapper.cpp
  
  Index: RefTestPortTypeWrapper.cpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains Web Service Wrapper implementations
   */
  
  #include "RefTestPortTypeWrapper.h"
  
  extern int Axis_DeSerialize_intType(intType* param, IWrapperSoapDeSerializer* pDZ);
  extern void* Axis_Create_intType(intType *Obj, bool bArray = false, int nSize=0);
  extern void Axis_Delete_intType(intType* param, bool bArray = false, int nSize=0);
  extern int Axis_Serialize_intType(intType* param, IWrapperSoapSerializer* pSZ, bool bArray = false);
  extern int Axis_GetSize_intType();
  
  RefTestPortTypeWrapper::RefTestPortTypeWrapper()
  {
  	pWs = new RefTestPortType();
  }
  
  RefTestPortTypeWrapper::~RefTestPortTypeWrapper()
  {
  	delete pWs;
  }
  
  /*implementation of WrapperClassHandler interface*/
  void RefTestPortTypeWrapper::onFault(void *pMsg)
  {
  	pWs->onFault();
  }
  
  int RefTestPortTypeWrapper::init()
  {
  	pWs->init();
  	return AXIS_SUCCESS;
  }
  
  int RefTestPortTypeWrapper::fini()
  {
  	pWs->fini();
  	return AXIS_SUCCESS;
  }
  
  
  /*
   * This method invokes the right service method 
   */
  int RefTestPortTypeWrapper::invoke(void *pMsg)
  {
  	IMessageData* mc = (IMessageData*)pMsg;
  	const AxisChar *method = mc->getOperationName();
  	if (0 == strcmp(method, "echoInt"))
  		return echoInt(mc);
  	else return AXIS_FAIL;
  }
  
  
  /*Methods corresponding to the web service methods*/
  
  /*
   * This method wrap the service method 
   */
  int RefTestPortTypeWrapper::echoInt(void* pMsg)
  {
  	IMessageData* mc = (IMessageData*)pMsg;
  	int nStatus;
  	IWrapperSoapSerializer* pIWSSZ = NULL;
  	mc->getSoapSerializer(&pIWSSZ);
  	if (!pIWSSZ) return AXIS_FAIL;
  	IWrapperSoapDeSerializer* pIWSDZ = NULL;
  	mc->getSoapDeSerializer(&pIWSDZ);
  	if (!pIWSDZ) return AXIS_FAIL;
  	/* check whether we have got correct message */
  	if (AXIS_SUCCESS != pIWSDZ->checkMessageBody("echoInt", "http://soapinterop.org/")) return AXIS_FAIL;
  	pIWSSZ->createSoapMethod("echoIntResponse", "http://soapinterop.org/");
  	intType *v0 = (intType*)pIWSDZ->getCmplxObject((void*)Axis_DeSerialize_intType
  		, (void*)Axis_Create_intType, (void*)Axis_Delete_intType
  		, "inputIntType", Axis_URI_intType);
  	if (AXIS_SUCCESS != (nStatus = pIWSDZ->getStatus())) return nStatus;
  	try
  	{
  		intType* ret = pWs->echoInt(v0);
  		return pIWSSZ->addOutputCmplxParam(ret, (void*)Axis_Serialize_intType, (void*)Axis_Delete_intType, "echoIntReturn", Axis_URI_intType);
  	}
  	catch(...){
  	}
  }
  
  
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeWrapper.h
  
  Index: RefTestPortTypeWrapper.h
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains Web Service Wrapper declarations
   */
  
  #if !defined(__REFTESTPORTTYPEWRAPPER_SERVERWRAPPER_H__INCLUDED_)
  #define __REFTESTPORTTYPEWRAPPER_SERVERWRAPPER_H__INCLUDED_
  
  #include "RefTestPortType.h"
  #include <axis/server/WrapperClassHandler.h>
  #include <axis/server/IMessageData.h>
  #include <axis/server/GDefine.h>
  #include <axis/server/AxisWrapperAPI.h>
  #include "AxisServiceException.h" 
  AXIS_CPP_NAMESPACE_USE 
  
  class RefTestPortTypeWrapper : public WrapperClassHandler
  {
  private:/* Actual web service object*/
  	RefTestPortType *pWs;
  public:
  	RefTestPortTypeWrapper();
  public:
  	virtual ~RefTestPortTypeWrapper();
  public:/*implementation of WrapperClassHandler interface*/
  	int AXISCALL invoke(void* pMsg);
  	void AXISCALL onFault(void* pMsg);
  	int AXISCALL init();
  	int AXISCALL fini();
  	AXIS_BINDING_STYLE AXISCALL getBindingStyle(){return RPC_ENCODED;};
  private:/*Methods corresponding to the web service methods*/
  	int echoInt(void* pMsg);
  };
  
  #endif /* !defined(__REFTESTPORTTYPEWRAPPER_SERVERWRAPPER_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeWrapper.lo
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/RefTestPortTypeWrapper.o
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/deploy.wsdd
  
  Index: deploy.wsdd
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:CPP="http://xml.apache.org/axis/wsdd/providers/CPP">
  	<service name="ref" provider="CPP:RPC" description="Axis C++ web service">
  		<parameter name="className" value="/user/local/apache/axis/ref.so"/>
  		<parameter name="allowedMethods" value="echoInt "/>
  	</service>
  </deployment>
  
  
  
  1.1                  ws-axis/c/samples/server/ref/intType.cpp
  
  Index: intType.cpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains functions to manipulate complex type intType
   */
  
  #include <malloc.h>
  #include "intType.h"
  #include <axis/server/AxisWrapperAPI.h>
  
  /*
   * This static method serialize a intType type of object
   */
  int Axis_Serialize_intType(intType* param, IWrapperSoapSerializer* pSZ, bool bArray = false)
  {
  	if (bArray)
  	{
  		pSZ->serialize("<", Axis_TypeName_intType, ">", NULL);
  	}
  	else
  	{
  		const AxisChar* sPrefix = pSZ->getNamespacePrefix(Axis_URI_intType);
  		pSZ->serialize("<", Axis_TypeName_intType, " xsi:type=\"", sPrefix, ":",
  			Axis_TypeName_intType, "\" xmlns:", sPrefix, "=\"",
  			Axis_URI_intType, "\">", NULL);
  	}
  
  	pSZ->serializeAsElement("intItem", (void*)&(param->intItem), XSD_INT);
  
  	pSZ->serialize("</", Axis_TypeName_intType, ">", NULL);
  	return AXIS_SUCCESS;
  }
  
  /*
   * This static method deserialize a intType type of object
   */
  int Axis_DeSerialize_intType(intType* param, IWrapperSoapDeSerializer* pIWSDZ)
  {
  	param->intItem = pIWSDZ->getElementAsInt("intItem",0);
  	return pIWSDZ->getStatus();
  }
  void* Axis_Create_intType(intType* pObj, bool bArray = false, int nSize=0)
  {
  	if (bArray && (nSize > 0))
  	{
  		if (pObj)
  		{
  			intType* pNew = new intType[nSize];
  			memcpy(pNew, pObj, sizeof(intType)*nSize/2);
  			memset(pObj, 0, sizeof(intType)*nSize/2);
  			delete [] pObj;
  			return pNew;
  		}
  		else
  		{
  			return new intType[nSize];
  		}
  	}
  	else
  		return new intType;
  }
  
  /*
   * This static method delete a intType type of object
   */
  void Axis_Delete_intType(intType* param, bool bArray = false, int nSize=0)
  {
  	if (bArray)
  	{
  		delete [] param;
  	}
  	else
  	{
  		delete param;
  	}
  }
  /*
   * This static method gives the size of intType type of object
   */
  int Axis_GetSize_intType()
  {
  	return sizeof(intType);
  }
  
  intType::intType()
  {
  	/*do not allocate memory to any pointer members here
  	 because deserializer will allocate memory anyway. */
  }
  
  intType::~intType()
  {
  	/*delete any pointer and array members here*/
  }
  
  
  
  1.1                  ws-axis/c/samples/server/ref/intType.h
  
  Index: intType.h
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains functions to manipulate complex type intType
   */
  
  #if !defined(__INTTYPE_PARAM_H__INCLUDED_)
  #define __INTTYPE_PARAM_H__INCLUDED_
  
  #include <axis/server/AxisUserAPI.h>
  AXIS_CPP_NAMESPACE_USE 
  
  /*Local name and the URI for the type*/
  static const char* Axis_URI_intType = "http://soapinterop.org/xsd";
  static const char* Axis_TypeName_intType = "intType";
  
  class intType
  {
  public:
  	int intItem;
  	intType();
  	virtual ~intType();
  };
  
  #endif /* !defined(__INTTYPE_PARAM_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/ref/intType.lo
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/intType.o
  
  	<<Binary file>>
  
  
  1.1                  ws-axis/c/samples/server/ref/libref.la
  
  Index: libref.la
  ===================================================================
  # libref.la - a libtool library file
  # Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
  #
  # Please DO NOT delete this file!
  # It is necessary for linking the library.
  
  # The name that we can dlopen(3).
  dlname='libref.so.0'
  
  # Names of this library.
  library_names='libref.so.0.0.0 libref.so.0 libref.so'
  
  # The name of the static archive.
  old_library='libref.a'
  
  # Libraries that this one depends upon.
  dependency_libs=' -lstdc++'
  
  # Version information for libref.
  current=0
  age=0
  revision=0
  
  # Is this an already installed library?
  installed=no
  
  # Files to dlopen/dlpreopen
  dlopen=''
  dlpreopen=''
  
  # Directory that this library needs to be installed in:
  libdir='/usr/local/axiscpp_deploy/lib'
  
  
  
  1.1                  ws-axis/c/samples/server/ref/undeploy.wsdd
  
  Index: undeploy.wsdd
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <undeployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:CPP="http://xml.apache.org/axis/wsdd/providers/CPP">
  	<service name="ref"/>
  </undeployment>