Hi there, I've been thinking about the validate method of Jsr181TypeMetadataImpl.java to be better these days. And one consideration came up with the service endpoing interface.
A java interface can be an endpoint interface with the current Jsr181TypeMetadataImpl class. In other words, the java interface is published by web service (WSDL). A normal java interface , of course, cannot be instantiated by Axis so that if a client accesses the web service, Axis will throw an exception. Why I mentioned a NORMAL java interface is that it makes sence if the endpoint interface is an EJB remote interface. Because the EJB container and Servlet container know the corresponding implementation bean ( EJB ) should be used by ejb-jar.xml, web.xml. How is it supposed to be ? My thought is as follows. If the endpoint interface is a normal java interface, the validate method should throw an exception. If the endpoint interface is an EJB remote interface, the validate method should let it go. what do you guys think ? Thanks in advance. Wolfgang.
