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:09:07 UTC
cvs commit: ws-axis/c/src/server/simple_axis_server SimpleAxisServer.cpp
roshan 2003/10/08 04:09:07
Modified: c/src/server/simple_axis_server SimpleAxisServer.cpp
Log:
minor changes
Revision Changes Path
1.7 +22 -9 ws-axis/c/src/server/simple_axis_server/SimpleAxisServer.cpp
Index: SimpleAxisServer.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/simple_axis_server/SimpleAxisServer.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- SimpleAxisServer.cpp 1 Oct 2003 08:04:30 -0000 1.6
+++ SimpleAxisServer.cpp 8 Oct 2003 11:09:07 -0000 1.7
@@ -93,8 +93,8 @@
int send_response_bytes(const char * res, const void* opstream)
{
- //printf("calling send_response_bytes");
- //printf("%s", res);
+ printf("calling send_response_bytes\n");
+ printf("%s", res);
int iMsgSize = strlen(res);
@@ -138,10 +138,11 @@
str->str.ip_stream = "is";
str->str.op_stream = "os";
str->so.http.ip_headers = (Ax_header*)malloc(sizeof(Ax_header));
-// str->so.http.ip_headers->headername = SOAPACTIONHEADER;
-// str->so.http.ip_headers->headervalue = "\"Calculator\"";
+ //str->so.http.ip_headers->headername = SOAPACTIONHEADER;
+ //str->so.http.ip_headers->headervalue = "\"Calculator\"";
str->so.http.ip_headercount = 0;
str->so.http.uri_path = "http://someurl/axis/Calculator";
+ //str->so.http.uri_path = "http://someurl/axis/Deployment";
//set transport
str->transport.pSendFunct = send_response_bytes;
@@ -254,9 +255,21 @@
printf("%s\n","recv() failed");
//DEBUG info
- //printf("----------START request stream of client------------\n");
- //printf("%s\n\n", echoBuffer);
- //printf("----------END request stream of client------------\n");
+ printf("----------START request stream of client------------\n");
+ printf("%s\n\n", echoBuffer);
+ printf("----------END request stream of client------------\n");
+
+ /*
+ while (recvMsgSize>0) {
+ printf("hi \n");
+ if ((recvMsgSize = recv(clntSocket, echoBuffer, RCVBUFSIZE, 64)) < 0)
+ printf("%s\n","recv() failed");
+
+ printf("%s\n\n", echoBuffer);
+ printf("%d\n", recvMsgSize);
+ printf("----2------END request stream of client------------\n");
+ }
+ */
string sClientReqStream = echoBuffer;
@@ -341,8 +354,8 @@
//initializing Axis
//initialize_module();
-
- initialize_module(1, WSDDFILEPATH);
+
+ initialize_module(1, "");
while (running) {
FD_ZERO(&sockSet);