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 da...@apache.org on 2004/06/28 10:11:43 UTC

cvs commit: ws-axis/c/tests/server Makefile.am configure.ac

damitha     2004/06/28 01:11:43

  Modified:    c/tests/client Makefile.am
               c/tests/client/xsdAnyTest1 ExtensibilityQueryMain.cpp
               c/tests/client/xsdAnyTest1/gen_src
                        ExtensibilityQueryPortType.cpp
               c/tests/server Makefile.am configure.ac
  Log:
  (null)
  
  Revision  Changes    Path
  1.9       +1 -1      ws-axis/c/tests/client/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/Makefile.am,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile.am	26 Jun 2004 14:09:46 -0000	1.8
  +++ Makefile.am	28 Jun 2004 08:11:43 -0000	1.9
  @@ -1 +1 @@
  -SUBDIRS = stubTest interop threadSafe exceptionTest fault_mapping xsdAnyTest1 soapHeader httpHeader
  +SUBDIRS = stubTest interop threadSafe exceptionTest fault_mapping xsdAnyTest1 soapHeader httpHeader xsdAnyTest1
  
  
  
  1.5       +2 -2      ws-axis/c/tests/client/xsdAnyTest1/ExtensibilityQueryMain.cpp
  
  Index: ExtensibilityQueryMain.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/xsdAnyTest1/ExtensibilityQueryMain.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ExtensibilityQueryMain.cpp	28 Jun 2004 07:26:40 -0000	1.4
  +++ ExtensibilityQueryMain.cpp	28 Jun 2004 08:11:43 -0000	1.5
  @@ -12,7 +12,7 @@
       string str;
       try{
   
  -        ExtensibilityQueryPortType* pStub = new ExtensibilityQueryPortType("http://localhost:5555/axis/testXSDANY",APTHTTP);
  +        ExtensibilityQueryPortType* pStub = new ExtensibilityQueryPortType("http://localhost:9090/axis/testXSDANY",APTHTTP);
           AnyType* pAnyReturn = pStub->query(pAny);
   		if (!pAnyReturn)
   		{
  @@ -27,7 +27,7 @@
       }
       catch(AxisException& e)
       {
  -        e.getExceptionCode();
  +        printf("%s\n", e.getExceptionCode());
       }
   
       return 0;
  
  
  
  1.2       +5 -2      ws-axis/c/tests/client/xsdAnyTest1/gen_src/ExtensibilityQueryPortType.cpp
  
  Index: ExtensibilityQueryPortType.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/xsdAnyTest1/gen_src/ExtensibilityQueryPortType.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ExtensibilityQueryPortType.cpp	24 Jun 2004 12:47:15 -0000	1.1
  +++ ExtensibilityQueryPortType.cpp	28 Jun 2004 08:11:43 -0000	1.2
  @@ -22,7 +22,7 @@
   ExtensibilityQueryPortType::ExtensibilityQueryPortType()
   :Stub(" ", APTHTTP)
   {
  -	m_pCall->setEndpointURI("http://localhost:8080/axis/testXSDANY");
  +	m_pCall->setEndpointURI("http://localhost:80/axis/testXSDANY");
   }
   
   ExtensibilityQueryPortType::~ExtensibilityQueryPortType()
  @@ -72,7 +72,10 @@
   			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
   			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
   			cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -			throw AxisGenException(cFaultdetail);
  +			if(cFaultdetail)
  +			    throw AxisGenException(cFaultdetail);
  +			else
  +			    throw AxisGenException(SERVER_UNKNOWN_ERROR);
   		}
   		else throw;
   	}
  
  
  
  1.2       +1 -1      ws-axis/c/tests/server/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/server/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile.am	22 Jun 2004 12:18:26 -0000	1.1
  +++ Makefile.am	28 Jun 2004 08:11:43 -0000	1.2
  @@ -1 +1 @@
  -SUBDIRS = exceptionTest
  +SUBDIRS = exceptionTest xsdAnyTest1
  
  
  
  1.3       +1 -1      ws-axis/c/tests/server/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/server/configure.ac,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- configure.ac	23 Jun 2004 11:31:36 -0000	1.2
  +++ configure.ac	28 Jun 2004 08:11:43 -0000	1.3
  @@ -8,4 +8,4 @@
   AC_PROG_CXX
   AC_PROG_INSTALL
   AC_PROG_LIBTOOL
  -AC_OUTPUT(Makefile exceptionTest/Makefile exceptionTest/gen_src/Makefile)
  +AC_OUTPUT(Makefile exceptionTest/Makefile exceptionTest/gen_src/Makefile xsdAnyTest1/Makefile xsdAnyTest1/gen_src/Makefile)