my jboss.xml content is as follows,
<!DOCTYPE jboss PUBLIC
"-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<enterprise-beans>
<ejb-name>Example</ejb-name>
<jndi-name>Example</jndi-name>
<service-ref>
<service-ref-name>services/hello</service-ref-name>
<wsdl-override>http://localhost:8080/hello-servlet/Hello?wsdl</wsdl-override>
</service-ref>
</enterprise-beans>
my ejb-jar content is as follows,
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
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"
xmlns:hello="http://hello.chap12.jboss.org/"
version="2.1">
<display-name>example bean</display-name>
<enterprise-beans>
<ejb-name>Example</ejb-name>
org.jboss.chap12.example.ExampleHome
org.jboss.chap12.example.Example
<ejb-class>org.jboss.chap12.example.ExampleBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<service-ref>
<service-ref-name>services/hello</service-ref-name>
<service-interface>javax.xml.rpc.Service</service-interface>
<wsdl-file>META-INF/wsdl/hello.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping.xml</jaxrpc-mapping-file>
<service-qname>hello:HelloService</service-qname>
</service-ref>
</enterprise-beans>
</ejb-jar>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930307#3930307
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930307
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user