Hi:
   For WSDL2Java, look at the --NStoPkg option. I believe it should
address your problem
  It's equivalent to what Castor offers IMHO

Regards
-Somesh

-----Original Message-----
From: Liu, Scott [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 3:14 PM
To: [EMAIL PROTECTED]
Subject: 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





Reply via email to