Here's the code:
@WebService
public class MyTest {
public static void main(String[] args) {
AxisService service = new AxisService("Axis2");
service.setName("Axis2");
ServiceDescription serviceDesc =
DescriptionFactory.createServiceDescriptionFromServiceImpl(MyTest.class,
service);
System.out.println("service = " + service);
System.out.println("serviceDesc = " + serviceDesc);
}
@WebMethod
public String dee() {
return "";
}
@WebMethod
public void add(int a, int b) {
}
}
On 2/19/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Dev;
I stared to implement Annotation support in Axis2 using matadata module
, then I wrote my service [1] and generate AxisService using that. Then
I inspect the generated AxisService and found that it does not have any
operation though it suppose to have two operations.
Have I done any mistake or , is it not completed yet.
Thanks
Deepal
[1]:- http://rafb.net/p/1NzuKa62.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]