You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2003/09/26 09:20:22 UTC

cvs commit: ws-axis/c/src/server/apache mod_axis.c

sanjaya     2003/09/26 00:20:22

  Modified:    c/src/server/apache mod_axis.c
  Log:
  -included AxisConfig.h
  -Changed the signature of the call initialize_module(int bServer) to
  initialize_module(int bServer, const char * wsddPath)
  
  Revision  Changes    Path
  1.13      +10 -3     ws-axis/c/src/server/apache/mod_axis.c
  
  Index: mod_axis.c
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/server/apache/mod_axis.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- mod_axis.c	22 Sep 2003 05:12:22 -0000	1.12
  +++ mod_axis.c	26 Sep 2003 07:20:22 -0000	1.13
  @@ -7,6 +7,10 @@
   #include "../../common/Packet.h"
   #include <string.h>
   #include <malloc.h>
  +/*
  +AxisConfig.h contains definitions for the wsdd file path
  +*/
  +#include "../../common/AxisConfig.h"
   
   #define xxx ap_log_rerror(APLOG_MARK,APLOG_ERR, globr,"logged here");
   #define yyy ap_log_rerror(APLOG_MARK, APLOG_ERR, globr,"logged here");
  @@ -28,7 +32,10 @@
   /*Call initialize_module() [of Packet.h] from within this method*/
   void module_init(server_rec *svr_rec, pool* p)
   {
  -	initialize_module(1);
  +	/*
  +	WSDDFILEPATH Defined in common/AxisConfig.h
  +	*/
  +	initialize_module(1, WSDDFILEPATH);
   }
   
   int send_response_bytes(const char* res, const void* opstream)
  @@ -69,7 +76,7 @@
   	sstr->transport.pSendFunct = send_response_bytes;
   	sstr->transport.pGetFunct = get_request_bytes;
   	sstr->transport.pSendTrtFunct = send_transport_information;
  -	sstr->transport.pGetTrtFunct = NULL; /*isn't there a get transport information function for apache module ?*/
  +	sstr->transport.pGetTrtFunct = send_transport_information; /*isn't there a get transport information function for apache module ?*/
   	sstr->trtype = APTHTTP;
   	/*req_rec is used as both input and output streams*/
   	sstr->str.ip_stream = req_rec;
  @@ -117,7 +124,7 @@
   
   	if(0 != process_request(sstr))
   	{
  -		ap_rputs("SOAP Engine failed to response",req_rec);
  +		//ap_rputs("SOAP Engine failed to response",req_rec);
   		return OK;
   	}