users@jax-rpc.java.net

naming conflict

From: Sels Wannes <Wannes.Sels_at_cronos.be>
Date: Wed, 26 Jan 2005 16:42:28 +0100

I'm generating Ties based on wsdl (see attachment). The wsdl has 3 xsd
schemas. When wscompiling I get the following error:

 

the following naming conflicts occurred: com.xti.xml.CargoResponse_Type,
com.xti.xml.InsuranceResponse_Type, com.xti.xml.OwnerResponse_Type,
com.xti.xml.InsuranceRequest_Type, com.xti.xml.OwnerRequest_Type,
com.xti.xml.CargoRequest_Type

        at
com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLMo
delerBase.java:267)

        at
com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)

        at
com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)

        at
com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)

 

The conflicts occurs because these types exist in different schemas with
the same name. A possible solution would be to turn of data binding,
however I could really use the bindings as the types will get more
detailed over time.

 

What I want to do now is to put the generated classes in separate
packages, one for each schema. Can anyone please provide
suggestions/guidelines on how to do this? I assume I will have to write
my own WSDLModeler. Also I would like to know if this would be out of
spec.

 

Kind Regards,

 

Wannes Sels

 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net