lucky ha scritto:
- I am using ADB binding while doing WSDL2java. But I guess only
referred schema from that WSDL gets compiled to classes. So for each
WSDL, when I do wsdl2Java there is difference in generated classes. I
want to compile all the schema in one go and put that in lib as a jar.
So that whenever schema changes I can compile it and test all services.
In current arrangement I will need to do WSDL2java again to generate
classes for changed schema.
- I also tried XSD2java but again it only generated the classes for
schema which is being referred by the schema on which I am doing xsd2java.
Is there any way I can compile all the schema using ADB binding,
irrespective of whether it is being referred to or not? I can then do
WSDL2java only to get skeleton and inline schema and keep already
genrated classes from external schema as a jar to be referrd to by all
skeletons.
This is what I actually do. To generate all the classes corresponding to
schema types there's an option of WSDL2Java called "generate all the
classes" (-g). Doing that, you can generate all the classes of types in
a shared XSD that is imported by a WSDL, even if that WSDL doesn't
reference all of those types.
Hope this helps.
--
Mauro Molinari
Software Developer
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]