axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go2rk <Ramakrishna.Narend...@nbcuni.com>
Subject SOAP Over JMS problem with Axis 1.3
Date Wed, 30 Apr 2008 16:45:03 GMT

I am developing a web service over TIBCO JMS with axis 1.3. My service is
installed in jboss 4.0.4. My problem is the wsdl is not getting created for
this. In the service list(http://localhost:8080/axis2/services/listServices)
it is showing active status. but when I visit go to
http://localhost:8080/axis2/services/echoservice?wsdl it gives me following
error. Please help me on this.  

Exception:::::::::::::::::
java.lang.ArrayIndexOutOfBoundsException: 0
	org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1137)
	org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1077)

org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:280)

Axis2.xml entries::::::::::::::::
<transportReceiver name="jms"
class="org.apache.axis2.transport.jms.JMSListener">
    <parameter name="TibcoQueueConnectionFactory" locked="false"> 
            <parameter name="java.naming.factory.initial"
locked="false">com.tibco.tibjms.naming.TibjmsInitialContextFactory</parameter>
            <parameter name="java.naming.provider.url"
locked="false">tibjmsnaming://localhost:7222</parameter> 
            <parameter name="transport.jms.ConnectionFactoryJNDIName"
locked="false">QueueConnectionFactory</parameter> 
    </parameter>
</transportReceiver>

<transportSender name="jms"
class="org.apache.axis2.transport.jms.JMSSender"/>

My service class:::::::::::::::::

public class EchoService {
	private Logger logger = null;
	public String echoString(String in) {
	      return in+(new Date());
	}

}

and the service.xml entries are::::::::::::::::
<service name="echoservice">
    <transports>
      <transport>jms</transport>
    </transports>
    <description>Echo2 Service</description>
    <messageReceivers>
      <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
      <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> 
    </messageReceivers>
    <parameter name="ServiceClass"
locked="true">com.ge.nbc.media.service.jms.webservice.EchoService</parameter>

    <parameter name="transport.jms.ConnectionFactory"
locked="true">TibcoQueueConnectionFactory</parameter>
    <parameter name="transport.jms.Destination"
locked="true">my.queue</parameter>
  </service>

Ramakrishna


-----
ram
-- 
View this message in context: http://www.nabble.com/SOAP-Over-JMS-problem-with-Axis-1.3-tp16986973p16986973.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message