You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Samisa Abeysinghe <SA...@virtusa.com> on 2005/03/07 04:39:50 UTC

Updating SOAPTransport API [was RE: Ant build fails 07th march 2005]

Hi all,
	SOAPTransport API updating is a bit tricky as it is implemented
by many classes, 
ApacheTransport
Apache2Transport
SimpleAxisTransport
Axis2Transport 
HTTPTransport

	Hence adding a pure virtual function breaks the build if all
those classes are not updated.

	If the new API change is not required to be implemented by all
of them, I would propose adding a non virtual method to SOAPTransport
and leave the existing API as it is. Even if it is a signature change,
please keep the old one (for the sake of deprecating) and add the
signature change as a new add on.

Thanks,
Samisa...

-----Original Message-----
From: Dushshantha Chandaradasa
[mailto:dushshantha.chandaradasa@gmail.com] 
Sent: Monday, March 07, 2005 9:07 AM
To: Apache AXIS C Developers List
Subject: Ant build fails 07th march 2005

Ant build fails with following error messages.

       [cc] C:\axiscpp\ws-axis\c\src\server\apache2\mod_axis2.cpp(43) :
error C2
259: 'Apache2Transport' : cannot instantiate abstract class due to
following mem
bers:
       [cc]
C:\axiscpp\ws-axis\c\src\server\apache2\Apache2Transport.h(5
5) : see declaration of 'Apache2Transport'
       [cc] C:\axiscpp\ws-axis\c\src\server\apache2\mod_axis2.cpp(43) :
warning
C4259: 'const char *__thiscall
axiscpp::SOAPTransport::getTransportProperty(cons
t char *,bool)' : pure virtual function was not defined
       [cc]
C:\axiscpp\ws-axis\c\src\server\apache2\../../transport/SOAP
Transport.h(264) : see declaration of 'getTransportProperty'
       [cc] C:\axiscpp\ws-axis\c\src\server\apache2\mod_axis2.cpp(43) :
error C2
259: 'Apache2Transport' : cannot instantiate abstract class due to
following mem
bers:
       [cc]
C:\axiscpp\ws-axis\c\src\server\apache2\Apache2Transport.h(5
5) : see declaration of 'Apache2Transport'
       [cc] C:\axiscpp\ws-axis\c\src\server\apache2\mod_axis2.cpp(43) :
warning
C4259: 'const char *__thiscall
axiscpp::SOAPTransport::getTransportProperty(cons
t char *,bool)' : pure virtual function was not defined
       [cc]
C:\axiscpp\ws-axis\c\src\server\apache2\../../transport/SOAP
Transport.h(264) : see declaration of 'getTransportProperty'
       [cc] AttachmentHelper.cpp
       [cc] Generating Code...


Dushshantha