Invalid WSDL request message (HTTP 405) on WSDL request (Glassfish v3)

I've a web service, which is basically a @Stateless EJB annotated with @WebService, and other JAX-WS related annotations. I can deploy this bean on my machine's glassfish instance, and see its WSDL through Glassfish's administrative GUI. I can also call its methods without any problems, from a SE client.

When I deploy this web service to a server instance in any other machine, I can no longer browse its WSDL through glassfish, and the client fails to connect to the server. The message displayed is:

Invalid WSDL request: http://ip:port/context/serviceEndpoint?wsdl

The HTTP error returned by Glassfish on such request is 405 (method not allowed).

I browsed around, and couldn't get anything directly related to glassfish v3. There are issues open on Glassfish's bugzilla for version 2, meaning they're old and have been labelled as CLOSED/FIXED already.

Anyone ran into this before? Any help or any clues about what could be happening here?

Thanks in advance!

Answers


For the sake of those who might come across this problem one day: I had OpenSSO on the target server. And by many obvious reasons, it was a classpath clashing problem that prevented the WSDL to be generated by glassfish.

Once OpenSSO has been removed of the equation, everything worked as it was supposed too. So, even if you're not an OpenSSO user, check your classpath for multiple Metro instances, or any other JAX related library that might be conflicting with glassfish's own on your domain.


Need Your Help

jQuery UI's Sortable update event not firing

javascript jquery html jquery-ui jquery-ui-sortable

I'm using jQuery UI's Sortable and I would like to call a function on update. Here's the code I'm trying now.

Counting and printing time in java using swing

java multithreading swing

I'm trying to implement a timer using one thread and print it on a JButton using another thread.