[JBoss-user] [JBoss.NET] - Re: XDoclet jbossnet generates web-service.xml with error

2004-09-29 Thread leonardo.cardoso
IÃÂm using JBoss 3.2.1, so I think iÃÂm using the correct @jbossnet format.

Is that correct?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849775#3849775

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849775


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - XDoclet jbossnet generates web-service.xml with error

2004-08-26 Thread leonardo.cardoso
Hello everyone.

I`m trying to use the XDoclet tag  to generate my web-service.xml file, 
but something is wrong. The XML file generated don`t have the service name, neigther 
the homeInterfaceName parameter, and puts the wrong provider, as shown bellow:

 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
It`s important to say that I`ve already put the @jboss-net:web-service urn="Hello" for 
my class, as shown bellow: 

/**
  |  * The typical Hello Session Bean this time as a web-service.
  |  * 
  |  * @author jung
  |  * @author Andrew C. Oliver
  |  * @version $Revision: 1.1.2.1 $
  |  * @ejb.bean name="Hello" display-name="Hello World Bean" type="Stateless" 
view-type="remote" jndi-name="Hello"
  |  * 
  |  * @ejb.interface remote-class="org.jboss.examples.ws.hello.Hello" 
extends="javax.ejb.EJBObject"
  |  * @ejb.home remote-class="org.jboss.examples.ws.hello.HelloHome" 
extends="javax.ejb.EJBHome"
  |  * @ejb.transaction type="Required"
  |  * 
  |  * 
  |  * @jboss-net:web-service urn="Hello"
  |  *   
  |  */
  | public class HelloBean implements javax.ejb.SessionBean {
  | 
  | 
  | public void ejbActivate() throws EJBException, RemoteException {
  | // TODO Auto-generated method stub
  | 
  | }
  | public void ejbPassivate() throws EJBException, RemoteException {
  | // TODO Auto-generated method stub
  | 
  | }
  | public void ejbRemove() throws EJBException, RemoteException {
  | // TODO Auto-generated method stub
  | 
  | }
  | public void setSessionContext(SessionContext ctx) throws EJBException,
  | RemoteException {
  | // TODO Auto-generated method stub
  | 
  | }
  | /*
  |  * @jboss-net.web-method
  |  * @ejb.interface-method view-type="remote"
  |  */
  | public String hello(String name) {
  | return "Hello " + name + "!";
  | }
  | 
  | /**
  |  * @ejb.create-method view-type = "remote"
  |  */
  | public void ejbCreate() throws CreateException {
  | // TODO Auto-generated method stub
  | 
  | }
  | /**
  |  * @jboss-net.web-method
  |  * @ejb.interface-method view-type="remote"
  |  */
  | public Object[] complexHello(Object[] query) {
  | Object[] reply = new Object[query.length];
  | for (int n = 0; n < query.length; n++) {
  | HelloObj hello = (HelloObj) query[n];
  | reply[n] = new HelloReplyObj(n + ": " + hello.getMsg());
  | }
  | return reply;
  | }
  | }

Please, anyone knows what`s going on?

Thank`s a lot.

Leonardo Cardoso

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846317#3846317

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846317


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user