HI,
I am encountering one issue regarding the deployment of my web services. I a
have a number of WSDL files.Corresponding to each WSDL file I have an XSD
which has schemas directly used in that WSDL.

So say for WSDl A.wsdl I have A.xsd.; B.wsdl , B.xsd and so on. these xsd's
intern refer to Base.xsd and some other XSDs.
So base.xsd and other Xsds are common among all Web-Services. In some rare
cases A.wsdl may also refer to B.xsd.

Problem -
For each WSDL2Java I get a set of classes from Schema which I bundle with
that Web-Service.
I am not able to get the classses for complete schema in one go. I tried
XSD2Java as well but there if I do it for A.xsd, I get classes for all
referred schema's but not B.xsd etc if they are not referred to from A.xsd.

How can I compile the whole schema in one go, irrespective of whether they
refer to each other or not and use that as a library for all my
Web-Services.I am using ADB binding.

Is there something obvious in Axis2 that I am missing? If any one knows the
solution kindly assist.

Thanks for your time.

Reply via email to