开发者

Custom class in axis2 web service

I try to create web service to Axis2. I am use eclipse and the "Axis2 Service Archiver" to create aar file from java class. My problem is that I have function that return custom class like:

public TestClass TestFunc(){
        return new TestClass();
    }

My question is how my client know what is TestClass? , the TestClass don't show in the开发者_高级运维 wsdl file.

Thanks For the help


If you can see the operation TestFunc() appears in the WSDL - you should be able to see type corresponding to the TestClass in your WSDL. If you cant see, how does the WSDL show the return type of the TestFunc() in the WSDL..?

Thanks..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜