axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Bull <anthony.b...@bcsoft.co.nz>
Subject Re: Axis2 with JMS Transport
Date Tue, 27 May 2008 23:06:34 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I've got some production systems using Axis 2 with Web Sphere MQ, using
publish/subscribe (instead of queues).&nbsp; You don't need to use Synapse,
out of the box Axis 2 supports JMS web services nicely. <br>
<br>
I assume you are using MQ 6.0 and have set it up with JNDI and have a
connection factory called "SampleQCF" in the MQ JNDI context.<br>
<br>
All my services/clients are contract-first, so they have a WSDL which
defines the SOAP actions, and have the auto-generated MessageReceivers
which pick up which operation to go to.&nbsp; We are doing interop with a
.NET company for ws clients and services, and had to get them to add
addressing headers to the SOAP envelope so Axis 2 could invoke the
correct methods over JMS/MQ.<br>
<br>
E.g.<br>
<br>
<span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><tt>&lt;soapenv:Envelope
xmlns:soapenv=<a href="http://www.w3.org/2003/05/soap-envelope">"http://www.w3.org/2003/05/soap-envelope"</a>
xmlns:wsa=<a href="http://schemas.xmlsoap.org/ws/2004/08/addressing">"http://schemas.xmlsoap.org/ws/2004/08/addressing"</a>&gt;<br>
</tt><tt>&nbsp; &lt;soapenv:Header&gt;<br>
&nbsp;&lt;wsa:To&gt;jms:/MQ.TOPIC?transport.jms.ConnectionFactoryJNDIName=topicCF&amp;amp;java.naming.factory.initial=com.ibm.mq.jms.context.WMQInitialContextFactory&amp;amp;java.naming.provider.url=yaris:1414/CLIENT.SVRCONN&lt;/wsa:To&gt;</tt><br>
<tt>&nbsp;&nbsp;&nbsp;
&lt;wsa:MessageID&gt;urn:uuid:96A87BCA349E5370D71207021913297&lt;/wsa:MessageID&gt;</tt><br>
<tt>&nbsp;&nbsp;&nbsp;
<font color="#3333ff"><b>&lt;wsa:Action&gt;urn:VehicleAllocated&lt;/wsa:Action&gt;</b></font></tt><br>
<tt>&nbsp; &lt;/soapenv:Header&gt;</tt><br>
<tt>&nbsp; &lt;soapenv:Body&gt;<br>
<br>
However, I'm not sure if this will solve the problem for a POJO
web-service, as I've never done POJO web services over JMS, only
contract-first.<br>
<br>
To add addressing, you need the following in your services.xml for your
server, and in your axis2.xml for your client.<br>
<br>
&nbsp;&nbsp;&nbsp; <b><font color="#3333ff">&lt;module ref="addressing" /&gt;</font></b><br>
</tt></span><br>
With regards to popping messages onto a queue via MQ Explorer, I'm not
sure if this will work in the same way you expect - the easy solution
is to simply use an axis 2 client to do it.&nbsp; Note that you don't need
to have any parameters or sub elements for your JMS Sender in
axis2.xml, you can control all that stuff via the End Point Reference
of your client when you invoke axis2:<br>
<br>
e.g.<br>
<font color="#3333ff"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String url = "<span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">jms:/MQ.TOPIC?transport.jms.ConnectionFactoryJNDIName=topicCF&amp;amp;java.naming.factory.initial=com.ibm.mq.jms.context.WMQInitialContextFactory&amp;amp;java.naming.provider.url=yaris:1414/CLIENT.SVRCONN</span>";<br>
</tt></font><br>
And use that as your service endpoint.<br>
<br>
Additionally, if you are using publish/subscribe, note that Axis2 (as
of version 1.3) doesn't have any support for durable subscriptions.<br>
<br>
Finally, Axis 2's client side stuff in version 1.3 is very buggy with
WebSphere MQ
as the JMS provider - causing MQ to lock up because the Axis 2 client
doesn't relinquish MQ connections
until the JVM has exited (this may be due to MQ's JMS libraries), so
I've had to do my own JMSSender
implementation to sort that out<br>
<br>
adisesha wrote:
<blockquote cite="mid:MAILSRVaJZqQ4V7msx00000382b@mailsrv" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:473254545;
	mso-list-type:hybrid;
	mso-list-template-ids:-201920566 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">HI Asankha,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Firstly
thanks a lot for replying, I have
been sending mails since last week &amp; I got one from you </span></font><font
 color="navy" face="Wingdings" size="2"><span
 style="font-size: 10pt; font-family: Wingdings; color: navy;">J</span></font><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><b><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;">My
Requirement:</span></font></b><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"> I want to
use
Axis2Service with jms &amp; websphereMQ (Soap Message). In net I
haven&#8217;t seen
any article related to this combination. Kindly correct me if I am wrong<o:p></o:p></span></font></p>
  <ol style="margin-top: 0in;" start="1" type="1">
    <li class="MsoNormal" style="color: navy;"><b><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; font-weight: bold;">Axis2.Xml</span></font></b><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"> (Created </span></font><b><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext; font-weight: bold;">SampleQCF</span></font></b><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
connection factory in MQ using JMSAdmin &amp; sampleconfig.scp)</span></font><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></li>
  </ol>
  <p class="MsoNormal" style="text-indent: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">transportReceiver</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">jms</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">class</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">org.apache.axis2.transport.jms.JMSListener</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">myQueueConnectionFactory</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">locked</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> =</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">false</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">java.naming.factory.initial</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">com.ibm.mq.jms.context.<b><span
 style="font-weight: bold;">WMQInitialContextFactory</span></b></span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">java.naming.provider.url</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">localhost:1414/SYSTEM.DEF.SVRCONN</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">transport.jms.ConnectionFactoryJNDIName</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><b><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext; font-weight: bold;">SampleQCF</span></font></b><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">transportReceiver</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">transportSender</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">jms</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">class</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">org.apache.axis2.transport.jms.JMSSender</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">myQueueConnectionFactory</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">locked</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> =</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">false</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">java.naming.factory.initial</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">com.ibm.mq.jms.context.<b><span
 style="font-weight: bold;">WMQInitialContextFactory</span></b></span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">java.naming.provider.url</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">localhost:1414/SYSTEM.DEF.SVRCONN</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">transport.jms.ConnectionFactoryJNDIName</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><b><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext; font-weight: bold;">SampleQCF</span></font></b><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;
&lt;/</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">transportSender</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p></o:p></span></font></p>
  <ol style="margin-top: 0in;" start="2" type="1">
    <li class="MsoNormal" style="color: navy;"><b><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; font-weight: bold;">services.xml<o:p></o:p></span></font></b></li>
  </ol>
  <p class="MsoNormal" style="text-indent: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">service</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">Echo</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;
&nbsp;&nbsp; &lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">description</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">&nbsp;&nbsp;
Echo Service&nbsp; </span></font><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">description</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;&nbsp;&nbsp;
  <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">operation</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">echoString</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">messageReceiver</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">class</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">org.apache.axis2.rpc.receivers.RPCMessageReceiver</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">/&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;</span></font><font color="maroon" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">actionMapping</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">urn:echoString</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">actionMapping</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">operation</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">ServiceClass</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">locked</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">true</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Echo</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;&nbsp;&nbsp;&nbsp;
  <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">transport.jms.ConnectionFactory</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">locked</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">true</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">myQueueConnectionFactory</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&nbsp;
&lt;</span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">name</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">transport.jms.Destination</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;"> </span></font><font
 color="red" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">locked</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">=</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">true</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">"</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><b><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext; font-weight: bold;">SampleQueue</span></font></b><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">parameter</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;&nbsp;
  <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 0.25in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&lt;/</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">service</span></font><font
 color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">&gt;</span></font><b><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;"><o:p></o:p></span></font></b></p>
  <ol style="margin-top: 0in;" start="3" type="1">
    <li class="MsoNormal" style="color: navy;"><b><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; font-weight: bold;">Echo.java</span></font></b><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"> (Axis2Service, i.e
Created .class &amp; then .aar &amp; then copied it to
tomcat&#8230;\axis2\....services)<o:p></o:p></span></font></li>
  </ol>
  <p class="MsoNormal" style="text-indent: 0.5in;"><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">public</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
  </span></font><font color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">class</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
Echo<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;"><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">{<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">public</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
  </span></font><font color="teal" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">String</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
echoString(</span></font><font color="teal" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">String</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
in) <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">return</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
  </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"thanks:"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>
  <p class="MsoNormal" style="margin-left: 0.75in; text-indent: 0.25in;"><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">}</span></font><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p></o:p></span></font></p>
  <ol style="margin-top: 0in;" start="4" type="1">
    <li class="MsoNormal" style="color: navy;"><b><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; font-weight: bold;">Soap
Message</span></font></b><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"> (I am putting directly
in to Queue using &#8220;Put Text Message&#8221; in websphere MQ explorer)<o:p></o:p></span></font></li>
  </ol>
  <p class="MsoNormal" style="margin-left: 0.25in;"><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">&lt;?xml
version="1.0" encoding="UTF-8"?&gt;&lt;SOAP-ENV:Envelope
xmlns:SOAP-ENV=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:SOAP-ENC=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>&lt;SOAP-ENV:Body&gt;&lt;ns:<b><span
 style="font-weight: bold;">Echo</span></b> xmlns:ns="urn:<b><span
 style="font-weight: bold;">echoString</span></b>"&gt;&lt;UserInfo&gt;String&lt;/UserInfo&gt;&lt;Input&gt;<b><span
 style="font-weight: bold;">Welcome to sample</span></b>&lt;/Input&gt;&lt;/ns:<b><span
 style="font-weight: bold;">Echo</span></b>&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <pre><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Let me know if I need synapse.jar &amp; </span></font>&lt;parameter name="Operation"&gt;urn:<font
 color="black"><span style="color: windowtext;">echoString</span></font>&lt;/parameter&gt;<o:p></o:p></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">Thanks in advance<o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">Adi</span></font><font color="navy"
 face="Arial"><span style="font-family: Arial; color: navy;"><o:p></o:p></span></font></pre>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font
 color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;">
Asankha C. Perera [<a class="moz-txt-link-freetext" href="mailto:asankha@wso2.com">mailto:asankha@wso2.com</a>] <br>
  <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, May 27,
2008 4:45
PM<br>
  <b><span style="font-weight: bold;">To:</span></b> <st1:PersonName
 w:st="on"><a class="moz-txt-link-abbreviated" href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a></st1:PersonName><br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re: Axis2
with JMS
Transport</span></font><font color="black"><span
 style="color: windowtext;"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">Adi<br>
  <br>
  <o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal" style=""><b><u><font color="blue"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue; font-weight: bold;">Error:<u1:p></u1:p></span></font></u></b><o:p></o:p></p>
  <p class="MsoNormal" style=""><font color="blue" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">1.
Now when I put text message in to Queue &#8220;</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Echo&#8221;
immediately it disappears from MQ. In tomcat log I can see &#8220;Exception
in thread
"JMSWorker-1" java.lang.NullPointerException<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at
org.apache.axis2.transport.jms.JMSMessageReceiver.createMessageContext(JMSMessageReceiver.java:190)&#8221;</span></font><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">What is the content type of
your message? if your
payload is text/plain, it could be due to a MessageBuilder problem. I
would
suggest the Synapse JMS transport implementation (which is an updated
version
of the same JMS transport available with Axis2) for you here. You can
drop the
Jar from <a moz-do-not-send="true"
 href="http://repo1.maven.org/maven2/org/apache/synapse/synapse-transports/1.1.2/synapse-transports-1.1.2.jar">here
[http://repo1.maven.org/maven2/org/apache/synapse/synapse-transports/1.1.2/synapse-transports-1.1.2.jar]</a><br>
  <br>
A typical configuration on your axis2.xml would be like:<br>
&nbsp;&nbsp;&nbsp; &lt;!--Uncomment this and configure as appropriate for JMS
transport support, after setting up your JMS environment (e.g. ActiveMQ)<br>
&nbsp;&nbsp;&nbsp; &lt;transportReceiver name="jms"
class="org.apache.synapse.transport.jms.JMSListener"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter
name="myTopicConnectionFactory"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="java.naming.factory.initial"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="java.naming.provider.url"&gt;tcp://localhost:61616&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="transport.jms.ConnectionFactoryJNDIName"&gt;TopicConnectionFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="transport.jms.ConnectionFactoryType"
locked="false"&gt;topic&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<br>
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter name="myQueueConnectionFactory"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="java.naming.factory.initial"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="java.naming.provider.url"&gt;tcp://localhost:61616&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="transport.jms.ConnectionFactoryJNDIName"&gt;QueueConnectionFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="transport.jms.ConnectionFactoryType"
locked="false"&gt;queue&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<br>
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter
name="default"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="java.naming.factory.initial"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="java.naming.provider.url"&gt;tcp://localhost:61616&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="transport.jms.ConnectionFactoryJNDIName"&gt;QueueConnectionFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;parameter
name="transport.jms.ConnectionFactoryType"
locked="false"&gt;queue&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/transportReceiver&gt;--&gt;<br>
  <br>
....<br>
&nbsp;&nbsp;&nbsp; &lt;transportSender name="jms"
class="org.apache.synapse.transport.jms.JMSSender"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- uncomment this and configure
to use connection pools for sending messages<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter
name="myTopicConnectionFactory"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="java.naming.factory.initial"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="java.naming.provider.url"&gt;tcp://localhost:61616&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="transport.jms.ConnectionFactoryJNDIName"&gt;TopicConnectionFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter
name="myQueueConnectionFactory"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="java.naming.factory.initial"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="java.naming.provider.url"&gt;tcp://localhost:61616&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="transport.jms.ConnectionFactoryJNDIName"&gt;QueueConnectionFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter
name="default"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="java.naming.factory.initial"&gt;org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="java.naming.provider.url"&gt;tcp://localhost:61616&lt;/parameter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;parameter
name="transport.jms.ConnectionFactoryJNDIName"&gt;QueueConnectionFactory&lt;/parameter&gt;
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameter&gt; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/transportSender&gt;<br>
  <br>
  <br>
  <o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">2.
If I put message using &#8220;standalonewmq&#8221; program, I can see
&#8220;[ERROR] Cannot find operation : <u>urn:mediate on the service Echo</u><u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">Exception
in thread "JMSWorker-1"
org.apache.axis2.transport.jms.AxisJMSException: Cannot find operation
:
urn:mediate on the service Echo<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at
org.apache.axis2.transport.jms.JMSUtils.handleException(JMSUtils.java:464)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at
org.apache.axis2.transport.jms.JMSUtils.getSOAPEnvelope(JMSUtils.java:378)&#8221;</span></font><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">With the JMS transport, unless
you specify the operation
name in your services.xml with the parameter "Operation", this
defaults to an operation named "mediate"<br>
  <br>
  <br>
  <o:p></o:p></span></font></p>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">&lt;parameter name="Operation"&gt;urn:sayHello&lt;/parameter&gt;<o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">asankha<o:p></o:p></span></font></pre>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
  <br>
  <o:p></o:p></span></font></p>
  </div>
  <table>
    <tbody>
      <tr>
        <td bgcolor="#ffffff"><font color="#000000">Disclaimer<br>
        <br>
The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are
hereby notified that any disclosure, copying, distribution or taking
any action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this communication
in error, please notify us immediately by forwarding this email to
<a class="moz-txt-link-abbreviated" href="mailto:MailAdmin@ness.com">MailAdmin@ness.com</a> and then delete it from your system. Ness
technologies is neither liable for the proper and complete transmission
of the information contained in this communication nor for any delay in
its receipt.<br>
        </font></td>
      </tr>
    </tbody>
  </table>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 

Anthony
------------------------------------- 
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand
 
<a class="moz-txt-link-abbreviated" href="mailto:anthony.bull@bcsoft.co.nz">anthony.bull@bcsoft.co.nz</a>
Ph  +64 4 472 8818
Fax +64 4 472 8811
------------------------------------- 
<a class="moz-txt-link-abbreviated" href="http://www.bcsoft.co.nz">www.bcsoft.co.nz</a>
--------------------------------------------------------------- 
This email may contain confidential or privileged information, 
and is intended for use only by the addressee, or addressees. 
If you are not the intended recipient please advise the sender 
immediately and do not copy, use or disclose the contents to 
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses 
received with this email, or to any changes made to the original 
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black 
Coffee Software Ltd.
--------------------------------------------------------------- </pre>
</body>
</html>


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


Mime
View raw message