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 ro...@apache.org on 2003/10/08 13:04:24 UTC

cvs commit: ws-axis/c/src/engine Main.c

roshan      2003/10/08 04:04:24

  Modified:    c/src/engine Main.c
  Log:
  added missing methods
  
  Revision  Changes    Path
  1.18      +24 -2     ws-axis/c/src/engine/Main.c
  
  Index: Main.c
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/Main.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Main.c	6 Oct 2003 12:36:15 -0000	1.17
  +++ Main.c	8 Oct 2003 11:04:24 -0000	1.18
  @@ -67,10 +67,32 @@
   #include <string.h>
   #include <malloc.h>
   #include "../common/Packet.h"
  -#include "../common/AxisConfig.h"
  +//#include "../common/AxisConfig.h"
   
   extern int process_request(Ax_soapstream *str);
   
  +int send_response_bytes(const char * res, const void* opstream) 
  +{	
  +	//printf("calling send_response_bytes");
  +	//printf("%s", res);
  +
  +
  +	return 0;
  +}
  +
  +int get_request_bytes(char * req, int reqsize, int* retsize, const void* ipstream) 
  +{
  +
  +	return 0;
  +}
  +
  +int send_transport_information(Ax_soapstream* sSoapstream) 
  +{
  +	//printf("sending trasport info");	
  +
  +	return 0;
  +}
  +
   //soap request with headers
   //char* ip = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope \
   			xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" \
  @@ -244,7 +266,7 @@
   
   	printf("soap request :\n %s\n", ip);
   
  -	if (SUCCESS != initialize_module(1, WSDDFILEPATH)) return 1;
  +	if (SUCCESS != initialize_module(1, "")) return 1;
   	for (xx =0; xx < 1 ; xx++)
   	{
   		printf("Sending Soap Response :\n");