Hello

Scenario:
        - an application needs to use two services - let's call their 
respective wsdl files Mapping.wsdl and Geocoding.wsdl
        - both services use a type called Coordinate
        - upon generating C code from the wsdl files using WSDL2C, we get two 
adb_Coordinate.c and two adb_Coordinate.h files (one for each wsdl), with two 
adb_Coordinate_create(const axutil_env_t* env) functions etc.
        - this leads to linkage errors

I've tried to change CADBBeanTemplateHeader.xsl and CADBBeanTemplateSource.xsl 
so that the service name is used when creating the name of the structures - so 
adb_Coordinate_* becomes adb_Mapping_Coordinate_* and 
adb_Geocoding_Coordinate_* etc. However, it seems that the service name is not 
available in the intermediate xml file used for code generation - or I haven't 
been able to find it.

The workaround was to manually rename everything. However, it would be nice if 
the service name would be automatically incorporated in the name of the 
generated structures and thus avoid potential name clashes between services.

Thank you.


Catalina-Georgiana Caloian
Software Engineer
 
Quintiq
 
T +31 (0) 73 691 07 39
F +31 (0) 73 691 07 54
M +31 (0) 65 247 63 99
E catalina.calo...@quintiq.com
I www.quintiq.com


Quintiq Conference "Quintessence 09" Tuesday May 12th, 2009, Country Estate 
Duin & Kruidberg, near Amsterdam Schiphol, The Netherlands - for more 
information visit www.quintiq.com

This message contains information that may be privileged or confidential and is 
the property of Quintiq. It is only intended for the person to whom it is 
addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute or use this message or any 
part thereof. If you have received this message in error, please notify the 
sender immediately and delete all copies of this message. Please note that 
e-mails are susceptible to change, therefore they are not binding.

Reply via email to