Wolfgang Schreiner wrote:

thx for the hint. as long as it works, i don't care about package names.
i found it a bit confusing, since the file-system example genereates
such tidy code


Aleksander Slominski wrote:

Campana Jr., Salvatore J wrote:

The ugly class names you refer to are XmlBean-internals...Its not mean
for you, its for them....Thats part of the reason we generate a jar....

All your classes' packages are based on the namespace pf your wsdl...as
are the generated XmlBeans (except for things they don't expect you to
mess with)...

In short, this is done by XmlBeans...not us...
by using ,xsdconfig file you can map namespaces to package name of
your choosing (this is described in XmlBeans documentation) - that
should work at least in theory ....

best,

alek

-----Original Message-----
From: Wolfgang Schreiner [mailto:[EMAIL PROTECTED] Sent:
Friday, October 21, 2005 1:47 PM
To: wsrf-user@ws.apache.org
Subject: Re: wsdl2java

thanx very much for your support!
well, that's what i didn't take care of ... now i got rid of multiple
methods but i still get those ugly package names:

public static final org.apache.xmlbeans.SchemaType type =
(org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sB1E943
80FFBC6C791A4A2862E0470F74.TypeSystemHolder.typeSystem.resolveHandle("re
sourceproperties3cc2doctype");

in the generated xml-beans
does this also happen due to modified namespaces (putting aside the fact
that they are just pointing to http-urls instead to the local file
system)? this is strange, since i do not see any major differences ...



Campana Jr., Salvatore J wrote:



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


If you looked into the xmlbeans which were generated for Filesystem you'd have seen the same sort of thing...Its just the way they generate the classes.

-S

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to