You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Liu, Scott" <SL...@netsuite.com> on 2004/02/02 21:13:34 UTC

namespace and java class mapping

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