The following comment has been added to this issue:

     Author: Jan Peter Stotz
    Created: Sun, 5 Jun 2005 12:47 PM
       Body:
> type="Stateless"view-type="service-endpoint" 
I am sorry but this isn't the the prblem, just a typo.
Without the view-type="service-endpoint" set, no Endport is generated but that 
always worked.

> Could you perhaps attach your bean class, or at least copy the 
> class-level javadocs in their entirety (with the comment delimiters 
> etc.) I notice the values you included before had 

/**
 * @ejb.bean name="ClientMobileDatabase" description="Interface für der 
Client-Zugriff auf die
 *           Mobile-Datenbank" jndi-name="ejb/ClientMobileDb" type="Stateless"
 *           view-type="service-endpoint"
 * 
 * @ebj.interface 
service-endpoint-class="mobile.server.interfaces.database.ClientMobileDatabaseEndpoint"
 * 
 * @ejb.security-role-ref role-name="MobileUser" role-link="MobileUser"
 * @ejb.permission role-name = "MobileUser"
 * 
 * @wsee.port-component name="ClientMobileDatabase"
 * 
 * @jboss.port-component name="ClientMobileDatabase" 
uri="/ClientMobileDatabase/*"
 *                       auth-method="BASIC"
 */

I tested another possible cause:
My ClientDatabaseBean does not implement SessionBean directly, but extends a 
class that implements it. I changed it but nothing changed.

> I don't know if that could confuse the parser and stop it seeing the 
> other @tags, but we should at least eliminate that possibility first.

Is there an easy way to debug the parser, by setting a system property or 
something else?

---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1421?page=comments#action_16671

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1421

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1421
    Summary: Wrong <service-endpoint-interface> generated in webservices.xml
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
             Web Services Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Jan Peter Stotz

    Created: Thu, 2 Jun 2005 4:06 AM
    Updated: Sun, 5 Jun 2005 12:47 PM
Environment: XDoclet 1.2.3, WinXP SP2, jdk1.5.0_03, Eclipse 3.02, jboss IDE 
1.4.1e31

Description:
I discovered that in my configuration the 
<service-endpoint-interface> in webservices.xml allways points to a class that 
has a totally different name.

My environment:
------------------------------------
XDoclets of class mobile.server.ejb.database.ClientDatabaseBean:

@ejb.bean 
  name="ClientMobileDatabase" 
  jndi-name="ejb/ClientMobileDb" 
  type="Stateless"view-type="service-endpoint"

@ebj.interface 
  
service-endpoint-class="mobile.server.interfaces.database.ClientMobileDatabaseEndpoint"

@wsee.port-component 
  name="ClientMobileDatabaseEndpoint"

------------------------------------
Relevant part of xdoclet-build.xml:

<taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask"
  classpathref="xdoclet.classpath"/>
<ejbdoclet ejbSpec="2.1" destDir="gen_src" force="true">
  <service-endpoint pattern="{0}Endpoint"/>
  <fileset dir="src" includes="**/*Bean.java"/>
  <deploymentdescriptor destDir="src/META-INF"/>
  <jboss Version="4.0" destDir="src/META-INF"/>
  <packageSubstitution packages="ejb" substituteWith="interfaces"
    useFirst="true"/>
  <homeinterface/><remoteinterface/> <!-- needed for a second bean with remote 
interface in the same package -->
</ejbdoclet>
<taskdef name="wseedoclet" classname="xdoclet.modules.wsee.WseeDocletTask"
  classpathref="xdoclet.classpath"/>
<wseedoclet wseeSpec="1.1" jaxrpcMappingFile="jaxrpc-mapping.xml"
  destDir="src/META-INF">
  <deploymentdescriptor name="MobileDatabaseService" />
  <fileset dir="src" includes="**/*Bean.java" />
  <wsdl />
  <jaxrpc-mapping destinationFile="jaxrpc-mapping.xml" />
</wseedoclet></target>

------------------------------------

The generated <service-endpoint-interface> in webservices.xml is:
mobile.server.ejb.database.ClientDatabase

but it should be:
mobile.server.interfaces.database.ClientMobileDatabaseEndpoint

------------------------------------



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to