Because the EJBProvider looks up the ejb home object not as a
java.lang.Object but via
javax.ejb.EJBHome (and not javax.ejb.EJBLocalHome) in order to call
getEJBMetaData() on it ...

Since most of the wsdl-generation does reflection anyway, we could get
detype this bit of code, too.

CGJ 

-----Urspr�ngliche Nachricht-----
Von: Greg Turner [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 1. August 2002 17:21
An: [EMAIL PROTECTED]
Betreff: Re: AW: [JBoss-user] JBoss.Net Question


Thanks CGJ.  If you have a min, for my understanding, could you explain why
publishing wsdl is dependent on having local interfaces?  Thanks

Greg

"Jung , Dr. Christoph" wrote:

> Greg,
>
> The current version of the jboss.net EJBProvider only operates on 
> remote interfaces, not local interfaces. Shame on me.
>
> That will hopefully change in the short future.
>
> CGJ
>
> -----Urspr�ngliche Nachricht-----
> Von: Greg Turner [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 1. August 2002 05:43
> An: [EMAIL PROTECTED]
> Betreff: [JBoss-user] JBoss.Net Question
>
> I have deployed a web service that exposes a method of a simple class. 
> I am able to access the web service with a client program with no 
> problem and I am also able to browse the wsdl.
>
> I have deployed a second web service that exposes a method of a 
> session bean.  I am also able to access this web service with a client 
> program. However, I am unable to browse the wsdl.  When I try to do 
> so, I get an Axis error, java.lang.ClassCastException $Proxy23.
>
> Here is my deployment descriptor for this web service.  Can anyone 
> tell what I am doing wrong that prevents me from browsing the wsdl at 
> http://localhost:8080/axis/services/Hello?wsdl  Thanks
>
> <deployment
>  xmlns="http://xml.apache.org/axis/wsdd/";
>  targetNamespace="http://net.jboss.org/hello";
>  xmlns:hello="http://net.jboss.org/hello";
>  xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
>
>  <service name="Hello" provider="Handler">
>   <parameter name="handlerClass" 
> value="org.jboss.net.axis.server.EJBProvider"/>
>     <parameter name="beanJndiName" value="HelloEjb"/>
>     <parameter name="homeInterfaceName" value="HelloLocalHome"/>
>   <parameter name="allowedMethods" value="*"/>
>
>     <requestFlow name="HelloRequest">
>          <handler name ="TransactionRequestHandler" 
> type="java:org.jboss.net.axis.server.TransactionRequestHandler"/>
>     </requestFlow>
>
>     <responseFlow name="HelloResponse">
>          <handler name="SerialisationResponseHandler"
> type="java:org.jboss.net.axis.server.SerialisationResponseHandler"/>
>          <handler name="TransactionResponseHandler" 
> type="java:org.jboss.net.axis.server.TransactionResponseHandler"/>
>     </responseFlow>
>
>   </service>
> </deployment>
>
> Greg
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board 
> for high-tech professionals. Search and apply for tech jobs today! 
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> ###########################################
>
> This message has been scanned by F-Secure Anti-Virus for Microsoft 
> Exchange. For more information, connect to http://www.F-Secure.com/
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to