Hello:

Well I figured out a way for the first question. Thought this may be useful if somebody else wanted to generate only the javabeans.

Basically, Axis1 has a class called org.apcahe.axis.JavaGeneratorFactory which is used to give all the generators inclusing the stubs and interfaces. I extended this class and override 2 methods as below:
public Generator getGenerator(Binding binding, SymbolTable symbolTable) {
       return new NoopGenerator();
} // getGenerator public Generator getGenerator(Service service, SymbolTable symbolTable) { return new NoopGenerator();
   }    // getGenerator


When the wsdl2java is called the customised factory class is provided using the -F option

wsdl2java -F customizedJavaGeneratorFactory

Also since the javabean class by default referes to some axis classes, I used the -H option so that the helper class can take care of the axis classes and I can be able to use the java bean as data objects and easily sent across instead of worrying about the axis class whereever it is not necessary.

Regards,
Ravi


Ravi Krishnamurthy wrote:
Hello:
a. Is it possible to generate only the java beans for the complex type mentioned in the wsdl using axis1.4 wsdl2java b. Also is it possible to get a sample soap message for a given webservice and operation using axis 1.4. If not is there any other tools available.

Thanks for your time and help,
Ravi


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




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

Reply via email to