Here's my code:
URL wsdl = new URL("http://localhost:8080/ServizioEJB/Hello?wsdl");
QName qname = new
QName("http://servizioDipartimentale.org/","Hello");
try {
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(wsdl, qname);
Hello hello = (Hello) service.getPort(Hello.class);
output= hello.sayHello();
} catch (Exception e) {
e.printStackTrace();
out.println("error");
}
and i get "error".. Probably some mistake somewhere, but no clue if for example
i'm setting qname in a wrong way..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012356#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...