axis data mapping (WSDL2Java)

M

Markus

Hello,

I have following problem with axis (1.4) WSDL2Java.
My wsdl has a lot of complexTypes which will be generated in to Java
files.
The generated files look all like this:
public class Book implements java.io.Serializable {
private java.lang.String author;
private java.lang.String title;
....
getter/setter
axis specific methods like getDeserializer,...
}

Many of these complexe types, have the same fields, like "id",
"length", etc. So I would like to create a Interface, and add this
interface to the generated classes. So that's my problem! How to do
this?
Is there a way to tell this axis? in the wsdl, in wsdl2java?
-> I don't want to do this manually in all java files!

(BTW: I see the same problem in JAXB, but there is a way to do this
(but only for the hole schema) with globalBindings ->superInterface)

Thanks for your help!
regards,
Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top