axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koney, Satish" <Satish_Ko...@syntelinc.com>
Subject multiple interfaces
Date Wed, 24 Nov 2004 10:53:22 GMT
Hi,

	I have 3 interfaces A,B and C in my application. 

interface A {
	public void method1();
	public void method2();
}

interface B {
	public void method3();
	public void method4();
}

interface C extends A,B{
}


Now I want C to be exposed as a web service.
So I compile the interfaces and from those class files I get WSDL .
I execute WSDL2Java to get the dummy implementation class.

But the problem is WSDL2Java is generating C as follows:

interface C{
	public void method1();
	public void method2();
	public void method3();
	public void method4();
}

So the information about A,B is lost. Is it possible to tell AXIS to retain
that information about the parent interfaces?
This is because I want to write the different implementations for each of
the interfaces instead of putting all the implementation
in one class.


Thanks,
Satish.




____________________________________________
Confidential:  This electronic message and all contents contain information
from Syntel, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.

Mime
View raw message