Should we post potential issues about 2.0.0.CR2 here ? I was testing a very simple WS (Stateful EJB SEI), and it does not show up under JBoss 5.0.0.Beta1.
Here is the important stuff: application.xml <?xml version="1.0" encoding="UTF-8"?> | <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4" | 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/application_1_4.xsd"> | <display-name>Test50</display-name> | <description>Test50</description> | <module> | <ejb>test50.jar</ejb> | </module> | </application> | jboss-app.xml <!DOCTYPE jboss-app | PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" | "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd"> | <jboss-app> | <loader-repository> | test50:app=ejb3 | </loader-repository> | </jboss-app> Service Endpoint (Interface class matches) /** | * | */ | package com.company.test50; | | import javax.ejb.Stateful; | import javax.ejb.Stateless; | import javax.jws.WebService; | import javax.jws.WebMethod; | import javax.jws.soap.SOAPBinding; | import java.util.*; | | /** | * @author Owner | * | */ | @WebService(name="TestWSService", targetNamespace="http://com.company.test50") | @SOAPBinding(style=SOAPBinding.Style.DOCUMENT) | @Stateful | public class TestWSServerBean implements TestWSServer | { | private Collection<TestEntity> entities; | | @WebMethod | public Collection<TestEntity> getEntities() | { | return entities; | } | | @WebMethod | public void addEntity(TestEntity add) | { | entities.add(add); | } | | @WebMethod | public TestEntity getEntity(int id) | { | return null; | } | | @WebMethod | public void updateEntity(TestEntity updated) | { | | } | | @WebMethod | public void deleteEntity(int id) | { | | } | } | Any ideas ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988579#3988579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988579 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
