|
Hi all Alex is quite right about .xsdconfig, and
his example will work fine but note it will change the _package name_ of all generated beans for
that namespace. If you wanted to change the class name of the generated bean
then that too is supported via .xsdconfig but this time using the <qname>
element: <xb:config …> <xb:qname name=”xxx” javaname=”package1.package2.MyClass”
/> </xb:config That will map the QName xxx to a class
with Java name package1.package2.MyClass. Note xxx is a standard QName and so
needs to be defined as something like “ppp:LocalName” where ppp is
a prefix for a known namespace. Cheers, From: Alex Soto
[mailto:[EMAIL PROTECTED]
Hi all, I want to generate xmlbean from the xml schema but with different name than it is in the schema (e.g. in schema is Beans and generated will be MyBean). Why I need it is that I need to use AXIS2 with XMLBeans support, but on the client side I need different names os on the server - this is only one way from server to client. Is there a way how to do it ??? Thanks a lot. Pat --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
- generationg bean from schema with different name pat
- Re: generationg bean from schema with different name Alex Soto
- RE: generationg bean from schema with different name Lawrence Jones
- RE: generationg bean from schema with different name Lawrence Jones
- RE: generationg bean from schema with different name Lawrence Jones
- RE: generationg bean from schema with different name Lawrence Jones

