axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Whitlock <mark_whitl...@uk.ibm.com>
Subject Fw: dll exports
Date Tue, 14 Dec 2004 17:47:02 GMT




Hi,
Methods are exported from the AxisClient.dll by setting
__declspec(dllexport) on the class definition (look in Call.hpp and
GDefine.hpp). I guess you are creating your own dll which dynamically links
to the AxisClient.dll. I'm surprised that the methods which are exported
from the AxisClient.dll are also exported from your dll. I don't know the
answer but you could try
- making sure you are dynamically linking to the AxisClient.dll not
statically linking to it
- see if there is another __declspec override that will "switch off"
exporting a method
- remove the __declspec(dllexport) from the axis public header files that
you include
If this last suggestion works then it looks like a bug in Axis.
Mark
Mark Whitlock
IBM

----- Forwarded by Mark Whitlock/UK/IBM on 14/12/2004 17:40 -----
                                                                           
             "Jairam,                                                      
             Roopnaraine"                                                  
             <Roopnaraine.Jair                                          To 
             am@ca.com>                "Apache AXIS C User List"           
                                       <axis-c-user@ws.apache.org>         
             14/12/2004 15:18                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         RE: dll exports                     
              "Apache AXIS C                                               
                User List"                                                 
                                                                           
                                                                           
                                                                           
                                                                           




Can anyone provide some insights…?


From: Jairam, Roopnaraine
Sent: Thursday, December 09, 2004 10:32 AM
To: axis-c-user@ws.apache.org
Subject: dll exports

Hi:

I’m trying to build a dll which calls my axis java webservice everything
has built ok and I’m able to call the webservice, the only thing is that
when I look at the dll it has other functions exported besides the one’s
that I made. My question is how can I make the other functions not
exported.



                                                                            
 ??0AxisException@axiscpp@@QAE@ABV01@@Z                                     
 ??0AxisException@axiscpp@@QAE@XZ                                           
 ??0Call@axiscpp@@QAE@ABV01@@Z                                              
 ??0CallBase@axiscpp@@QAE@ABV01@@Z                                          
 ??0CallBase@axiscpp@@QAE@XZ                                                
 ??0TestSystem@@QAE@PBDW4AXIS_PROTOCOL_TYPE@@@Z                             
 ??0TestSystem@@QAE@XZ                                                      
 ??0TestSystemService_AxisClientException@@QAE@H@Z                          
 ??0TestSystemService_AxisClientException@@QAE@PAVISoapFault@axiscpp@@@Z    
 ??0TestSystemService_AxisClientException@@QAE@PAVexception@@@Z             
 ??0TestSystemService_AxisClientException@@QAE@PAVexception@@H@Z            
 ??0TestSystemService_AxisClientException@@QAE@V?$basic_string@DU?$char_tra 
 its@D@std@@V?$allocator@D@2@@std@@@Z                                       
 ??0TestSystemService_AxisClientException@@QAE@XZ                           
 ??0Stub@axiscpp@@QAE@ABV01@@Z                                              
 ??1AxisException@axiscpp@@UAE@XZ                                           
 ??1TestSystemService_AxisClientException@@UAE@XZ                           
 ??4AnyType@axiscpp@@QAEAAV01@ABV01@@Z                                      
 ??4AxisException@axiscpp@@QAEAAV01@ABV01@@Z                                
 ??4Call@axiscpp@@QAEAAV01@ABV01@@Z                                         
 ??4CallBase@axiscpp@@QAEAAV01@ABV01@@Z                                     
 ??4Stub@axiscpp@@QAEAAV01@ABV01@@Z                                         
 ??4xsd__base64Binary@axiscpp@@QAEAAV01@ABV01@@Z                            
 ??4xsd__hexBinary@axiscpp@@QAEAAV01@ABV01@@Z                               
 ??_7AxisException@axiscpp@@6B@                                             
 ??_7Call@axiscpp@@6B@                                                      
 ??_7CallBase@axiscpp@@6B@                                                  
 ??_7Stub@axiscpp@@6B@                                                      
 ?getExceptionCode@TestSystemService_AxisClientException@@UAE?BHXZ          
 ?getFault@TestSystemService_AxisClientException@@QAEPBVISoapFault@axiscpp@ 
 @XZ                                                                        
 ?getMessage@TestSystemService_AxisClientException@@QAE?BV?$basic_string@DU 
 ?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z                            
 ?getMessage@TestSystemService_AxisClientException@@QAE?BV?$basic_string@DU 
 ?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVexception@@@Z               
 ?getSOAPSerializer@Call@axiscpp@@QAEPAVSoapSerializer@2@XZ                 
 ?getTransport@Call@axiscpp@@QAEPAVSOAPTransport@2@XZ                       
 ?registerTest@TestSystem@@QAEPAVRegistrationResults@@PAVClientTableRecord@ 
 @PAVKeyTableRecord@@@Z                                                     
 ?verifyTest@TestSystem@@QAEPAVVerificationResults@@PADHUKeyTableRecord_Arr 
 ayTag@@@Z                                                                  
 ?what@TestSystemService_AxisClientException@@UAEPBDXZ                      
                                                                            



Thanks

Vince.
Mime
View raw message