I can't find much help regarding the configuration of a SOAP over JMS
Axis2 client.
I have created the JMS jndi entries using JMSAdmin and with
com.sun.jndi.fscontext.RefFSContextFactory as the provider.
I have also updated axis2.xml as follows.

    <transportSender name="jms"
                     class="org.apache.axis2.transport.jms.JMSSender">
        <parameter name="transport.jms.ConnectionFactoryJNDIName"
locked="false">SOAPJMSFactory1</parameter>
        <parameter name="transport.jms.Destination"
locked="false">SOAPJMSDestQueue1</parameter>
    </transportSender>

However I am getting the following exception. I guess this means that
its using ConnectionFactory as the ConnectionFactoryJNDIName instead of
what I have provided 'SOAPJMSFactory1'.
Can someone please point me to some documentation or tell me what am I
doing wrong?

org.apache.axis2.AxisFault: cannotConnect; nested exception is: 
        javax.naming.NameNotFoundException: ConnectionFactory
        at
org.apache.axis2.transport.jms.JMSConnectorManager.getConnector(JMSConne
ctorManager.java:273)
        at
org.apache.axis2.transport.jms.JMSSender.setupTransport(JMSSender.java:3
74)
        at
org.apache.axis2.transport.jms.JMSSender.invoke(JMSSender.java:233)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:328)
        at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:279)
        at
org.apache.axis2.BankAppInboundServiceJMSStub.getAccountBalance(BankAppI
nboundServiceJMSStub.java:501)
        at test.TestJMSClient.main(TestJMSClient.java:38)


Thanks in advance.

Sagar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to