axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimuthu Gamage <>
Subject Re: WSDL2C: Deconflicting Duplicate Types and Methods Between WSDLs
Date Fri, 04 Dec 2009 15:36:45 GMT

Unfortunately with the current setup there is no proper way to solve that
conflict. One possible solution is to provide a parameter to set the prefix
as you suggested, but there is no such thing implemented.

Can you please create a jira to implement this option?


On Sat, Oct 31, 2009 at 4:47 PM, Andrew Grissom <>wrote:

> I have a project where I have multiple WSDLs that contain a types with the
> same name, but with different definitions, and methods with the same name
> but different parameters. When I generate the code using:
> WSDL2C -uri MyWSDL1.wsdl -d adb -u -o $OUTPUT_DIR
> Everything is fine if I create separate executables for accessing each
> WSDL.  However, if I compile them together I get numerous duplicate symbols.
> If there a way in WSDLC to have it generate something like:
> adb_<prefix>_MyType or adb_<prefix>_MyMethod_create
> instead of:
> adb_MyType or adb_MyMethod_create
> I attempted to use the -p option when starting WSDL2C but it does not
> appear to do anything.
> Am I missing something?

Dimuthu Gamage

View raw message