I have the following tags in a stateless session bean 
that I want to expose as a web service in WebSphere AS

6.0.

/**
 * @ejb.bean
 *   name="TestCardSession"
 *   jndi-name="mytest/TestCardSessionBean"
 *   type="Stateless"
 *   view-type="service-endpoint"
 *   description="MY BEAN"
 * @ejb.transaction
 *   type="Required"
 * @ejb.interface
 *   
remote-class="mytestpackage.TestCardServiceRemote"
 * @ejb.home
 *   
remote-class="mytestpackage.TestCardServiceRemoteHome"
 *
 * @wsee.port-component
 *    name="TestCard"
 *    display-name="TestCard"
 *
 * @wsee.handler
 *    name="TestCardHandler"
 *    handler-class="mytestpackage.MyHandler"
 *    display-name="TestHandler"
*/
public class TestCardSessionBean implements
TestCardService, SessionBean {
....

I have the following questions:

1.  The  <wsdl-port> element of the <port-component>
element is incorrect - the generated element is as
follows:

<port-component>
        <icon>
        </icon>
     
<port-component-name>TestCard</port-component-name>   
    
        <wsdl-port>TestCard</wsdl-port>
........

But the correct one should be namespace qualified -
e.g. here is what the ibm tool
wsdl2java generate:

<wsdl-port
xmlns:pfx="http://mytestpackage";>pfx:TestCardService</wsdl-port>

What am I missing here?

2.  How do I control the value of
<service-endpoint-interface> element? The XDoclet
 generates it as follows:


<service-endpoint-interface>mytestpackage.TestCardSessionService</service-endpoint-interface>

I actually want it to be TestCardService. The bean
that I use to (as shown above) implements
this interface.

3. It seems that I have to run the IBM 'endptenabler'
tool on the XDoclet generated EAR file to add the http
router. Is there a way I can run this tool by adding
any hook to XDoclet? Or is there any tag that I am
missing that will enable this feature?

Thanks
Shantanu Sen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to