There is a bug in the generation of web-service.xml for view-type=both.
I submitted a patch a little while back, but I am not sure if Dr. Jung
decided to commit it or not. The same patch included a change to put the
fully qualified classname in the home and localhome tags, which I
believe raised some concerns for Dr. Jung regarding the proper
specification. You can find the patch on sourceforge.

Hope this helps,
fawce

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 6:30 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jboss.net xdoclet generation of web-service.xml



Hi,

I have a problem generating the web-service.xml using the
xdoclet+xjavadoc jar files from sourceforge. The process correctly
generates all interfaces and deployment descriptor except for the
web-service.xml file. I've included the entries from both the Ant build
file and Bean source code. Am I missing a tag ????. 

Bean
====
/**
        *
        * @ejb:bean             name="Hello"
        *
jndi-name="Hello"
        *                                               type="Stateless"
        *                                               view-type="both"
            * @ejb:interface generate="local,remote"
            *
        * @ejb:ejb-ref  ejb-name="Hello" 
        *               view-type="local"
        *               ref-name="Hello"
        * @ejb:transaction type="Required"
        * @ejb:transaction-type type="Container"
        *
        * @jboss-net:web-service urn="Hello"
        *                        expose-all="true" 
        *
*/
ANT
====
      <ejbdoclet
         sourcepath="${src.dir}/main/src/"
         destdir="${generated.java.dir}"
         classpath ="${classpath}"
         ejbspec="2.0"
         force="true">

         <fileset dir="${src.dir}/main/src/">
            <include name="org/jboss/net/sample/hello/ejb/*.java" />
         </fileset>

         <packageSubstitution packages="ejb"
substituteWith="interfaces"/>        
         <remoteinterface destdir="${generated.java.dir}"/>
         <localinterface destdir="${generated.java.dir}"/>
         <homeinterface destdir="${generated.java.dir}"/>
         <localhomeinterface destdir="${generated.java.dir}"/>
         <deploymentdescriptor
destdir="${generated.java.dir}/ejb/META-INF"/>

         <jboss version="2.4" xmlencoding="UTF-8"
destdir="${generated.java.dir}/ejb/META-INF"/>
         
      </ejbdoclet>


Cheers

TC

Technology
Tel: 020 7574 8880 (ext 48120)
Fax: 020 7574 8120
E-mail: [EMAIL PROTECTED]

HBOS Treasury Services plc
33 Old Broad Street
London
EC2N 1HZ




-- 

------------------------------------------------------------------------
------
For more information on HBOS Treasury Services, please visit
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also
includes Halifax plc and Bank of Scotland. Registered Office: 33 Old
Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered in
England. Regulated by the Financial Services Authority.

The information contained in this message is confidential and is
intended for the addressee only. If you have received this message in
error or there are any problems please notify the originator
immediately. The unauthorised use, disclosure, copying or alteration of
this message is strictly forbidden. This mail and any attachments have
been scanned for viruses prior to leaving the HBOS Treasury Services plc
network. HBOS Treasury Services plc will not be liable for direct,
special, indirect or consequential damages arising from alteration of
the contents of this message by a third party or as a result of any
virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record
e-mail messages sent to and from this address for the purposes of
investigating or detecting any unauthorised use of its system and
ensuring its effective operation.

========================================================================
======



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get

started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to