Hi Folks,

             This is a question regarding jboss.net, axis and exposing a remote bean as a service.

 

I have a local bean exposed without much hassle (basically cos I got it from a tutorial. Thanks Bruce.) It’s just I can’t seem to get it to expose

a remote bean as a service. The bean’s deployed fine and I’ve tested it with a console client thru the jndi lookup..

 

Here ‘s a look at my web-service.xml

 

<?xml version="1.0" encoding="UTF-8"?>

 

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

<!-- this is an extension to the Axis deployment descriptor which allows to

    specify the naming environment for the deployed ws logic -->

 

 

                                                <service name="Hello" provider="Handler">

                                                                <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/>

                                                                <parameter name="beanJndiName" value="Hello"/>

                                                                <parameter name="homeInterfaceName" value="HelloHome"/>

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

 

Basically the EJBProvider class throws a null pointer exception.

 

 

Thanks,

Mark.

Reply via email to