Tag service-endpoint-interface of webservices.xml don't match to name of 
generated interface
--------------------------------------------------------------------------------------------

         Key: XDT-1565
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1565
     Project: XDoclet
        Type: Bug
  Components: Web Services Module  
    Versions: 1.2.3    
 Environment: WinXP, JBoss 4.0.1sp, Eclipse 3.1 with XDoclet 1.2.3 support
 Reporter: Lars Eulberg
 Assigned to: xdoclet-devel (Use for new issues) 


I wrote a stateless session bean with the followng class header:

/**
 * @ejb.bean name="BalloonBean"
 *           display-name="BalloonBean"
 *           description="The session bean BalloonBean implements the sevices 
for working on balloons"
 *           jndi-name=".../ejb/BalloonBean"
 *           type="Stateless"
 *           view-type="all"
 *
 * @wsee.port-component name="BalloonEndpoint" 
 */
public class BalloonBean implements SessionBean {


xdoclet is configured with eclipse to generate the interface-file by using the 
service-endpoint-tag in the buildfile as follows:
<service-endpoint pattern="{0}Endpoint" >
<PackageSubstitution packages="ejb"  substituteWith="seps" >
</PackageSubstitution>
</service-endpoint>

The expected interface is generated correctly.

Furthermore xdoclet has to generate the webservices.xml by the wseedoclet-task 
as discribed by the following xml-tags:

<wseedoclet wseeSpec="1.1"  jaxrpcMappingFile="jaxrpc-mapping.xml"  
destDir="gensrc"  verbose="true" >
<deploymentdescriptor destDir="gensrc/META-INF" >
<PackageSubstitution packages="ejb"  substituteWith="seps" >
</PackageSubstitution>
</deploymentdescriptor>
<fileset dir="src/java"  includes="**/*Bean.java"  excludes="" >
</fileset>
</wseedoclet>

The package substitution is well done but the interfacename in the 
webservices.xml file is set to 
<service-endpoint-interface>....seps.Balloon</service-endpoint-interface> and 
not to 
<service-endpoint-interface>....seps.BalloonBeanEndpoint</service-endpoint-interface>
 as I would expect.

Is there something wrong, perhaps on the configuration, perhaps a missing 
pattern tag for the deploymentdescriptor? Or is there a bug?

Thanks for help

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to