thanks , this obviously is a kind of a solutionI am not really sure whether it is possible as I not an AXIS expert. But you can acheive the same using some thing like this:
Write your two classes and write a third class with all the methods from both classes, and in method body call the other class.
public class java1 { method1() { } }
public class java2 { method2() { } }
public class webservice { java1 j1 = new java1(); java2 j2 = new java2();
method1() { j1.method1(); } method2() { j2.method2(); } }
Hope this helps..
regards, kiran pathuru
-----Original Message----- From: Maciek Zywno [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 11:12 AM To: [EMAIL PROTECTED] Subject: can two java classes be deployed as one web service?
hello
I tried to deploy two classes as one web service i.e. I would like to have one web service (at one URL) offer many operations. When I tried to put two classes in one service element in wsdd file I still get two wsdl's ?
Is there any solution to having one web service based on more that one java class?
regards
I was curious if having two legacy classess I can deploy them in the same service without writing one new wrapper class
regards
