Note that the (deprecated) ejb-ref feature works by setting up a local name
in comp/env that is just a redirection
to the given global name. 

Hence your java:comp/env/nEngineApplicationServer.ApplicationServerHome will
not automatically point to
java:nEngineApplicationServer.ApplicationServerHome.

Just set the bean jndi name to
java:nEngineApplicationServer.ApplicationServerHome and remove the ejb-ref
stuff and see
Whether it works then.



CGJ

-----Ursprüngliche Nachricht-----
Von: Dhiraj Ramakrishnan [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 11. November 2002 14:05
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] WebService Problem - Unable to view WSDL


Hi Guys,
I have deployed a webservice onto JBoss-3.0.2. The web-service.xml file
looks like this ,


<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance";
targetNamespace="http://net.jboss.org/nEngineApplicationServer";
xmlns:nEngineApplicationServer="http://net.jboss.org/nEngineApplicationServe
r"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
<!-- this is an extension to the Axis deployment descriptor which allows to
specify the naming environment for the deployed ws logic -->

<ejb-ref>
<ejb-ref-name>nEngineApplicationServer</ejb-ref-name>
<ejb-link>nEngineApplicationServer</ejb-link>
</ejb-ref>
<service name="nEngineService" provider="Handler">
<parameter name="handlerClass"
value="org.jboss.net.axis.server.EJBProvider"/>
<parameter name="beanJndiName"
value="java:comp/env/nEngineApplicationServer.ApplicationServerHome"/>
<parameter name="homeInterfaceName" value="ApplicationServerHome"/>
<parameter name="allowedMethods" value="*"/> <requestFlow
name="nEngineServiceRequest"> <handler name "TransactionRequestHandler"
type="java:org.jboss.net.axis.server.TransactionRequestHandler"/>
</requestFlow>
<responseFlow name="nEngineServiceResponse">
<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>

I am unable to view the wsdl of the service when i do the following,
http://localhost:8080/axis/services/nEngineService?wsdl

It says that one particular entity bean has not been bound. But when i see
the jmx-console that bean is listed in the JNDIVIEW

Further more in the following link http://localhost:8080/axis/services?list
i can distictly see my Service listed.

You can also reach me at [EMAIL PROTECTED]

Any ideas on this problem ,

Thanks in advance
Dhiraj Ramakrishan



-------------------------------------------------------
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