axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: ws-axis/c/tests/auto_build/testcases/output XSD_byte.expected XSD_byte_ServerResponse.expected
Date Tue, 12 Jul 2005 18:10:06 GMT
dicka       2005/07/12 11:10:06

  Modified:    c/include/axis AxisUserAPI.h AxisUserAPI.hpp
               c/src/soap/xsd Byte.cpp
               c/tests/auto_build/testcases/output XSD_byte.expected
                        XSD_byte_ServerResponse.expected
  Log:
  Resolve problems being seen on AIX with xsd:byte.
  Also found a small problem in the testcase, which has incorrect value in server response
and expected output.
  
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.17      +1 -1      ws-axis/c/include/axis/AxisUserAPI.h
  
  Index: AxisUserAPI.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/AxisUserAPI.h,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- AxisUserAPI.h	6 Jul 2005 18:00:30 -0000	1.16
  +++ AxisUserAPI.h	12 Jul 2005 18:10:06 -0000	1.17
  @@ -168,7 +168,7 @@
    * @typedef xsdc__byte
    * Axis C++ defined type for xml basic type byte
    */
  -typedef char xsdc__byte;
  +typedef signed char xsdc__byte;
   
   /**
    * @typedef xsdc__QName
  
  
  
  1.14      +1 -1      ws-axis/c/include/axis/AxisUserAPI.hpp
  
  Index: AxisUserAPI.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/AxisUserAPI.hpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- AxisUserAPI.hpp	6 Jul 2005 18:00:30 -0000	1.13
  +++ AxisUserAPI.hpp	12 Jul 2005 18:10:06 -0000	1.14
  @@ -155,7 +155,7 @@
    * @typedef xsd__byte
    * Axis C++ defined type for xml basic type byte
    */
  -typedef char xsd__byte;
  +typedef signed char xsd__byte;
   /**
    * @typedef xsd__QName
    * Axis C++ defined type for xml basic type QName
  
  
  
  1.11      +2 -2      ws-axis/c/src/soap/xsd/Byte.cpp
  
  Index: Byte.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/xsd/Byte.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Byte.cpp	1 Jun 2005 14:22:56 -0000	1.10
  +++ Byte.cpp	12 Jul 2005 18:10:06 -0000	1.11
  @@ -56,13 +56,13 @@
       return (void*) getByte();
   }
   
  -AxisChar* Byte::serialize(const char* value) throw (AxisSoapException)
  +AxisChar* Byte::serialize(const xsd__byte* value) throw (AxisSoapException)
   {
       xsd__short valueAsShort = static_cast<xsd__short>(*value);
       return Short::serialize(&valueAsShort);
   }
   
  -char* Byte::deserializeByte(const AxisChar* valueAsChar) throw (AxisSoapException)
  +xsd__byte* Byte::deserializeByte(const AxisChar* valueAsChar) throw (AxisSoapException)
   {
       xsd__short* returnValue = Short::deserializeShort(valueAsChar);
    
  
  
  
  1.2       +1 -1      ws-axis/c/tests/auto_build/testcases/output/XSD_byte.expected
  
  Index: XSD_byte.expected
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/XSD_byte.expected,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSD_byte.expected	1 Jul 2005 15:20:12 -0000	1.1
  +++ XSD_byte.expected	12 Jul 2005 18:10:06 -0000	1.2
  @@ -1,5 +1,5 @@
   non-nillable element=127
  -non-nillable element=-1
  +non-nillable element=1
   non-nillable element=-128
   non-nillable element=-1
   non-nillable element=0
  
  
  
  1.2       +1 -1      ws-axis/c/tests/auto_build/testcases/output/XSD_byte_ServerResponse.expected
  
  Index: XSD_byte_ServerResponse.expected
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/XSD_byte_ServerResponse.expected,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSD_byte_ServerResponse.expected	1 Jul 2005 15:20:12 -0000	1.1
  +++ XSD_byte_ServerResponse.expected	12 Jul 2005 18:10:06 -0000	1.2
  @@ -17,7 +17,7 @@
   
   ###
   <?xml version="1.0" encoding="utf-8"?>
  -<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header
/><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_byte.test.apache.org"><nonNillableElement>-1</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
  +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header
/><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_byte.test.apache.org"><nonNillableElement>1</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
   0
   
   HTTP/1.1 200 OK
  
  
  

Mime
View raw message