Hi asankha, Thanks a lot for your help.
Now my axis2 server is listen to the queue, and How can I write a client to call the service? I attached my TestClient and below attached my axis2.xml snippt: <transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener"> <parameter name="myjmsfactoryTest" locked="false"> <parameter name="java.naming.factory.initial" locked="false">weblogic.jndi.WLInitialContextFactory</parameter> <parameter name="java.naming.provider.url" locked="false">t3://localhost:80</parameter> <parameter name="transport.jms.ConnectionFactoryJNDIName" locked="false">myjmsfactory</parameter> </parameter> </transportReceiver> Thanks & Regards Shen Chunxia (Jennie) ReBT Tel: 86-21-38954626 ext. 61104 [EMAIL PROTECTED] -----Original Message----- From: Asankha C. Perera [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2008 1:06 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Axis2 + jms Hi Shen Refer to http://ws.apache.org/axis2/1_3/jms-transport.html to get started asankha Shen, Chunxia wrote: > Hi, > > I want to implement web service using JMS transport. > Please forward me a good link or an example that would guide me in the > process. > Your help on this will be appreciate. > > > Thanks & Regards > > Shen Chunxia (Jennie) > ReBT > Tel: 86-21-38954626 ext. 61104 > [EMAIL PROTECTED] > > > > > Thanks & Regards > > > Shen Chunxia (Jennie) > ReBT > Tel: 86-21-38954626 ext. 61104 > [EMAIL PROTECTED] > > -----Original Message----- > From: Hans Drexler [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 10:05 PM > To: axis-user@ws.apache.org > Subject: RE: Axis2 + jms > > > Hello Dwiputera, > > No, there is no such tool that is easily accessible. In the end, we wrote a > small Java program to put messages in the queue. It isn't really hard to do. > > Not really the end of your problem, I Know... > > -----Original Message----- > From: Dwiputera Aries Fajar (CI/AFR-SG) [mailto:[EMAIL PROTECTED] > Sent: woensdag 3 september 2008 9:01 > To: axis-user@ws.apache.org > Subject: Axis2 + jms > > Hi all, > > I'm quite new to AXIS2 and JMS, so I hope someone in the forum can help me. > We are trying to expose our Webservice through JMS. We are using AXIS2 and > exploring ActiveMQ. > > So...i have performed all the necessary steps from : > > http://ws.apache.org/axis2/1_1/jms-transport.html > > Everythigg seesm to be ok, my WSDL is correct and it also expose my binding > as JMS (see the snipset below). > > Now...how can I invoke this WS through JMS? Is there any tools like SoapUI > where I can give my wsdl and shoot? (I can do just like that if I use the > HTTP request within SoapUI, but if I use the JMS, it seems to not reacting. > Even my ActiveMQ console seems not to receive any new message). > > Furthermore, how can I build a JMS client for this particular WS? (any > example code???) > > Thanks, > Aries > > > <wsdl:port name="echoJmsSoap11Endpoint" binding="ns:echoSoap11Binding"> > <soap:address > location="jms:/echo?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616"/> > </wsdl:port> > − > <wsdl:port name="echoJmsSoap12Endpoint" binding="ns:echoSoap12Binding"> > <soap12:address > location="jms:/echo?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616"/> > </wsdl:port> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TestClient.java
Description: TestClient.java
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]