axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Leland" <>
Subject Re: Axis2c and openssl 1.0
Date Fri, 21 May 2010 22:27:20 GMT
Apologies for the delay, life got in the way again.  Attached please find a zip with our wsdl
file and a text file containing the compiler errors.  They are not as I originally stated
- I must have had a bad include path - but the errors may still be of interest.

The code being compiled was generated by this command:
  call e:\Axis2c\1.7.0.pre\tools\codegen\javatool\WSDL2C.bat -uri BTAvailability.wsdl -d adb

The Axis2c svn version was 943993.

Thanks for all the help!

  ----- Original Message ----- 
  From: Samisa Abeysinghe 
  To: Apache AXIS C User List 
  Sent: Monday, May 17, 2010 1:39 AM
  Subject: Re: Axis2c and openssl 1.0

  It looks like warnings are treated as errors by the compiler. Please switch that compiler
options off.


  On Mon, May 17, 2010 at 2:47 AM, <> wrote:

    This is the compile error:
       Creating library ..\deploy\lib\axis2_engine.lib and object ..\deploy\lib\axis
    ..\..\src\core\transport\http\sender\ssl\ssl_utils.c(66) : error C2220: warning
    treated as error - no 'object' file generated
    ..\..\src\core\transport\http\sender\ssl\ssl_utils.c(66) : warning C4090: '=' :
    different 'const' qualifiers
    NMAKE : fatal error U1077: '"e:\Program Files (x86)\Microsoft Visual Studio 9.0\
    VC\BIN\cl.exe"' : return code '0x2'

    The command line options for codegen are:
    rem server
    call e:\Axis2c\1.7.0.pre\tools\codegen\javatool\WSDL2C.bat -uri BTAvailability.wsdl -ss
-sd -d adb -u

    rem client
    call e:\Axis2c\1.7.0.pre\tools\codegen\javatool\WSDL2C.bat -uri BTAvailability.wsdl -d
adb -u

    Double checking with the powers that be on sharing the wsdl file.

    Appreciate the help!

      -----Original Message-----
      From: Samisa Abeysinghe []
      Sent: Friday, May 14, 2010 11:04 PM
      To: 'Apache AXIS C User List'
      Subject: Re: Axis2c and openssl 1.0

      On Sat, May 15, 2010 at 2:29 AM, Steve Leland <> wrote:

        Our product runs on a Win2008 R2 server, and is built on top of Axis2c 1.6 and OpenSSL
0.9.8l - many thanks for the good work!

        I am chasing a memory leak that only occurs for our ssl requests, and thought I might
get lucky and find it already fixed in OpenSSL 1.0.0.

        If I use the 1.6 makefile, Axis2c 1.6 compiles and links with OpenSSL 1.0 but dies
on startup with memory corruption.  If I use the makefile currently on the trunk to build
Axis2c 1.6 and OpenSSL 1.0, the compile fails in core\transport\http\sender\ssl_utils.c.

      What are the errors?  

        Would you expect that Axis2c 1.6 should work with OpenSSL 1.0?

      We have not tried yet. But I hope we can make it to work. 

        Using the Axis2c source tree I just pulled down from the trunk, I built Axis2c with
OpenSSL 1.0, then regenerated the C code from our wsdl using wsdl2c.bat.  The result won't
compile - it's looking for axiom_element_declare_namespace_assume_param_ownership(), which
is in axiom_element.h but #ifdefd out.  I don't know if it matters, but it's using the Axis2
1.5.1 jars in the codegen step.

      What command line options did you use to codegen? 

      Can you share the WSDL?


        Is there something new I need to do to get the new codegen to work?


        To unsubscribe, e-mail:
        For additional commands, e-mail:

      Samisa Abeysinghe 
      Director, Engineering - WSO2 Inc. - "lean . enterprise . middleware"


View raw message