axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Scott" <S...@netsuite.com>
Subject namespace and java class mapping
Date Mon, 02 Feb 2004 20:13:34 GMT
Hi, All,

In using WSDL2java to generate java classes Axis creates java packages
using the namespaces by default. When there is only one namespace there
is a command option "-p" to create classes for a user defined package.
Does anyone know if there is a way to map more than one namespace to
different packages at the same time? In other words
urn:base.mycompany.com maps to com.mycompany.x1 and
urn:operation.base.mycompany.com to com.mycompany.x2.

The Castor solves this problem by providing namespace to package mapping
in the castorbuilder.properties.

Thanks,

Scott



Mime
View raw message