[jboss-user] [JBossWS] - Re: PLEASE HELP: JSR 181 EJB Endpoint (JBoss 4.0.4.GA)
jason_rency
do-not-reply at jboss.com
Thu Aug 3 10:23:32 EDT 2006
I am just wondering if it's necessary to add the web service session bean to ejb-jar.xml
here is what I saw in http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch12.html
<?xml version="1.0" encoding="UTF-8"?>
| <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" version="2.1"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
| <display-name>chapter 12 EJB JAR</display-name>
| <enterprise-beans>
| <session>
| <ejb-name>HelloBean</ejb-name>
| <service-endpoint>org.jboss.chap12.hello.Hello</service-endpoint>
| <ejb-class>org.jboss.chap12.hello.HelloBean</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
| </enterprise-beans>
| <assembly-descriptor>
| <method-permission>
| <unchecked/>
| <method>
| <ejb-name>HelloBean</ejb-name>
| <method-name>*</method-name>
| </method>
| </method-permission>
| <container-transaction>
| <method>
| <ejb-name>HelloBean</ejb-name>
| <method-name>*</method-name>
| </method>
| <trans-attribute>Required</trans-attribute>
| </container-transaction>
| </assembly-descriptor>
| </ejb-jar>
also it seems a webservice.xml is needed..
do you have all these in place?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962857#3962857
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962857
More information about the jboss-user
mailing list