axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/tests/client/uddi_inquire Client.cpp readme.txt
Date Fri, 03 Dec 2004 03:33:37 GMT
samisa      2004/12/02 19:33:37

  Modified:    c/tests/client/uddi_inquire Client.cpp readme.txt
  Log:
  Fixed problems due to header file locaion changes and .hpp header extention. Also changed
the readme to build without make.
  
  Revision  Changes    Path
  1.2       +4 -4      ws-axis/c/tests/client/uddi_inquire/Client.cpp
  
  Index: Client.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/uddi_inquire/Client.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Client.cpp	31 Aug 2004 08:27:22 -0000	1.1
  +++ Client.cpp	3 Dec 2004 03:33:37 -0000	1.2
  @@ -27,11 +27,11 @@
   #include <stdio.h>
   #include <stdlib.h>
   #include <unistd.h>
  -#include <axis/server/AxisException.h>
  +#include <axis/AxisException.hpp>
   using namespace std;
   
  -#include "gen_src/Inquire.h"
  -#include "gen_src/InquireService_AxisClientException.h"
  +#include "./gen_src/Inquire.hpp"
  +#include "./gen_src/InquireService_AxisClientException.hpp"
   
   #define ARRAYSIZE 1 
   
  @@ -42,7 +42,7 @@
   {
       if( argc < 2 )
       {
  -        printf( "Usage: %s [endpoint] ", argv[0]);
  +        printf( "Usage: %s [endpoint] \n", argv[0]);
           exit(0);
       }
   
  
  
  
  1.3       +4 -5      ws-axis/c/tests/client/uddi_inquire/readme.txt
  
  Index: readme.txt
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/uddi_inquire/readme.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- readme.txt	31 Aug 2004 08:29:37 -0000	1.2
  +++ readme.txt	3 Dec 2004 03:33:37 -0000	1.3
  @@ -3,12 +3,11 @@
   1. Generate the source code for WSDL file
   java -classpath $AXISCPP_HOME/lib/axis/wsdl2ws.jar:$CLASSPATH org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
-sclient -lc++ -ogen_src inquire_v2.wsdl
   
  -2. Edit the gen_src/Makefile.am and add ../Client.cpp sources and @LINKCLIENTLIB@ macro
  +2. Compile the code
  +g++ -ouddi_client -I$AXISCPP_HOME/include/ -I./ -L$AXISCPP_DEPLOY/lib/ Client.cpp gen_src/*.cpp
-laxiscpp_client -ldl
   
  -3. configure; make; make install
  -
  -4. Run the progrem
  -./gen_src/InquireService <service url>
  +3. Run the progrem
  +./uddi_client <service url>
   
   I could get this sample working with
   http://www-3.ibm.com/services/uddi/testregistry/inquiryapi URL.
  
  
  

Mime
View raw message