[ http://jira.jboss.com/jira/browse/JBAS-368?page=comments#action_12311577 ] SourceForge User commented on JBAS-368: ---------------------------------------
SourceForge Username: cgjung . Logged In: YES user_id=175199 local/home thingy is right. about the name qualification, I have to recheck (could be that it is not needed at all due to EJBProvider using reflection instead of forName() resolution. > fixed bug in xdoclet task > ------------------------- > > Key: JBAS-368 > URL: http://jira.jboss.com/jira/browse/JBAS-368 > Project: JBoss Application Server > Type: Patch > Components: Web Services service > Reporter: SourceForge User > Assignee: Scott M Stark > > > SourceForge Submitter: fawce . > hi, > here we go, another patch from your buddy fawce (2nd > lifetime). there were two bugs in the jboss_net.xdt > resource file, first it did not properly handle ejb's with a > view-type of "both", and secondly, did not put the fully > qualified classname in the homeInterfaceName. This > patch fixes both. > thanks, > fawce > ========================================= > ========================== > RCS > file: /usr/local/cvsroot//tamale_jboss4/jboss.net/src/resou > rces/xdoclet/modules/jboss/net/resources/jboss- > net_xml.xdt,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -p -r1.1 -r1.2 > --- > tamale_jboss4/jboss.net/src/resources/xdoclet/modules/j > boss/net/resources/jboss-net_xml.xdt 2002/10/07 > 06:33:28 1.1 > +++ > tamale_jboss4/jboss.net/src/resources/xdoclet/modules/j > boss/net/resources/jboss-net_xml.xdt 2002/12/14 > 00:33:31 1.2 > @@ -1,9 +1,9 @@ > <?xml version="1.0" > encoding="<XDtConfig:configParameterValue > paramName='XmlEncoding'/>"?> > > -<!-- --> > -<!-- This JBoss.Net Web Service Descriptor has been > generated by XDoclet --> > -<!-- and brought to you by F. M. Brier, C. G. Jung and > J. Essington --> > -<!-- --> > +<!-- > > > --> > +<!-- This JBoss.Net Web Service Descriptor has been > generated by XDoclet --> > +<!-- and brought to you by F. M. Brier, C. G. Jung and > J. Essington --> > +<!-- > > > --> > > <deployment > name="<XDtConfig:configParameterValue > paramName='WebDeploymentName'/>" > @@ -27,7 +27,21 @@ > </XDtClass:ifClassTagValueEquals> > </XDtClass:ifDoesntHaveClassTag> > <parameter name="handlerClass" > value="org.jboss.net.axis.server.EJBProvider"/> > - <parameter name="beanJndiName" > value="<XDtEjb:ifRemoteEjb><XDtEjbHome:jndiName > type="remote"/></XDtEjb:ifRemoteEjb><XDtEjb:ifLocalEj > b><XDtEjbHome:jndiName > type="local"/></XDtEjb:ifLocalEjb>"/> > + <XDtEjb:ifNotLocalEjb> > + <XDtEjb:ifRemoteEjb> > + <parameter > name="beanJndiName" value="<XDtEjbHome:jndiName > type="remote"/>" /> > + <parameter > name="homeInterfaceName" > value="<XDtEjbHome:homeInterface type="remote"/>" /> > + </XDtEjb:ifRemoteEjb> > + <!--If this bean is neither remote > nor local, it is a both, and we can use Local--> > + <XDtEjb:ifNotRemoteEjb> > + <parameter > name="beanJndiName" value="<XDtEjbHome:jndiName > type="local"/>"/> > + <parameter > name="homeInterfaceName" > value="<XDtEjbHome:homeInterface type="local"/>" /> > + </XDtEjb:ifNotRemoteEjb> > + </XDtEjb:ifNotLocalEjb> > + <XDtEjb:ifLocalEjb> > + <parameter > name="beanJndiName" value="<XDtEjbHome:jndiName > type="local"/>"/> > + <parameter > name="homeInterfaceName" > value="<XDtEjbHome:homeInterface type="local"/>" /> > + </XDtEjb:ifLocalEjb> > <parameter name="allowedMethods" > value="<XDtClass:ifHasClassTag tagName="jboss- > net:web-service" paramName="expose- > all">*</XDtClass:ifHasClassTag><XDtClass:ifDoesntHav > eClassTag tagName="jboss-net:web-service" > paramName="expose- > all"><XDtMethod:forAllMethods><XDtEjbIntf:ifIsInterface > Method><XDtMethod:ifHasMethodTag tagName="jboss- > net:web-method"><XDtEjbIntf:interfaceMethodName/> > </XDtMethod:ifHasMethodTag></XDtEjbIntf:ifIsInterfaceM > ethod></XDtMethod:forAllMethods></XDtClass:ifDoesnt > HaveClassTag>"/> > <requestFlow name="<XDtClass:classTagValue > tagName='jboss-net:web-service' > paramName='urn'/>Request"> > > @@ -47,11 +61,11 @@ > </XDtClass:ifHasClassTag> > </handler> > </XDtClass:ifHasClassTag> > - <handler > type="java:org.jboss.net.axis.server.TransactionRequest > Handler"/> > + <handler name="TransactionRequestHandler" > type="java:org.jboss.net.axis.server.TransactionRequest > Handler"/> > </requestFlow> > <responseFlow name="<XDtClass:classTagValue > tagName='jboss-net:web-service' > paramName='urn'/>Response"> > - <handler > type="java:org.jboss.net.axis.server.SerialisationRespon > seHandler"/> > - <handler > type="java:org.jboss.net.axis.server.TransactionRespons > eHandler"/> > + <handler name="SerialisationResponseHandler" > type="java:org.jboss.net.axis.server.SerialisationRespon > seHandler"/> > + <handler name="TransactionResponseHandler" > type="java:org.jboss.net.axis.server.TransactionRespons > eHandler"/> > </responseFlow> > </service> > </XDtClass:ifHasClassTag> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development