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..
精彩评论