Skip to main content

@WebService: Incompatibility between GlassFish and Geronimo

No replies
sim085
Offline
Joined: 2012-09-25

Hello, I am writing some examples and deploying them on different application servers. The problem is the following. Given;

<br />
@Stateless<br />
@WebService(serviceName="AskQuestionService"endpointInterface="edu.example.AskQuestionRemote")<br />
public class AskQuestionBean implements AskQuestionLocal, AskQuestionRemote {<br />
...<br />
}<br />

The WSDL location on Geronimo is /AskQuestionService/AskQuestionRemote?WSDL while on GlassFish the WSDL location /AskQuestionService/AskQuestionBean?wsdl.

Given that I am stating the enpoint interface to be AskQuestionRemote” then shouldn’t GlassFish work like Geronimo the WSDL location equal to /AskQuestionService/AskQuestionRemote?WSDL?