[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - webmethod within a jsp-file
Fugee47
do-not-reply at jboss.com
Sat Mar 1 05:15:42 EST 2008
packaging and deploying the following code works (i think so, because a wsdl is generated and i can access it).
package helloservice.endpoint;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.ejb.Stateless;
i
@Stateless
@WebService
public class Hello {
private String message = new String("Hello, ");
@WebMethod
public String sayHello(String name) {
return message + name + ".";
}
}
Now i want to execute "sayHello" within a jsp-file, and i dont get it to work. how does it work ????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133412#4133412
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133412
More information about the jboss-user
mailing list