Problems to create webservice jax-ws on WebSphere 8.5

Posted by Napalm on Stack Overflow See other posts from Stack Overflow or by Napalm
Published on 2013-11-07T15:45:41Z Indexed on 2013/11/07 15:53 UTC
Read the original article Hit count: 225

Filed under:
|
|
|
|

I'm using Eclipse Juno to create jax-ws webservice on WebSphere® Application Server V8.5 Tools. The WebService sometimes are created but most often he fails to create wsdl. For exemplify, i try to create a simple webservice named Web:

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public class Web {

    @WebMethod
    public String getName() {
        return "myName";
    }

}

After deploy this webservice and viewing WebSphere administration page not exists any service named WebService. I tried too access the generated WebSphere wsdl from the url localhost:9080/MyProject/WebService/WebService.wsdl but this not exists.

My project have a configured MANIFEST file that contains:

Manifest-Version: 1.0
UseWSFEP61ScanPolicy: true

I'm actually using servlet 3.0 but tried with 2.3. Anyone can help me to do WebSphere approprieate scan annotations of ws-jax and create wsdl on server?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse