Thanks, I'm going to see your sample .. I will send email to give my conclusions ... ________________________________________________________ Pascal RECCHIA Tel: 01.41.49.41.50 Groupe DEVOTEAM - SITICOM 86, rue Anatole France 92300 LEVALLOIS PERRET Jeffrey V Simpson <[EMAIL PROTECTED]> 08/07/2002 18:29 GMT Veuillez répondre à axis-user Pour : [EMAIL PROTECTED] cc : ccc : Pascal Recchia/Devoteam Objet : RE: JMS transport Sample [IMAGE] I have done one for the United States Patent and Trade Office. They are willing to donate to the Apache if you guys want. I also have AMI (another way of calling MOM systems). Here is my jms transport. If you Axis guys want to include it as a sample or in the base code just tell me and i can clean it up for you, and change the package names. If anyone has any ideas let me know. The URL for the jms call should look like this: jms://<QueueConnectionFactory JNDI Name>/<Out Queue JNDI name>?jms.inQ=<In Queue JNDI name> The following snippets need to be placed in your client where you make the call this stuff should be part of your class and can be class static: { Call.addTransportPackage("gov.uspto.axis.jms"); Call.setTransportForProtocol ("jms",gov.uspto.axis.jms.JMSTransport.class); } String wsdd = "<?xml version=\"1.0\"encoding=\"UTF-8\"?> " + "<deployment name=\"defaultClientConfig\" " + "xmlns=\"http://xml.apache.org/axis/wsdd/\" " + "xmlns:java=\"http://xml.apache.org/axis/wsdd/providers/java\">" + " <transport name=\"http\"pivot=\" java:org.apache.axis.transport.http.HTTPSender\"/>" + " <transport name=\"local\"pivot=\" java:org.apache.axis.transport.local.LocalSender\"/>" + " <transport name=\"jms\"pivot=\"java:gov.uspto.axis.jms.JSMSender\"/> " + " <transport name=\"ami\"pivot=\" java:gov.uspto.axis.transport.ami.AMISyncSender\"/>" + "</deployment>" URL url = new URL(null, strUrl, new sun.net.www.protocol.http.Handler()); RamService service = new RamServiceLocator(new XMLStringProvider(wsdd)); Ram port = service.getRam(url); Here is an example of how to set up the servlet <servlet id="Servlet_2"> <servlet-name>JMSServer</servlet-name> <servlet-class>gov.uspto.axis.jms.JMSServerServlet</servlet-class> <init-param id="InitParam_7"> <param-name>QUEUE_FACTORY</param-name> <param-value>JMS_FACTORY</param-value> </init-param> <init-param id="InitParam_8"> <param-name>QUEUE_INQ</param-name> <param-value>JMS_TO_RAM</param-value> </init-param> <init-param id="InitParam_9"> <param-name>QUEUE_OUTQ</param-name> <param-value>JMS_FROM_RAM</param-value> </init-param> </servlet> (See attached file: AxisJMSTransport.zip) Jeffrey V. Simpson Sr. Technical Consultant QAT [EMAIL PROTECTED] [EMAIL PROTECTED] 703-872-3397 "Hurst, Cyrus" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <Cyrus_Hurst cc: @tvratings.co Subject: RE: JMS transport Sample m> 07/08/02 01:29 PM Please respond to axis-user Hi Pascal, Yes, there is an example in the Wrox Axis book by Romin Irani and S. Jeelani Basha . -Cyrus -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 12:09 PM To: [EMAIL PROTECTED] Subject: JMS transport Sample Hi, Someone has developed a provider for JMS transport on Axis ? A link which shows an example ? Thanks. ________________________________________________________ Pascal RECCHIA Tel: 01.41.49.41.50 Groupe DEVOTEAM - SITICOM 86, rue Anatole France 92300 LEVALLOIS PERRET ______________________________________________________________________ Devoteam Siticom Strategic Partner of the French Challenger in the 2003 America's Cup ABOUT THE DEVOTEAM GROUP Devoteam is a leading European Consulting Group in networks and e-business infrastructures. We help our clients build corporate results from innovative information technology solutions. In 2001, pro forma revenues (including Siticom Group) amounted to EUR 142 MM. The new group has 1,800 employees in eight European countries (France, Belgium, Denmark, Netherlands, UK, Spain, Austria). Devoteam has been listed on the Nouveau Marché of Euronext Paris since October 1999 (Euroclear 7379) and joined the NextEconomy segment of Euronext. [IMAGE] ______________________________________________________________________ Devoteam Siticom Strategic Partner of the French Challenger in the 2003 America's Cup ABOUT THE DEVOTEAM GROUP Devoteam is a leading European Consulting Group in networks and e-business infrastructures. We help our clients build corporate results from innovative information technology solutions. In 2001, pro forma revenues (including Siticom Group) amounted to € 142 MM. The new group has 1,800 employees in eight European countries (France, Belgium, Denmark, Netherlands, UK, Spain, Austria). Devoteam has been listed on the Nouveau Marché of Euronext Paris since October 1999 (Euroclear 7379) and joined the NextEconomy segment of Euronext.
AxisJMSTransport.zip
Description: .ZIP File