Patches item #653882, was opened at 2002-12-14 17:54 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=653882&group_id=22866
Category: JbossSOAP Group: CVS HEAD Status: Open Resolution: None Priority: 5 Submitted By: John Fawcett (fawce) Assigned to: Nobody/Anonymous (nobody) Summary: fixed bug in xdoclet task Initial Comment: 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> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=653882&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development