<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14466</id>
	<title>Nabble - Synapse - User</title>
	<updated>2009-12-16T09:13:25Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Synapse---User-f14466.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse---User-f14466.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26814825</id>
	<title>RE: Sample 0 connection Error</title>
	<published>2009-12-16T09:13:25Z</published>
	<updated>2009-12-16T09:13:25Z</updated>
	<author>
		<name>BA</name>
	</author>
	<content type="html">sorry for not searching in the archive with markmail. 
&lt;br&gt;I have found the answer here:
&lt;br&gt;&lt;br&gt;On 10/8/07, Asankha C. Perera &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26814825&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asan...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;Eric
&lt;br&gt;&lt;br&gt;Are you using windows? Also whats your client application written in? Most probably what happens is that your client sends the request stating HTTP 1.1 which implies the use of keepalives unless a &amp;quot;Connection: close&amp;quot; header is specified along with the request. But as soon as it gets the response back - the client closes the connection and possibly terminates itself. One way to find out if this is the cause is to send the request to Synpase through TCPMon etc and check if what I am saying is taking place - note that the sample stockquote client etc that uses Axis2 in our samples also suffers from this - but this is not a defect with Synapse. We could update Synapse to just do a WARN on this.. your thoughts are welcome
&lt;br&gt;&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26814825&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fat_nonsense@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26814825&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fat_nonsense@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, December 16, 2009 5:13 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26814825&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Sample 0 connection Error
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have just installed and &amp;nbsp;tried the sample 0 application of Synapse.
&lt;br&gt;&amp;gt; It seems to work somehow, but there is still an error message in the
&lt;br&gt;&amp;gt; Synapse console output saying &amp;quot;An existing connection was closed by the
&lt;br&gt;&amp;gt; remote host&amp;quot; (translated from german). &amp;nbsp;On both sides, server and
&lt;br&gt;&amp;gt; client, everything seems to be ok, it's just synapse.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here are the console outputs
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Axis2 Server console output:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wed Dec 16 16:50:55 CET 2009 samples.services.SimpleStockQuoteService
&lt;br&gt;&amp;gt; :: Generating quote for : IBM
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Synapse console output:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009-12-16 16:50:55,143 [192.168.2.1-Fat-Core2Duo] [HttpServerWorker-1]
&lt;br&gt;&amp;gt; INFO LogMediator To:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:9000/soap/SimpleStockQuoteService&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9000/soap/SimpleStockQuoteService&lt;/a&gt;, WSAction: urn:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; getQuote, SOAPAction: urn:getQuote, ReplyTo:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.w3.org/2005/08/addressing/anonymous&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a&gt;, MessageID:
&lt;br&gt;&amp;gt; urn:uuid:2304C5A25C1B68873B1260978654900, Direction: req
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; uest, Envelope: &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&amp;lt;soapenv:Envelope
&lt;br&gt;&amp;gt; xmlns:soapenv=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;soapenv:Head
&lt;br&gt;&amp;gt; er xmlns:wsa=&amp;quot;htt
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; p://www.w3.org/2005/08/addressing&amp;quot;&amp;gt;&amp;lt;wsa:To&amp;gt;&lt;a href=&quot;http://localhost:9000/soap/S&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9000/soap/S&lt;/a&gt;&lt;br&gt;&amp;gt; impleStockQuoteService&amp;lt;/wsa:To&amp;gt;&amp;lt;wsa:MessageID&amp;gt;urn:uuid:2304C5A25C1B6887
&lt;br&gt;&amp;gt; 3B1260978654900&amp;lt;/w
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sa:MessageID&amp;gt;&amp;lt;wsa:Action&amp;gt;urn:getQuote&amp;lt;/wsa:Action&amp;gt;&amp;lt;/soapenv:Header&amp;gt;&amp;lt;soa
&lt;br&gt;&amp;gt; penv:Body&amp;gt;&amp;lt;m0:getQuote
&lt;br&gt;&amp;gt; xmlns:m0=&amp;quot;&lt;a href=&quot;http://services.samples/xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://services.samples/xsd&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;m0:request&amp;gt;&amp;lt;m0:symbol&amp;gt;IBM&amp;lt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /m0:symbol&amp;gt;&amp;lt;/m0:request&amp;gt;&amp;lt;/m0:getQuote&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009-12-16 16:50:55,159 [192.168.2.1-Fat-Core2Duo] [HttpServerWorker-1]
&lt;br&gt;&amp;gt; INFO TimeoutHandler This engine will expire all callbacks after : 86400
&lt;br&gt;&amp;gt; seconds, irresp
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ective of the timeout action, after the specified or optional timeout
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009-12-16 16:50:55,205 [192.168.2.1-Fat-Core2Duo] [HttpClientWorker-1]
&lt;br&gt;&amp;gt; INFO LogMediator To: &lt;a href=&quot;http://www.w3.org/2005/08/addressing/anonymous&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a&gt;,
&lt;br&gt;&amp;gt; WSAction: , SOAPAc
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; tion: , ReplyTo: &lt;a href=&quot;http://www.w3.org/2005/08/addressing/anonymous&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a&gt;,
&lt;br&gt;&amp;gt; MessageID: urn:uuid:9253641FAB4022EBA1639719603782565-1091310631,
&lt;br&gt;&amp;gt; Direction: response, Envelope
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; : &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&amp;lt;soapenv:Envelope
&lt;br&gt;&amp;gt; xmlns:soapenv=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;soapenv:Body
&lt;br&gt;&amp;gt; &amp;gt;&amp;lt;ns:getQuoteResponse xmlns:ns=
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;&lt;a href=&quot;http://services.samples/xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://services.samples/xsd&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;ns:return
&lt;br&gt;&amp;gt; type=&amp;quot;samples.services.GetQuoteResponse&amp;quot;&amp;gt;&amp;lt;ns:change&amp;gt;-
&lt;br&gt;&amp;gt; 2.740026424743019&amp;lt;/ns:change&amp;gt;&amp;lt;ns:earnings&amp;gt;12.985968531667194&amp;lt;/ns:e
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; arnings&amp;gt;&amp;lt;ns:high&amp;gt;-
&lt;br&gt;&amp;gt; 99.59315516535092&amp;lt;/ns:high&amp;gt;&amp;lt;ns:last&amp;gt;99.61536938248533&amp;lt;/ns:last&amp;gt;&amp;lt;ns:last
&lt;br&gt;&amp;gt; TradeTimestamp&amp;gt;Wed Dec 16 16:50:55 CET 2009&amp;lt;/ns:lastTradeTimestamp&amp;gt;&amp;lt;ns:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; low&amp;gt;-
&lt;br&gt;&amp;gt; 97.2809218305695&amp;lt;/ns:low&amp;gt;&amp;lt;ns:marketCap&amp;gt;5.610176071955402E7&amp;lt;/ns:marketCa
&lt;br&gt;&amp;gt; p&amp;gt;&amp;lt;ns:name&amp;gt;IBM
&lt;br&gt;&amp;gt; Company&amp;lt;/ns:name&amp;gt;&amp;lt;ns:open&amp;gt;102.67366425811228&amp;lt;/ns:open&amp;gt;&amp;lt;ns:peRatio&amp;gt;23.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 97205777063296&amp;lt;/ns:peRatio&amp;gt;&amp;lt;ns:percentageChange&amp;gt;-
&lt;br&gt;&amp;gt; 2.4133990851988454&amp;lt;/ns:percentageChange&amp;gt;&amp;lt;ns:prevClose&amp;gt;113.5339132904851
&lt;br&gt;&amp;gt; 5&amp;lt;/ns:prevClose&amp;gt;&amp;lt;ns:symbol&amp;gt;IBM&amp;lt;/ns:symbo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; l&amp;gt;&amp;lt;ns:volume&amp;gt;15275&amp;lt;/ns:volume&amp;gt;&amp;lt;/ns:return&amp;gt;&amp;lt;/ns:getQuoteResponse&amp;gt;&amp;lt;/soape
&lt;br&gt;&amp;gt; nv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009-12-16 16:50:55,842 [192.168.2.1-Fat-Core2Duo] [I/O dispatcher 7]
&lt;br&gt;&amp;gt; ERROR ServerHandler I/O error: &amp;nbsp;An existing connection was closed by
&lt;br&gt;&amp;gt; the remote host (translated)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ______________________________________________________________
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Client console output:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; C:\Program Files\Apache Software Foundation\synapse-
&lt;br&gt;&amp;gt; 1.2\samples\axis2Client&amp;gt;ant stockquote -
&lt;br&gt;&amp;gt; Daddurl=&lt;a href=&quot;http://localhost:9000/soap/SimpleStockQuoteService&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9000/soap/SimpleStockQuoteService&lt;/a&gt;&amp;nbsp;-Dtrpurl=
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:8280&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8280&lt;/a&gt;&amp;nbsp;-Dmode=quote -Dsymbol=IBM
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Buildfile: build.xml
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; init:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; compile:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; stockquote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;[java] 2009-12-16 16:50:54,805 [-] [main] &amp;nbsp;INFO
&lt;br&gt;&amp;gt; MailTransportSender MAILTO Sender started
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;[java] 2009-12-16 16:50:54,824 [-] [main] &amp;nbsp;INFO JMSSender JMS
&lt;br&gt;&amp;gt; Sender started
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;[java] Standard :: Stock price = $99.61536938248533
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BUILD SUCCESSFUL
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Total time: 2 seconds
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ________________________________________________________________
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; according to the tutorial the output should be like in this link:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://synapse.apache.org/Synapse_QuickStart.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_QuickStart.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm running jdk 1.6 on Windows 7 with deactivated UAC, and temporaly
&lt;br&gt;&amp;gt; deactivated windows firewall trying to solve this error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any advise or information about this error would be appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thuy
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sample-0-connection-Error-tp26814714p26814825.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26814794</id>
	<title>Re: Sample 0 connection Error</title>
	<published>2009-12-16T09:12:06Z</published>
	<updated>2009-12-16T09:12:06Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi Thuy
&lt;br&gt;&lt;br&gt;Please subscribe to the user list to post, as else your mails go into
&lt;br&gt;moderation
&lt;br&gt;&amp;gt; I have just installed and &amp;nbsp;tried the sample 0 application of Synapse. It seems to work somehow, but there is still an error message in the Synapse console output saying &amp;quot;An existing connection was closed by the remote host&amp;quot; (translated from german). &amp;nbsp;On both sides, server and client, everything seems to be ok, it's just synapse.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 2009-12-16 16:50:55,842 [192.168.2.1-Fat-Core2Duo] [I/O dispatcher 7] ERROR ServerHandler I/O error: &amp;nbsp;An existing connection was closed by the remote host (translated)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Are you trying this out on Windows? This most probably is a harmless
&lt;br&gt;connection close when the application wanted to keep the socket alive..
&lt;br&gt;Do not worry about it
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sample-0-connection-Error-tp26814714p26814794.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26814714</id>
	<title>Sample 0 connection Error</title>
	<published>2009-12-16T08:12:57Z</published>
	<updated>2009-12-16T08:12:57Z</updated>
	<author>
		<name>fat_nonsense</name>
	</author>
	<content type="html">Hello, 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I have just installed and &amp;nbsp;tried the sample 0 application of Synapse. It seems to work somehow, but there is still an error message in the Synapse console output saying &amp;quot;An existing connection was closed by the remote host&amp;quot; (translated from german). &amp;nbsp;On both sides, server and client, everything seems to be ok, it's just synapse.
&lt;br&gt;&lt;br&gt;Here are the console outputs
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;____________________________________________________________________
&lt;br&gt;&lt;br&gt;Axis2 Server console output:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Wed Dec 16 16:50:55 CET 2009 samples.services.SimpleStockQuoteService :: Generating quote for : IBM
&lt;br&gt;&lt;br&gt;____________________________________________________________________
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Synapse console output:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;2009-12-16 16:50:55,143 [192.168.2.1-Fat-Core2Duo] [HttpServerWorker-1] &amp;nbsp;INFO LogMediator To: &lt;a href=&quot;http://localhost:9000/soap/SimpleStockQuoteService&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9000/soap/SimpleStockQuoteService&lt;/a&gt;, WSAction: urn:
&lt;br&gt;&lt;br&gt;getQuote, SOAPAction: urn:getQuote, ReplyTo: &lt;a href=&quot;http://www.w3.org/2005/08/addressing/anonymous&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a&gt;, MessageID: urn:uuid:2304C5A25C1B68873B1260978654900, Direction: req
&lt;br&gt;&lt;br&gt;uest, Envelope: &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&amp;lt;soapenv:Envelope xmlns:soapenv=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;soapenv:Header xmlns:wsa=&amp;quot;htt
&lt;br&gt;&lt;br&gt;p://www.w3.org/2005/08/addressing&amp;quot;&amp;gt;&amp;lt;wsa:To&amp;gt;&lt;a href=&quot;http://localhost:9000/soap/SimpleStockQuoteService&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9000/soap/SimpleStockQuoteService&lt;/a&gt;&amp;lt;/wsa:To&amp;gt;&amp;lt;wsa:MessageID&amp;gt;urn:uuid:2304C5A25C1B68873B1260978654900&amp;lt;/w
&lt;br&gt;&lt;br&gt;sa:MessageID&amp;gt;&amp;lt;wsa:Action&amp;gt;urn:getQuote&amp;lt;/wsa:Action&amp;gt;&amp;lt;/soapenv:Header&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;m0:getQuote xmlns:m0=&amp;quot;&lt;a href=&quot;http://services.samples/xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://services.samples/xsd&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;m0:request&amp;gt;&amp;lt;m0:symbol&amp;gt;IBM&amp;lt;
&lt;br&gt;&lt;br&gt;/m0:symbol&amp;gt;&amp;lt;/m0:request&amp;gt;&amp;lt;/m0:getQuote&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;
&lt;br&gt;&lt;br&gt;2009-12-16 16:50:55,159 [192.168.2.1-Fat-Core2Duo] [HttpServerWorker-1] &amp;nbsp;INFO TimeoutHandler This engine will expire all callbacks after : 86400 seconds, irresp
&lt;br&gt;&lt;br&gt;ective of the timeout action, after the specified or optional timeout
&lt;br&gt;&lt;br&gt;2009-12-16 16:50:55,205 [192.168.2.1-Fat-Core2Duo] [HttpClientWorker-1] &amp;nbsp;INFO LogMediator To: &lt;a href=&quot;http://www.w3.org/2005/08/addressing/anonymous&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a&gt;, WSAction: , SOAPAc
&lt;br&gt;&lt;br&gt;tion: , ReplyTo: &lt;a href=&quot;http://www.w3.org/2005/08/addressing/anonymous&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a&gt;, MessageID: urn:uuid:9253641FAB4022EBA1639719603782565-1091310631, Direction: response, Envelope
&lt;br&gt;&lt;br&gt;: &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&amp;lt;soapenv:Envelope xmlns:soapenv=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;ns:getQuoteResponse xmlns:ns=
&lt;br&gt;&lt;br&gt;&amp;quot;&lt;a href=&quot;http://services.samples/xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://services.samples/xsd&lt;/a&gt;&amp;quot;&amp;gt;&amp;lt;ns:return type=&amp;quot;samples.services.GetQuoteResponse&amp;quot;&amp;gt;&amp;lt;ns:change&amp;gt;-2.740026424743019&amp;lt;/ns:change&amp;gt;&amp;lt;ns:earnings&amp;gt;12.985968531667194&amp;lt;/ns:e
&lt;br&gt;&lt;br&gt;arnings&amp;gt;&amp;lt;ns:high&amp;gt;-99.59315516535092&amp;lt;/ns:high&amp;gt;&amp;lt;ns:last&amp;gt;99.61536938248533&amp;lt;/ns:last&amp;gt;&amp;lt;ns:lastTradeTimestamp&amp;gt;Wed Dec 16 16:50:55 CET 2009&amp;lt;/ns:lastTradeTimestamp&amp;gt;&amp;lt;ns:
&lt;br&gt;&lt;br&gt;low&amp;gt;-97.2809218305695&amp;lt;/ns:low&amp;gt;&amp;lt;ns:marketCap&amp;gt;5.610176071955402E7&amp;lt;/ns:marketCap&amp;gt;&amp;lt;ns:name&amp;gt;IBM Company&amp;lt;/ns:name&amp;gt;&amp;lt;ns:open&amp;gt;102.67366425811228&amp;lt;/ns:open&amp;gt;&amp;lt;ns:peRatio&amp;gt;23.
&lt;br&gt;&lt;br&gt;97205777063296&amp;lt;/ns:peRatio&amp;gt;&amp;lt;ns:percentageChange&amp;gt;-2.4133990851988454&amp;lt;/ns:percentageChange&amp;gt;&amp;lt;ns:prevClose&amp;gt;113.53391329048515&amp;lt;/ns:prevClose&amp;gt;&amp;lt;ns:symbol&amp;gt;IBM&amp;lt;/ns:symbo
&lt;br&gt;&lt;br&gt;l&amp;gt;&amp;lt;ns:volume&amp;gt;15275&amp;lt;/ns:volume&amp;gt;&amp;lt;/ns:return&amp;gt;&amp;lt;/ns:getQuoteResponse&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;
&lt;br&gt;&lt;br&gt;2009-12-16 16:50:55,842 [192.168.2.1-Fat-Core2Duo] [I/O dispatcher 7] ERROR ServerHandler I/O error: &amp;nbsp;An existing connection was closed by the remote host (translated)
&lt;br&gt;&lt;br&gt;______________________________________________________________
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Client console output:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;C:\Program Files\Apache Software Foundation\synapse-1.2\samples\axis2Client&amp;gt;ant stockquote -Daddurl=&lt;a href=&quot;http://localhost:9000/soap/SimpleStockQuoteService&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9000/soap/SimpleStockQuoteService&lt;/a&gt;&amp;nbsp;-Dtrpurl=
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://localhost:8280&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8280&lt;/a&gt;&amp;nbsp;-Dmode=quote -Dsymbol=IBM
&lt;br&gt;&lt;br&gt;Buildfile: build.xml
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;init:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;compile:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;stockquote:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[java] 2009-12-16 16:50:54,805 [-] [main] &amp;nbsp;INFO MailTransportSender MAILTO Sender started
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[java] 2009-12-16 16:50:54,824 [-] [main] &amp;nbsp;INFO JMSSender JMS Sender started
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[java] Standard :: Stock price = $99.61536938248533
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;BUILD SUCCESSFUL
&lt;br&gt;&lt;br&gt;Total time: 2 seconds
&lt;br&gt;&lt;br&gt;________________________________________________________________
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;according to the tutorial the output should be like in this link: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_QuickStart.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_QuickStart.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'm running jdk 1.6 on Windows 7 with deactivated UAC, and temporaly deactivated windows firewall trying to solve this error.
&lt;br&gt;&lt;br&gt;Any advise or information about this error would be appreciated.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thuy
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sample-0-connection-Error-tp26814714p26814714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26791882</id>
	<title>Re: publishing an RPC-encoded WSDL in Synapse</title>
	<published>2009-12-15T01:21:37Z</published>
	<updated>2009-12-15T01:21:37Z</updated>
	<author>
		<name>Ruwan Linton</name>
	</author>
	<content type="html">Nice to hear that you got it to work!
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ruwan
&lt;br&gt;&lt;br&gt;On Tue, Dec 15, 2009 at 10:16 AM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks a lot Ruwan! it worked.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Sabareeswar
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Ruwan Linton [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Monday, December 14, 2009 6:49 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: publishing an RPC-encoded WSDL in Synapse
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It has to be on the proxy level and please note the spelling of the
&lt;br&gt;&amp;gt; parameter name;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;send&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/send&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;send/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;publishWSDL
&lt;br&gt;&amp;gt; uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;parameter name=&amp;quot;useOriginalwsdl&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/proxy&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ruwan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 14, 2009 at 6:30 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks for replying Ruwan!
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I tried this out but still not getting the rpc wsdl as it is.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I tried it with both
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; And
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; under publishWSDL as..
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;definitions xmlns=&amp;quot;&lt;a href=&quot;http://ws.apache.org/ns/synapse&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ws.apache.org/ns/synapse&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;target&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inSequence&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;endpoint&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/endpoint&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/send&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inSequence&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outSequence&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outSequence&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/target&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;publishWSDL
&lt;br&gt;&amp;gt; &amp;gt; uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/publishWSDL&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/proxy&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/definitions&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sabareeswar
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; +91 80 668 82267
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: Ruwan Linton [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Sent: Friday, December 11, 2009 9:21 PM
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: publishing an RPC-encoded WSDL in Synapse
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Please use the parameter useOriginalWSDL as a parameter while creating
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; proxy.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Ruwan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Dec 9, 2009 at 2:31 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; My requirement is to use Synapse and a soap intermediary between a web
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; service which exposes a document-literal WSDL and a web service client
&lt;br&gt;&amp;gt; &amp;gt; which
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; has been generated out of an rpc-encoded WSDL.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; So I had planned to use the publishWSDL feature in Synapse to expose
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; rpc-encoded WSDL to the client and internally forward the soap message
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the document-literal web service (after necessary transformations).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The issue is that even if I point publishWSDL to an rpc-encoded WSDL,
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; resulting wsdl from synapse is document-literal.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Could someone please suggest me how to expose the rpc-encoded wsdl as
&lt;br&gt;&amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; is?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Regards,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Sabareeswar
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Ruwan Linton
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Ruwan Linton
&lt;br&gt;&amp;gt; Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;&amp;gt; WSO2 &amp;lt;&lt;a href=&quot;http://wso2.org/esb%0AWSO2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb%0AWSO2&lt;/a&gt;&amp;gt; Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;&amp;gt; blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ruwan Linton
&lt;br&gt;Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26791882&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26791882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26789441</id>
	<title>RE: publishing an RPC-encoded WSDL in Synapse</title>
	<published>2009-12-14T20:46:46Z</published>
	<updated>2009-12-14T20:46:46Z</updated>
	<author>
		<name>Sabareeswar P. B.</name>
	</author>
	<content type="html">Thanks a lot Ruwan! it worked.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sabareeswar
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Ruwan Linton [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, December 14, 2009 6:49 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: publishing an RPC-encoded WSDL in Synapse
&lt;br&gt;&lt;br&gt;It has to be on the proxy level and please note the spelling of the
&lt;br&gt;parameter name;
&lt;br&gt;&lt;br&gt;&amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/send&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;publishWSDL
&lt;br&gt;uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalwsdl&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/proxy&amp;gt;
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ruwan
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 14, 2009 at 6:30 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks for replying Ruwan!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried this out but still not getting the rpc wsdl as it is.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried it with both
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; under publishWSDL as..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;definitions xmlns=&amp;quot;&lt;a href=&quot;http://ws.apache.org/ns/synapse&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ws.apache.org/ns/synapse&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/send&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;publishWSDL
&lt;br&gt;&amp;gt; uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/publishWSDL&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/proxy&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/definitions&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sabareeswar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; +91 80 668 82267
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Ruwan Linton [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Friday, December 11, 2009 9:21 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: publishing an RPC-encoded WSDL in Synapse
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please use the parameter useOriginalWSDL as a parameter while creating the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; proxy.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ruwan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Dec 9, 2009 at 2:31 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; My requirement is to use Synapse and a soap intermediary between a web
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; service which exposes a document-literal WSDL and a web service client
&lt;br&gt;&amp;gt; which
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; has been generated out of an rpc-encoded WSDL.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So I had planned to use the publishWSDL feature in Synapse to expose the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; rpc-encoded WSDL to the client and internally forward the soap message to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; the document-literal web service (after necessary transformations).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The issue is that even if I point publishWSDL to an rpc-encoded WSDL, the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; resulting wsdl from synapse is document-literal.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Could someone please suggest me how to expose the rpc-encoded wsdl as it
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; is?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sabareeswar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ruwan Linton
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ruwan Linton
&lt;br&gt;Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26789441&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26789441.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26777602</id>
	<title>Re: publishing an RPC-encoded WSDL in Synapse</title>
	<published>2009-12-14T05:19:15Z</published>
	<updated>2009-12-14T05:19:15Z</updated>
	<author>
		<name>Ruwan Linton</name>
	</author>
	<content type="html">It has to be on the proxy level and please note the spelling of the
&lt;br&gt;parameter name;
&lt;br&gt;&lt;br&gt;&amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/send&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;publishWSDL
&lt;br&gt;uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalwsdl&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/proxy&amp;gt;
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ruwan
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 14, 2009 at 6:30 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777602&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks for replying Ruwan!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried this out but still not getting the rpc wsdl as it is.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried it with both
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; under publishWSDL as..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;definitions xmlns=&amp;quot;&lt;a href=&quot;http://ws.apache.org/ns/synapse&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ws.apache.org/ns/synapse&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/send&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;send/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outSequence&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;publishWSDL
&lt;br&gt;&amp;gt; uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/publishWSDL&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/proxy&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/definitions&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sabareeswar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; +91 80 668 82267
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Ruwan Linton [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777602&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Friday, December 11, 2009 9:21 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777602&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: publishing an RPC-encoded WSDL in Synapse
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please use the parameter useOriginalWSDL as a parameter while creating the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; proxy.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ruwan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Dec 9, 2009 at 2:31 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777602&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; My requirement is to use Synapse and a soap intermediary between a web
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; service which exposes a document-literal WSDL and a web service client
&lt;br&gt;&amp;gt; which
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; has been generated out of an rpc-encoded WSDL.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So I had planned to use the publishWSDL feature in Synapse to expose the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; rpc-encoded WSDL to the client and internally forward the soap message to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; the document-literal web service (after necessary transformations).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The issue is that even if I point publishWSDL to an rpc-encoded WSDL, the
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; resulting wsdl from synapse is document-literal.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Could someone please suggest me how to expose the rpc-encoded wsdl as it
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; is?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sabareeswar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ruwan Linton
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777602&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ruwan Linton
&lt;br&gt;Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777602&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26777602.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26777356</id>
	<title>RE: publishing an RPC-encoded WSDL in Synapse</title>
	<published>2009-12-14T05:00:00Z</published>
	<updated>2009-12-14T05:00:00Z</updated>
	<author>
		<name>Sabareeswar P. B.</name>
	</author>
	<content type="html">Thanks for replying Ruwan!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I tried this out but still not getting the rpc wsdl as it is.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I tried it with both
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;And
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;under publishWSDL as..
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;definitions xmlns=&amp;quot;&lt;a href=&quot;http://ws.apache.org/ns/synapse&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ws.apache.org/ns/synapse&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;proxy name=&amp;quot;Workflow&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;send&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://localhost:8080/workflow&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/workflow&lt;/a&gt;&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/send&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;send/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outSequence&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;publishWSDL uri=&amp;quot;file:repository/conf/sample/resources/proxy/rpc.wsdl&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot;&amp;gt;true&amp;lt;/parameter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/publishWSDL&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/proxy&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/definitions&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Sabareeswar
&lt;br&gt;&lt;br&gt;+91 80 668 82267
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Ruwan Linton [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777356&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;]
&lt;br&gt;Sent: Friday, December 11, 2009 9:21 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777356&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: publishing an RPC-encoded WSDL in Synapse
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Please use the parameter useOriginalWSDL as a parameter while creating the
&lt;br&gt;&lt;br&gt;proxy.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Ruwan
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Dec 9, 2009 at 2:31 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777356&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; My requirement is to use Synapse and a soap intermediary between a web
&lt;br&gt;&lt;br&gt;&amp;gt; service which exposes a document-literal WSDL and a web service client which
&lt;br&gt;&lt;br&gt;&amp;gt; has been generated out of an rpc-encoded WSDL.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; So I had planned to use the publishWSDL feature in Synapse to expose the
&lt;br&gt;&lt;br&gt;&amp;gt; rpc-encoded WSDL to the client and internally forward the soap message to
&lt;br&gt;&lt;br&gt;&amp;gt; the document-literal web service (after necessary transformations).
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; The issue is that even if I point publishWSDL to an rpc-encoded WSDL, the
&lt;br&gt;&lt;br&gt;&amp;gt; resulting wsdl from synapse is document-literal.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Could someone please suggest me how to expose the rpc-encoded wsdl as it
&lt;br&gt;&lt;br&gt;&amp;gt; is?
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&lt;br&gt;&amp;gt; Sabareeswar
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;Ruwan Linton
&lt;br&gt;&lt;br&gt;Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26777356&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;&lt;br&gt;blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26777356.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26746587</id>
	<title>Re: publishing an RPC-encoded WSDL in Synapse</title>
	<published>2009-12-11T07:50:48Z</published>
	<updated>2009-12-11T07:50:48Z</updated>
	<author>
		<name>Ruwan Linton</name>
	</author>
	<content type="html">Please use the parameter useOriginalWSDL as a parameter while creating the
&lt;br&gt;proxy.
&lt;br&gt;&lt;br&gt;&amp;lt;parameter name=&amp;quot;useOriginalWSDL&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ruwan
&lt;br&gt;&lt;br&gt;On Wed, Dec 9, 2009 at 2:31 PM, Sabareeswar P. B. &amp;lt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26746587&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sabareeswar_PB@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My requirement is to use Synapse and a soap intermediary between a web
&lt;br&gt;&amp;gt; service which exposes a document-literal WSDL and a web service client which
&lt;br&gt;&amp;gt; has been generated out of an rpc-encoded WSDL.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I had planned to use the publishWSDL feature in Synapse to expose the
&lt;br&gt;&amp;gt; rpc-encoded WSDL to the client and internally forward the soap message to
&lt;br&gt;&amp;gt; the document-literal web service (after necessary transformations).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The issue is that even if I point publishWSDL to an rpc-encoded WSDL, the
&lt;br&gt;&amp;gt; resulting wsdl from synapse is document-literal.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could someone please suggest me how to expose the rpc-encoded wsdl as it
&lt;br&gt;&amp;gt; is?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Sabareeswar
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ruwan Linton
&lt;br&gt;Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26746587&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26746587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26728616</id>
	<title>Re: Synapse as a connector to non-FIX engine</title>
	<published>2009-12-10T06:57:34Z</published>
	<updated>2009-12-10T06:57:34Z</updated>
	<author>
		<name>Asanka Abeysinghe</name>
	</author>
	<content type="html">Sorry wrong link , it should change as
&lt;br&gt;&lt;a href=&quot;http://people.apache.org/~veithen/transport/tcp-transport.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~veithen/transport/tcp-transport.html&lt;/a&gt;.
&lt;br&gt;- Asanka
&lt;br&gt;&lt;br&gt;2009/12/10 Asanka Abeysinghe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Pani,
&lt;br&gt;&amp;gt; I did point the AMQP and HTTP protocol bridging samples to get an idea for
&lt;br&gt;&amp;gt; you to start implementing your use-case , not trying to switch you to AMQP
&lt;br&gt;&amp;gt; :).
&lt;br&gt;&amp;gt; We don't have a sample that demonstrate the usage of TCP transport but you
&lt;br&gt;&amp;gt; can find information from the TCP transport guide [1], sample 380
&lt;br&gt;&amp;gt; demonstrate on writing custom mediators using Java.
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Asanka
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;http://people.apache.org/~veithen/transport/jms.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~veithen/transport/jms.html&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://people.apache.org/%7Eveithen/transport/jms.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/%7Eveithen/transport/jms.html&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Dec 10, 2009 at 3:41 PM, Phani Arava &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phani@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Asanka,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks &amp;nbsp;a lot for the reply. Well I have gone through the examples in the
&lt;br&gt;&amp;gt;&amp;gt; morning. Iam getting a fair idea on the same, but being an ignorant person
&lt;br&gt;&amp;gt;&amp;gt; on AMQP and from what i have read on the same AMQP is a wire protocol
&lt;br&gt;&amp;gt;&amp;gt; standard. I cannot be using AMQP/JMS because my provider is not complicant
&lt;br&gt;&amp;gt;&amp;gt; for the same. (Pardon my ignorance if any...)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Iam looking for a good example on TCP transport, with maybe bytebuffer /
&lt;br&gt;&amp;gt;&amp;gt; POJO example, it will be easier for java novices like me.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt; Phani
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Dec 10, 2009 at 3:15 PM, Asanka Abeysinghe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hi Phani,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; If I read you correctly you are need to send a FIX message coming from a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; FIX
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; endpoint to a endpoint that does not support FIX and accept messages
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; through
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; row TCP sockets.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Yes, you can do this by making a proxy service accept messages from
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; FIX-{version} by making the incoming transport as FIX and configure the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; proxy service to have TCP transport as outgoing.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Synapse converts the FIX message into a XML infoset internally so you
&lt;br&gt;&amp;gt;&amp;gt; might
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; have to do transformation to the XML payload in the case of your non FIX
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; endpoint accept messages on XML format. If your non FIX endpoint is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; requesting a non XML format then you have to do more work on writing a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; mediator/message formatter to do the formatting.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; There are two samples 259 (FIX to HTTP), 260 (FIX to AMQP/JMS) in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; synapse trunk and 1.3 branch (that you have to build or take from a
&lt;br&gt;&amp;gt;&amp;gt; nightly
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; build), those samples will explain on how to implement the pattern
&lt;br&gt;&amp;gt;&amp;gt; protocol
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; bridging with FIX.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Asanka
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Thu, Dec 10, 2009 at 8:29 AM, Phani Arava &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phani@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Hi All,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Iam pretty new to synapse (not exactly very good with Java..) trying
&lt;br&gt;&amp;gt;&amp;gt; out
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; my
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; hands with synapse. Till now succesful in running the sample_257.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Actually trying to connect a non-FIX exchange with synapse. The
&lt;br&gt;&amp;gt;&amp;gt; protocol
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; defined by this exchange is given to us (Plain old TCP sockets) . Can
&lt;br&gt;&amp;gt;&amp;gt; we
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; define an adapter for my app to connect to Synapse (for FIX) and
&lt;br&gt;&amp;gt;&amp;gt; synapse
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; connects to the exchange with the message protocol.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; How to go about this whole project. What more of java whould i be
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; exploring
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; before getting into synapse configurations ?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Phani
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Asanka Abeysinghe
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Architect - WSO2, Inc.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Asanka Abeysinghe
&lt;br&gt;&amp;gt; Architect - WSO2, Inc.
&lt;br&gt;&amp;gt; m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;&amp;gt; e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt; b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asanka Abeysinghe
&lt;br&gt;Architect - WSO2, Inc.
&lt;br&gt;m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728616&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-as-a-connector-to-non-FIX-engine-tp26721428p26728616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26728480</id>
	<title>Re: Synapse as a connector to non-FIX engine</title>
	<published>2009-12-10T06:50:32Z</published>
	<updated>2009-12-10T06:50:32Z</updated>
	<author>
		<name>Asanka Abeysinghe</name>
	</author>
	<content type="html">Hi Pani,
&lt;br&gt;I did point the AMQP and HTTP protocol bridging samples to get an idea for
&lt;br&gt;you to start implementing your use-case , not trying to switch you to AMQP
&lt;br&gt;:).
&lt;br&gt;We don't have a sample that demonstrate the usage of TCP transport but you
&lt;br&gt;can find information from the TCP transport guide [1], sample 380
&lt;br&gt;demonstrate on writing custom mediators using Java.
&lt;br&gt;Regards
&lt;br&gt;Asanka
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://people.apache.org/~veithen/transport/jms.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~veithen/transport/jms.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, Dec 10, 2009 at 3:41 PM, Phani Arava &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728480&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phani@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Asanka,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks &amp;nbsp;a lot for the reply. Well I have gone through the examples in the
&lt;br&gt;&amp;gt; morning. Iam getting a fair idea on the same, but being an ignorant person
&lt;br&gt;&amp;gt; on AMQP and from what i have read on the same AMQP is a wire protocol
&lt;br&gt;&amp;gt; standard. I cannot be using AMQP/JMS because my provider is not complicant
&lt;br&gt;&amp;gt; for the same. (Pardon my ignorance if any...)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam looking for a good example on TCP transport, with maybe bytebuffer /
&lt;br&gt;&amp;gt; POJO example, it will be easier for java novices like me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Phani
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Dec 10, 2009 at 3:15 PM, Asanka Abeysinghe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728480&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Phani,
&lt;br&gt;&amp;gt; &amp;gt; If I read you correctly you are need to send a FIX message coming from a
&lt;br&gt;&amp;gt; &amp;gt; FIX
&lt;br&gt;&amp;gt; &amp;gt; endpoint to a endpoint that does not support FIX and accept messages
&lt;br&gt;&amp;gt; &amp;gt; through
&lt;br&gt;&amp;gt; &amp;gt; row TCP sockets.
&lt;br&gt;&amp;gt; &amp;gt; Yes, you can do this by making a proxy service accept messages from
&lt;br&gt;&amp;gt; &amp;gt; FIX-{version} by making the incoming transport as FIX and configure the
&lt;br&gt;&amp;gt; &amp;gt; proxy service to have TCP transport as outgoing.
&lt;br&gt;&amp;gt; &amp;gt; Synapse converts the FIX message into a XML infoset internally so you
&lt;br&gt;&amp;gt; might
&lt;br&gt;&amp;gt; &amp;gt; have to do transformation to the XML payload in the case of your non FIX
&lt;br&gt;&amp;gt; &amp;gt; endpoint accept messages on XML format. If your non FIX endpoint is
&lt;br&gt;&amp;gt; &amp;gt; requesting a non XML format then you have to do more work on writing a
&lt;br&gt;&amp;gt; &amp;gt; mediator/message formatter to do the formatting.
&lt;br&gt;&amp;gt; &amp;gt; There are two samples 259 (FIX to HTTP), 260 (FIX to AMQP/JMS) in the
&lt;br&gt;&amp;gt; &amp;gt; synapse trunk and 1.3 branch (that you have to build or take from a
&lt;br&gt;&amp;gt; nightly
&lt;br&gt;&amp;gt; &amp;gt; build), those samples will explain on how to implement the pattern
&lt;br&gt;&amp;gt; protocol
&lt;br&gt;&amp;gt; &amp;gt; bridging with FIX.
&lt;br&gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt; Asanka
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Thu, Dec 10, 2009 at 8:29 AM, Phani Arava &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728480&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phani@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi All,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Iam pretty new to synapse (not exactly very good with Java..) trying
&lt;br&gt;&amp;gt; out
&lt;br&gt;&amp;gt; &amp;gt; my
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; hands with synapse. Till now succesful in running the sample_257.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Actually trying to connect a non-FIX exchange with synapse. The
&lt;br&gt;&amp;gt; protocol
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; defined by this exchange is given to us (Plain old TCP sockets) . Can
&lt;br&gt;&amp;gt; we
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; define an adapter for my app to connect to Synapse (for FIX) and
&lt;br&gt;&amp;gt; synapse
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; connects to the exchange with the message protocol.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; How to go about this whole project. What more of java whould i be
&lt;br&gt;&amp;gt; &amp;gt; exploring
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; before getting into synapse configurations ?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Phani
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Asanka Abeysinghe
&lt;br&gt;&amp;gt; &amp;gt; Architect - WSO2, Inc.
&lt;br&gt;&amp;gt; &amp;gt; m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;&amp;gt; &amp;gt; e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728480&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asanka Abeysinghe
&lt;br&gt;Architect - WSO2, Inc.
&lt;br&gt;m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26728480&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-as-a-connector-to-non-FIX-engine-tp26721428p26728480.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26724832</id>
	<title>Re: Synapse as a connector to non-FIX engine</title>
	<published>2009-12-10T02:11:32Z</published>
	<updated>2009-12-10T02:11:32Z</updated>
	<author>
		<name>Phani Arava</name>
	</author>
	<content type="html">Asanka,
&lt;br&gt;&lt;br&gt;Thanks &amp;nbsp;a lot for the reply. Well I have gone through the examples in the
&lt;br&gt;morning. Iam getting a fair idea on the same, but being an ignorant person
&lt;br&gt;on AMQP and from what i have read on the same AMQP is a wire protocol
&lt;br&gt;standard. I cannot be using AMQP/JMS because my provider is not complicant
&lt;br&gt;for the same. (Pardon my ignorance if any...)
&lt;br&gt;&lt;br&gt;Iam looking for a good example on TCP transport, with maybe bytebuffer /
&lt;br&gt;POJO example, it will be easier for java novices like me.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Phani
&lt;br&gt;&lt;br&gt;On Thu, Dec 10, 2009 at 3:15 PM, Asanka Abeysinghe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26724832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Phani,
&lt;br&gt;&amp;gt; If I read you correctly you are need to send a FIX message coming from a
&lt;br&gt;&amp;gt; FIX
&lt;br&gt;&amp;gt; endpoint to a endpoint that does not support FIX and accept messages
&lt;br&gt;&amp;gt; through
&lt;br&gt;&amp;gt; row TCP sockets.
&lt;br&gt;&amp;gt; Yes, you can do this by making a proxy service accept messages from
&lt;br&gt;&amp;gt; FIX-{version} by making the incoming transport as FIX and configure the
&lt;br&gt;&amp;gt; proxy service to have TCP transport as outgoing.
&lt;br&gt;&amp;gt; Synapse converts the FIX message into a XML infoset internally so you might
&lt;br&gt;&amp;gt; have to do transformation to the XML payload in the case of your non FIX
&lt;br&gt;&amp;gt; endpoint accept messages on XML format. If your non FIX endpoint is
&lt;br&gt;&amp;gt; requesting a non XML format then you have to do more work on writing a
&lt;br&gt;&amp;gt; mediator/message formatter to do the formatting.
&lt;br&gt;&amp;gt; There are two samples 259 (FIX to HTTP), 260 (FIX to AMQP/JMS) in the
&lt;br&gt;&amp;gt; synapse trunk and 1.3 branch (that you have to build or take from a nightly
&lt;br&gt;&amp;gt; build), those samples will explain on how to implement the pattern protocol
&lt;br&gt;&amp;gt; bridging with FIX.
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Asanka
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Dec 10, 2009 at 8:29 AM, Phani Arava &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26724832&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phani@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi All,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Iam pretty new to synapse (not exactly very good with Java..) trying out
&lt;br&gt;&amp;gt; my
&lt;br&gt;&amp;gt; &amp;gt; hands with synapse. Till now succesful in running the sample_257.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Actually trying to connect a non-FIX exchange with synapse. The protocol
&lt;br&gt;&amp;gt; &amp;gt; defined by this exchange is given to us (Plain old TCP sockets) . Can we
&lt;br&gt;&amp;gt; &amp;gt; define an adapter for my app to connect to Synapse (for FIX) and synapse
&lt;br&gt;&amp;gt; &amp;gt; connects to the exchange with the message protocol.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; How to go about this whole project. What more of java whould i be
&lt;br&gt;&amp;gt; exploring
&lt;br&gt;&amp;gt; &amp;gt; before getting into synapse configurations ?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt; Phani
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Asanka Abeysinghe
&lt;br&gt;&amp;gt; Architect - WSO2, Inc.
&lt;br&gt;&amp;gt; m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;&amp;gt; e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26724832&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt; b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-as-a-connector-to-non-FIX-engine-tp26721428p26724832.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26724465</id>
	<title>Re: Synapse as a connector to non-FIX engine</title>
	<published>2009-12-10T01:45:27Z</published>
	<updated>2009-12-10T01:45:27Z</updated>
	<author>
		<name>Asanka Abeysinghe</name>
	</author>
	<content type="html">Hi Phani,
&lt;br&gt;If I read you correctly you are need to send a FIX message coming from a FIX
&lt;br&gt;endpoint to a endpoint that does not support FIX and accept messages through
&lt;br&gt;row TCP sockets.
&lt;br&gt;Yes, you can do this by making a proxy service accept messages from
&lt;br&gt;FIX-{version} by making the incoming transport as FIX and configure the
&lt;br&gt;proxy service to have TCP transport as outgoing.
&lt;br&gt;Synapse converts the FIX message into a XML infoset internally so you might
&lt;br&gt;have to do transformation to the XML payload in the case of your non FIX
&lt;br&gt;endpoint accept messages on XML format. If your non FIX endpoint is
&lt;br&gt;requesting a non XML format then you have to do more work on writing a
&lt;br&gt;mediator/message formatter to do the formatting.
&lt;br&gt;There are two samples 259 (FIX to HTTP), 260 (FIX to AMQP/JMS) in the
&lt;br&gt;synapse trunk and 1.3 branch (that you have to build or take from a nightly
&lt;br&gt;build), those samples will explain on how to implement the pattern protocol
&lt;br&gt;bridging with FIX.
&lt;br&gt;Regards
&lt;br&gt;Asanka
&lt;br&gt;&lt;br&gt;On Thu, Dec 10, 2009 at 8:29 AM, Phani Arava &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26724465&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phani@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iam pretty new to synapse (not exactly very good with Java..) trying out my
&lt;br&gt;&amp;gt; hands with synapse. Till now succesful in running the sample_257.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Actually trying to connect a non-FIX exchange with synapse. The protocol
&lt;br&gt;&amp;gt; defined by this exchange is given to us (Plain old TCP sockets) . Can we
&lt;br&gt;&amp;gt; define an adapter for my app to connect to Synapse (for FIX) and synapse
&lt;br&gt;&amp;gt; connects to the exchange with the message protocol.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How to go about this whole project. What more of java whould i be exploring
&lt;br&gt;&amp;gt; before getting into synapse configurations ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Phani
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asanka Abeysinghe
&lt;br&gt;Architect - WSO2, Inc.
&lt;br&gt;m: +94 77 7340064 &amp;nbsp; &amp;nbsp; &amp;nbsp;p: +94 11 2688451/3
&lt;br&gt;e: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26724465&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankaa@...&lt;/a&gt; w: &lt;a href=&quot;http://www.wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.com&lt;/a&gt;&lt;br&gt;b: &lt;a href=&quot;http://www.asankama.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.asankama.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-as-a-connector-to-non-FIX-engine-tp26721428p26724465.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26721428</id>
	<title>Synapse as a connector to non-FIX engine</title>
	<published>2009-12-09T18:59:00Z</published>
	<updated>2009-12-09T18:59:00Z</updated>
	<author>
		<name>Phani Arava</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;Iam pretty new to synapse (not exactly very good with Java..) trying out my
&lt;br&gt;hands with synapse. Till now succesful in running the sample_257.
&lt;br&gt;&lt;br&gt;Actually trying to connect a non-FIX exchange with synapse. The protocol
&lt;br&gt;defined by this exchange is given to us (Plain old TCP sockets) . Can we
&lt;br&gt;define an adapter for my app to connect to Synapse (for FIX) and synapse
&lt;br&gt;connects to the exchange with the message protocol.
&lt;br&gt;&lt;br&gt;How to go about this whole project. What more of java whould i be exploring
&lt;br&gt;before getting into synapse configurations ?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Phani
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-as-a-connector-to-non-FIX-engine-tp26721428p26721428.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26707071</id>
	<title>publishing an RPC-encoded WSDL in Synapse</title>
	<published>2009-12-09T01:01:44Z</published>
	<updated>2009-12-09T01:01:44Z</updated>
	<author>
		<name>Sabareeswar P. B.</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;My requirement is to use Synapse and a soap intermediary between a web service which exposes a document-literal WSDL and a web service client which has been generated out of an rpc-encoded WSDL.
&lt;br&gt;&lt;br&gt;So I had planned to use the publishWSDL feature in Synapse to expose the rpc-encoded WSDL to the client and internally forward the soap message to the document-literal web service (after necessary transformations).
&lt;br&gt;&lt;br&gt;The issue is that even if I point publishWSDL to an rpc-encoded WSDL, the resulting wsdl from synapse is document-literal.
&lt;br&gt;&lt;br&gt;Could someone please suggest me how to expose the rpc-encoded wsdl as it is?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sabareeswar
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26707071.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26611024</id>
	<title>RE: Select endpoint based on header information</title>
	<published>2009-12-02T07:42:42Z</published>
	<updated>2009-12-02T07:42:42Z</updated>
	<author>
		<name>Scott Hoggarth-2</name>
	</author>
	<content type="html">You can use the filter and send mediators to accomplish this.
&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Configuration_Language.html#filter&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Configuration_Language.html#filter&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Configuration_Language.html#send&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Configuration_Language.html#send&lt;/a&gt;&lt;br&gt;&lt;br&gt;Synapse defines the header variable to get at the SOAP header with
&lt;br&gt;xpath.
&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Configuration_Language.html#property&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Configuration_Language.html#property&lt;/a&gt;&lt;br&gt;&lt;br&gt;Here is a sample.
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;definitions xmlns=&amp;quot;&lt;a href=&quot;http://ws.apache.org/ns/synapse&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ws.apache.org/ns/synapse&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;in&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter xpath=&amp;quot;$header/foo&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;send&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;address uri=&amp;quot;&lt;a href=&quot;http://foo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://foo&lt;/a&gt;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/endpoint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/send&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter 
&lt;br&gt;&amp;nbsp; &amp;lt;/in&amp;gt;
&lt;br&gt;&amp;lt;/definitions&amp;gt;
&lt;br&gt;&lt;br&gt;You should check out the samples 1 and 2.
&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Samples.html#Sample1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Samples.html#Sample1&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Samples.html#Sample2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Samples.html#Sample2&lt;/a&gt;&lt;br&gt;&lt;br&gt;Good luck!
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Massimo Cancellara [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;massimo@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, December 02, 2009 6:23 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611024&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Select endpoint based on header information
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I'm new to Synapse and I'm trying to understand if it can fit my
&lt;br&gt;scenario.
&lt;br&gt;&lt;br&gt;Is it possible for a mediator to set the endpoint basing on informations
&lt;br&gt;in an ad-hoc header? If yes, how (just a suggestion on where to look at)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks, regards
&lt;br&gt;&lt;br&gt;Massimo
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Select-endpoint-based-on-header-information-tp26608097p26611024.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26608097</id>
	<title>Select endpoint based on header information</title>
	<published>2009-12-02T04:22:54Z</published>
	<updated>2009-12-02T04:22:54Z</updated>
	<author>
		<name>Massimo Cancellara</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm new to Synapse and I'm trying to understand if it can fit my scenario.
&lt;br&gt;&lt;br&gt;Is it possible for a mediator to set the endpoint basing on informations in an ad-hoc header? If yes, how (just a suggestion on where to look at) 
&lt;br&gt;&lt;br&gt;Thanks, regards
&lt;br&gt;&lt;br&gt;Massimo</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Select-endpoint-based-on-header-information-tp26608097p26608097.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493980</id>
	<title>RE: Synapse 1.3: REST help (PUT/DELETE)</title>
	<published>2009-11-24T02:59:29Z</published>
	<updated>2009-11-24T02:59:29Z</updated>
	<author>
		<name>james.carnegie</name>
	</author>
	<content type="html">Hi Asankha,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; We're looking at using Apache Synapse as a mocking framework for some
&lt;br&gt;&amp;gt; REST services.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;From looking at JIRA, it seems that the PUT/DELETE methods are now
&lt;br&gt;&amp;gt; supported in the 1.3 branch, which I have checked out and built.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Does anybody have any experience using these new methods, or are few
&lt;br&gt;&amp;gt; people using them as yet? It's just that it is unclear how the
&lt;br&gt;&amp;gt; configuration language would support them, and the documentation and
&lt;br&gt;&amp;gt; examples have not yet been updated in this branch (understandable so of
&lt;br&gt;&amp;gt; course).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Any guidance would be appreciated.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; The support implemented gives the ability to Synapse to mediate REST
&lt;br&gt;&amp;gt; service calls. I am not sure I fully understand your expectations as a
&lt;br&gt;&amp;gt; mocking framework.. if you could share a sample use-case I can easily
&lt;br&gt;&amp;gt; let you know if its possible, and how. If you need to share any
&lt;br&gt;&amp;gt; confidential code/samples, you could mail them directly to me
&lt;/div&gt;&lt;br&gt;Thanks for the quick reply. We're looking at using Synapse to mock RESTful services; that is, to simulate real services to help with Continuous Integration of consumers of these services when they are down, changing etc. So similar to what IBM are doing here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/edu/ws-dw-ws-synapse.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ibm.com/developerworks/edu/ws-dw-ws-synapse.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;but with REST/POX only. The services we wish to simulate make heavy use of HTTP stuff, such as PUT/DELETE, common headers, HTTP basic authentication, and the like. 
&lt;br&gt;&lt;br&gt;So in general, out solution would have to consume HTTP requests (POST/GET/PUT/DELETE), and if appropriate, return an XML response based on transformations of the request headers, request data and perhaps files and other data sources etc. The XML requests/responses are defined by XML schemata, without the use of WADL.
&lt;br&gt;&lt;br&gt;Do you think Synapse 1.3 (given aside that it's unreleased), would be able to handle this task? If not, how far is our use case away from what Synapse REST support is heading? If so, I would consider it a _major_ selling point (as it were) for Synapse since we have found nothing, either commercial or otherwise, that does REST mocking/simulation. The SOAPUI folk have some rudimentary REST mocking support, but they only support returning canned responses from static files. They do have some plans in this area I am told however.
&lt;br&gt;&lt;br&gt;If Synapse is not far from what we need, is there any scope for us to contribute (in some way) to help this along?
&lt;br&gt;&lt;br&gt;Kind regards,
&lt;br&gt;&lt;br&gt;James.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-1.3%3A-REST-help-%28PUT-DELETE%29-tp26493533p26493980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493687</id>
	<title>Re: Synapse 1.3: REST help (PUT/DELETE)</title>
	<published>2009-11-24T02:37:22Z</published>
	<updated>2009-11-24T02:37:22Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi James
&lt;br&gt;&amp;gt; We're looking at using Apache Synapse as a mocking framework for some REST services.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;From looking at JIRA, it seems that the PUT/DELETE methods are now supported in the 1.3 branch, which I have checked out and built.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does anybody have any experience using these new methods, or are few people using them as yet? It's just that it is unclear how the configuration language would support them, and the documentation and examples have not yet been updated in this branch (understandable so of course).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any guidance would be appreciated.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;The support implemented gives the ability to Synapse to mediate REST
&lt;br&gt;service calls. I am not sure I fully understand your expectations as a
&lt;br&gt;mocking framework.. if you could share a sample use-case I can easily
&lt;br&gt;let you know if its possible, and how. If you need to share any
&lt;br&gt;confidential code/samples, you could mail them directly to me
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-1.3%3A-REST-help-%28PUT-DELETE%29-tp26493533p26493687.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493533</id>
	<title>Synapse 1.3: REST help (PUT/DELETE)</title>
	<published>2009-11-24T02:21:42Z</published>
	<updated>2009-11-24T02:21:42Z</updated>
	<author>
		<name>james.carnegie</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;We're looking at using Apache Synapse as a mocking framework for some REST services.
&lt;br&gt;&lt;br&gt;From looking at JIRA, it seems that the PUT/DELETE methods are now supported in the 1.3 branch, which I have checked out and built.
&lt;br&gt;&lt;br&gt;Does anybody have any experience using these new methods, or are few people using them as yet? It's just that it is unclear how the configuration language would support them, and the documentation and examples have not yet been updated in this branch (understandable so of course).
&lt;br&gt;&lt;br&gt;Any guidance would be appreciated.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;James Carnegie
&lt;br&gt;Nokia UK Limited
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-1.3%3A-REST-help-%28PUT-DELETE%29-tp26493533p26493533.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26337055</id>
	<title>Synapse 1.3-SNAPSHOT nightly builds</title>
	<published>2009-11-13T06:02:51Z</published>
	<updated>2009-11-13T06:02:51Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi All
&lt;br&gt;&lt;br&gt;I've configured a Synapse 1.3-SNAPSHOT build in Hudson, and builds will
&lt;br&gt;be available from:
&lt;br&gt;&lt;a href=&quot;http://hudson.zones.apache.org/hudson/view/All/job/Synapse%20-%201.3%20-%20SNAPSHOT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hudson.zones.apache.org/hudson/view/All/job/Synapse%20-%201.3%20-%20SNAPSHOT/&lt;/a&gt;&lt;br&gt;&lt;br&gt;The last successful build will be available at:
&lt;br&gt;&lt;a href=&quot;http://hudson.zones.apache.org/hudson/view/All/job/Synapse%20-%201.3%20-%20SNAPSHOT/lastSuccessfulBuild/org.apache.synapse$synapse-distribution/artifact/org.apache.synapse/synapse-distribution/1.3.0-SNAPSHOT/synapse-1.3.0-SNAPSHOT-bin.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hudson.zones.apache.org/hudson/view/All/job/Synapse%20-%201.3%20-%20SNAPSHOT/lastSuccessfulBuild/org.apache.synapse$synapse-distribution/artifact/org.apache.synapse/synapse-distribution/1.3.0-SNAPSHOT/synapse-1.3.0-SNAPSHOT-bin.zip&lt;/a&gt;&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Synapse-1.3-SNAPSHOT-nightly-builds-tp26337055p26337055.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26324546</id>
	<title>Re: java.io.IOException: Too many open files</title>
	<published>2009-11-12T11:07:25Z</published>
	<updated>2009-11-12T11:07:25Z</updated>
	<author>
		<name>Afkham Azeez</name>
	</author>
	<content type="html">Those are settings in the /etc/sysctl.conf and /etc/security/limits.conf
&lt;br&gt;files respectively.
&lt;br&gt;&lt;br&gt;Alternatively, you can try to do, ulimit -n 4096, before starting your
&lt;br&gt;Synapse server. However, that option may not work on some systems.
&lt;br&gt;&lt;br&gt;Azeez
&lt;br&gt;&lt;br&gt;On Thu, Nov 12, 2009 at 6:01 PM, Khaled Farj &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324546&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;k.a.s.farj@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi asankha,
&lt;br&gt;&amp;gt; About the testing, that's exactly what my work is about, I am testing web
&lt;br&gt;&amp;gt; service apps.
&lt;br&gt;&amp;gt; However I could not figure out what you mean about these values and where I
&lt;br&gt;&amp;gt; can find these values ..?.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt; khaled
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;-----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt;From: Asankha Perera [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324546&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankha.apache@...&lt;/a&gt;] On
&lt;br&gt;&amp;gt; &amp;gt;Behalf Of Asankha C. Perera
&lt;br&gt;&amp;gt; &amp;gt;Sent: 12 November 2009 17:46
&lt;br&gt;&amp;gt; &amp;gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324546&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;Subject: Re: java.io.IOException: Too many open files
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Hi Khaled
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks asankha, I have done what you said and I changed to
&lt;br&gt;&amp;gt; &amp;gt;Synapse-1.2, evrything works well until the request number
&lt;br&gt;&amp;gt; &amp;gt;(1680) !! And almost the same Exception is thrown again.. ?.
&lt;br&gt;&amp;gt; &amp;gt;My work is for sending 3000 requests to Synapse which in turn
&lt;br&gt;&amp;gt; &amp;gt;sends them to the actual Web Service applications.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Any help, please?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Do you have the following set? .. I usually set those for load testing.
&lt;br&gt;&amp;gt; &amp;gt;See [&lt;a href=&quot;http://wso2.org/library/3740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/library/3740&lt;/a&gt;&amp;nbsp;etc]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;/etc/sysctl.conf
&lt;br&gt;&amp;gt; &amp;gt;net.ipv4.ip_local_port_range = 1024 65535
&lt;br&gt;&amp;gt; &amp;gt;net.ipv4.tcp_fin_timeout = 30 fs.file-max = 2097152
&lt;br&gt;&amp;gt; &amp;gt;net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_tw_reuse = 1
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;/etc/security/limits.conf
&lt;br&gt;&amp;gt; &amp;gt;* soft nofile 4096
&lt;br&gt;&amp;gt; &amp;gt;* hard nofile 65535
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;cheers
&lt;br&gt;&amp;gt; &amp;gt;asankha
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;--
&lt;br&gt;&amp;gt; &amp;gt;Asankha C. Perera
&lt;br&gt;&amp;gt; &amp;gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thanks
&lt;br&gt;Afkham Azeez
&lt;br&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://afkham.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://afkham.org&lt;/a&gt;&lt;br&gt;Developer Portal: &lt;a href=&quot;http://www.wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wso2.org&lt;/a&gt;&lt;br&gt;WSAS Blog: &lt;a href=&quot;http://wso2wsas.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2wsas.blogspot.com&lt;/a&gt;&lt;br&gt;Company: &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;GPG Fingerprint: 643F C2AF EB78 F886 40C9 &amp;nbsp;B2A2 4AE2 C887 665E 0760
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.io.IOException%3A-Too-many-open-files-tp26311089p26324546.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323376</id>
	<title>RE: java.io.IOException: Too many open files</title>
	<published>2009-11-12T10:01:06Z</published>
	<updated>2009-11-12T10:01:06Z</updated>
	<author>
		<name>Khaled Farj</name>
	</author>
	<content type="html">Hi asankha,
&lt;br&gt;About the testing, that's exactly what my work is about, I am testing web service apps. 
&lt;br&gt;However I could not figure out what you mean about these values and where I can find these values ..?. 
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;khaled
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;-----Original Message-----
&lt;br&gt;&amp;gt;From: Asankha Perera [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankha.apache@...&lt;/a&gt;] On 
&lt;br&gt;&amp;gt;Behalf Of Asankha C. Perera
&lt;br&gt;&amp;gt;Sent: 12 November 2009 17:46
&lt;br&gt;&amp;gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323376&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;Subject: Re: java.io.IOException: Too many open files
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi Khaled
&lt;br&gt;&amp;gt;&amp;gt; Thanks asankha, I have done what you said and I changed to 
&lt;br&gt;&amp;gt;Synapse-1.2, evrything works well until the request number 
&lt;br&gt;&amp;gt;(1680) !! And almost the same Exception is thrown again.. ?. 
&lt;br&gt;&amp;gt;My work is for sending 3000 requests to Synapse which in turn 
&lt;br&gt;&amp;gt;sends them to the actual Web Service applications.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help, please?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;Do you have the following set? .. I usually set those for load testing.
&lt;br&gt;&amp;gt;See [&lt;a href=&quot;http://wso2.org/library/3740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/library/3740&lt;/a&gt;&amp;nbsp;etc]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;/etc/sysctl.conf
&lt;br&gt;&amp;gt;net.ipv4.ip_local_port_range = 1024 65535 
&lt;br&gt;&amp;gt;net.ipv4.tcp_fin_timeout = 30 fs.file-max = 2097152 
&lt;br&gt;&amp;gt;net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_tw_reuse = 1 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;/etc/security/limits.conf
&lt;br&gt;&amp;gt;* soft nofile 4096
&lt;br&gt;&amp;gt;* hard nofile 65535
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;cheers
&lt;br&gt;&amp;gt;asankha
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;--
&lt;br&gt;&amp;gt;Asankha C. Perera
&lt;br&gt;&amp;gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.io.IOException%3A-Too-many-open-files-tp26311089p26323376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323125</id>
	<title>Re: java.io.IOException: Too many open files</title>
	<published>2009-11-12T09:45:50Z</published>
	<updated>2009-11-12T09:45:50Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi Khaled
&lt;br&gt;&amp;gt; Thanks asankha, I have done what you said and I changed to Synapse-1.2, evrything works well until the request number (1680) !! And almost the same Exception is thrown again.. ?. My work is for sending 3000 requests to Synapse which in turn sends them to the actual Web Service applications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help, please?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Do you have the following set? .. I usually set those for load testing.
&lt;br&gt;See [&lt;a href=&quot;http://wso2.org/library/3740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/library/3740&lt;/a&gt;&amp;nbsp;etc]
&lt;br&gt;&lt;br&gt;/etc/sysctl.conf 
&lt;br&gt;net.ipv4.ip_local_port_range = 1024 65535 
&lt;br&gt;net.ipv4.tcp_fin_timeout = 30 
&lt;br&gt;fs.file-max = 2097152 
&lt;br&gt;net.ipv4.tcp_tw_recycle = 1 
&lt;br&gt;net.ipv4.tcp_tw_reuse = 1 
&lt;br&gt;&lt;br&gt;/etc/security/limits.conf 
&lt;br&gt;* soft nofile 4096 
&lt;br&gt;* hard nofile 65535
&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.io.IOException%3A-Too-many-open-files-tp26311089p26323125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323005</id>
	<title>RE: java.io.IOException: Too many open files</title>
	<published>2009-11-12T09:39:59Z</published>
	<updated>2009-11-12T09:39:59Z</updated>
	<author>
		<name>Khaled Farj</name>
	</author>
	<content type="html">Hi again,
&lt;br&gt;&lt;br&gt;Thanks asankha, I have done what you said and I changed to Synapse-1.2, evrything works well until the request number (1680) !! And almost the same Exception is thrown again.. ?. My work is for sending 3000 requests to Synapse which in turn sends them to the actual Web Service applications.
&lt;br&gt;&lt;br&gt;Any help, please?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009-11-12 17:28:14,653 [10.8.147.11-localhost] [HttpServerWorker-7] ERROR ServerWorker Error getting ip address for ?wsdl output
&lt;br&gt;java.net.SocketException: Too many open files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.NetworkInterface.getAll(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:204)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerWorker.getIpAddress(ServerWorker.java:540)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerWorker.processGet(ServerWorker.java:341)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:192)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;2009-11-12 17:28:14,796 [10.8.147.11-cage03.ncl.ac.uk] [HttpServerWorker-7] ERROR ServerHandler Unexpected HTTP protocol error : Transfer-encoding header already present
&lt;br&gt;org.apache.http.ProtocolException: Transfer-encoding header already present
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.protocol.ResponseContent.process(ResponseContent.java:67)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.protocol.BasicHttpProcessor.process(BasicHttpProcessor.java:304)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerHandler.commitResponse(ServerHandler.java:212)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.sendAsyncResponse(HttpCoreNIOSender.java:409)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:264)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerWorker.handleException(ServerWorker.java:489)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerWorker.processGet(ServerWorker.java:347)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:192)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Khaled
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;-----Original Message-----
&lt;br&gt;&amp;gt;From: Asankha Perera [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323005&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankha.apache@...&lt;/a&gt;] On 
&lt;br&gt;&amp;gt;Behalf Of Asankha C. Perera
&lt;br&gt;&amp;gt;Sent: 12 November 2009 01:47
&lt;br&gt;&amp;gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323005&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;Subject: Re: java.io.IOException: Too many open files
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi Khaled
&lt;br&gt;&amp;gt;&amp;gt; I am using Synapse-1.1.1 but I have got the error stated below:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;You could try increasing file limits if under a Linux environment etc..
&lt;br&gt;&amp;gt;however, I would strongly suggest you upgrade to 1.2, in which 
&lt;br&gt;&amp;gt;we have removed the usage of pipes altogether with a much 
&lt;br&gt;&amp;gt;better implementation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;cheers
&lt;br&gt;&amp;gt;asankha
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;--
&lt;br&gt;&amp;gt;Asankha C. Perera
&lt;br&gt;&amp;gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.io.IOException%3A-Too-many-open-files-tp26311089p26323005.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26312080</id>
	<title>Re: java.io.IOException: Too many open files</title>
	<published>2009-11-11T17:46:40Z</published>
	<updated>2009-11-11T17:46:40Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi Khaled
&lt;br&gt;&amp;gt; I am using Synapse-1.1.1 but I have got the error stated below:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;You could try increasing file limits if under a Linux environment etc..
&lt;br&gt;however, I would strongly suggest you upgrade to 1.2, in which we have
&lt;br&gt;removed the usage of pipes altogether with a much better implementation
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.io.IOException%3A-Too-many-open-files-tp26311089p26312080.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26311089</id>
	<title>java.io.IOException: Too many open files</title>
	<published>2009-11-11T15:57:53Z</published>
	<updated>2009-11-11T15:57:53Z</updated>
	<author>
		<name>Khaled Farj</name>
	</author>
	<content type="html">Hi guys,
&lt;br&gt;&lt;br&gt;I am using Synapse-1.1.1 but I have got the error stated below:
&lt;br&gt;&lt;br&gt;What I am using Synapse is as follows: 
&lt;br&gt;&lt;br&gt;I have published three proxies in synapse that are Service1, Service2 and Service3. and I have a client which its job is sending three requests to the Synapse - a request for each proxy Service deployed in Synapse (Service1, Service2 and Service3) - my client sends three requests each time and then synapse forwards each request to the actual service and then receives the responses then forward them to the client. Everything works fine at this point, however when the client sends more than 300 request the below exception is thrown in Synapse.. !. I wander if that has something to do with Synapse pool threads OR what ???? 
&lt;br&gt;Can anybody tell me what is going on please?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;2009-11-11 18:18:46,385 [10.8.147.11-localhost] [I/O dispatcher 8] ERROR ServerHandler Error processing request received for : /soap/Service3?wsdl
&lt;br&gt;java.io.IOException: Too many open files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.nio.ch.IOUtil.initPipe(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.nio.ch.PipeImpl.&amp;lt;init&amp;gt;(PipeImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.nio.channels.Pipe.open(Pipe.java:133)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.util.PipeImpl.&amp;lt;init&amp;gt;(PipeImpl.java:77)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerHandler.requestReceived(ServerHandler.java:118)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.LoggingNHttpServiceHandler.requestReceived(LoggingNHttpServiceHandler.java:92)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:123)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.PlainServerIOEventDispatch.inputReady(PlainServerIOEventDispatch.java:69)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:98)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:195)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:180)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:142)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:318)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;2009-11-11 18:18:46,387 [10.8.147.11-cage03.ncl.ac.uk] [I/O dispatcher 8] &amp;nbsp;WARN HttpCoreNIOListener System may be unstable: IOReactor encountered a runtime exception : null
&lt;br&gt;java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.ServerHandler.inputReady(ServerHandler.java:171)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.LoggingNHttpServiceHandler.inputReady(LoggingNHttpServiceHandler.java:123)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:135)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.synapse.transport.nhttp.PlainServerIOEventDispatch.inputReady(PlainServerIOEventDispatch.java:69)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:98)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:195)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:180)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:142)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:70)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:318)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Khaled</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.io.IOException%3A-Too-many-open-files-tp26311089p26311089.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26274155</id>
	<title>Re: Disabling FastInfoset for Synapse endpoints</title>
	<published>2009-11-09T13:38:29Z</published>
	<updated>2009-11-09T13:38:29Z</updated>
	<author>
		<name>Ruwan Linton</name>
	</author>
	<content type="html">Hi Ralph,
&lt;br&gt;&lt;br&gt;Whether the message is written to the wire as a FI or not is a functionality
&lt;br&gt;of the message formatter so disabling the FI to the backend endpoint and
&lt;br&gt;re-enabling the FI for the response to the client is theoretically possible
&lt;br&gt;with Synapse, but I have never tried this.
&lt;br&gt;&lt;br&gt;To try this out, configure the axis2.xml to enable the FI as described in
&lt;br&gt;this article [1] and then set the messageType property to
&lt;br&gt;application/soap+fastinfoset or application/fastinfoset as appropriately
&lt;br&gt;using the property mediator in the synapse configuration to enable FI and
&lt;br&gt;change the messageType propety to the relevant message type of the backend
&lt;br&gt;endpoint to disable FI for the backend requests.
&lt;br&gt;&lt;br&gt;[1] - &lt;a href=&quot;http://wso2.org/library/2686&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/library/2686&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ruwan
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 9, 2009 at 10:10 PM, &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26274155&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralph.Henze@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to configure synapse as a FastInfoset-capable proxy for a number of
&lt;br&gt;&amp;gt; existing services.
&lt;br&gt;&amp;gt; Some of them are based on SOAP stacks other than Axis2 and do not have the
&lt;br&gt;&amp;gt; capability of FastInfoset.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there an easy way to configure synapse in a way that proxy services can
&lt;br&gt;&amp;gt; be called using FastInfoset and endpoints get called using simple
&lt;br&gt;&amp;gt; soap/xml?
&lt;br&gt;&amp;gt; This should include the backward direction; meaning that non-FI responses
&lt;br&gt;&amp;gt; from the endpoints get translated into FI-responses to the client.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetings, Ralph.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ruwan Linton
&lt;br&gt;Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26274155&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disabling-FastInfoset-for-Synapse-endpoints-tp26269478p26274155.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26269478</id>
	<title>Disabling FastInfoset for Synapse endpoints</title>
	<published>2009-11-09T08:40:21Z</published>
	<updated>2009-11-09T08:40:21Z</updated>
	<author>
		<name>Ralph.Henze</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I want to configure synapse as a FastInfoset-capable proxy for a number of 
&lt;br&gt;existing services.
&lt;br&gt;Some of them are based on SOAP stacks other than Axis2 and do not have the 
&lt;br&gt;capability of FastInfoset.
&lt;br&gt;&lt;br&gt;Is there an easy way to configure synapse in a way that proxy services can 
&lt;br&gt;be called using FastInfoset and endpoints get called using simple 
&lt;br&gt;soap/xml?
&lt;br&gt;This should include the backward direction; meaning that non-FI responses 
&lt;br&gt;from the endpoints get translated into FI-responses to the client.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Greetings, Ralph.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disabling-FastInfoset-for-Synapse-endpoints-tp26269478p26269478.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26094048</id>
	<title>RE: Adding a security token</title>
	<published>2009-10-28T05:47:21Z</published>
	<updated>2009-10-28T05:47:21Z</updated>
	<author>
		<name>Sabareeswar P. B.</name>
	</author>
	<content type="html">Thanks Asankha! Will refer the Rampart site.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sabareeswar
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Asankha Perera [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26094048&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankha.apache@...&lt;/a&gt;] On Behalf Of Asankha C. Perera
&lt;br&gt;Sent: Wednesday, October 28, 2009 6:13 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26094048&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Adding a security token
&lt;br&gt;&lt;br&gt;Hi Sabareeswar
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am new to frameworks like WS-policy and WS-Security.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using synapse as a SOAP intermediary and I want to introduce a username token in the soap message which comes out of synapse.
&lt;br&gt;&amp;gt; The token must look like
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:oas=&amp;quot;&lt;a href=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Security&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;oas:UsernameToken&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Username&amp;gt;admin&amp;lt;/oas:Username&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Password&amp;gt;admin123&amp;lt;/oas:Password&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/oas:UsernameToken&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/oas:Security&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could you please tell me how I must proceed with synapse?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Basically Synapse does not go into exactly which WS-Security policy you
&lt;br&gt;enforce.. you just provide it with a policy that states what you want.
&lt;br&gt;For outgoing messages, what you need is similar to
&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Samples.html#Sample100&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Samples.html#Sample100&lt;/a&gt;&lt;br&gt;&lt;br&gt;You should have the sample policy used for the above as
&lt;br&gt;repository/conf/sample/resources/policy/policy_3.xml in your
&lt;br&gt;distribution. Synapse uses Apache Rampart to get this done, so it is
&lt;br&gt;Rampart that will read the policy and apply it. You will have better
&lt;br&gt;luck if you ask someone on the Apache Rampart mailing list or search
&lt;br&gt;through the samples for the above case.. I am sorry I do not have much
&lt;br&gt;free time right now to look for this myself, but if you really cannot
&lt;br&gt;find anything from Rampart, ping me again next week
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26094048.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26093984</id>
	<title>Re: Adding a security token</title>
	<published>2009-10-28T05:43:08Z</published>
	<updated>2009-10-28T05:43:08Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi Sabareeswar
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am new to frameworks like WS-policy and WS-Security.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using synapse as a SOAP intermediary and I want to introduce a username token in the soap message which comes out of synapse.
&lt;br&gt;&amp;gt; The token must look like
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:oas=&amp;quot;&lt;a href=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Security&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;oas:UsernameToken&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Username&amp;gt;admin&amp;lt;/oas:Username&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Password&amp;gt;admin123&amp;lt;/oas:Password&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/oas:UsernameToken&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/oas:Security&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could you please tell me how I must proceed with synapse?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Basically Synapse does not go into exactly which WS-Security policy you
&lt;br&gt;enforce.. you just provide it with a policy that states what you want.
&lt;br&gt;For outgoing messages, what you need is similar to
&lt;br&gt;&lt;a href=&quot;http://synapse.apache.org/Synapse_Samples.html#Sample100&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://synapse.apache.org/Synapse_Samples.html#Sample100&lt;/a&gt;&lt;br&gt;&lt;br&gt;You should have the sample policy used for the above as
&lt;br&gt;repository/conf/sample/resources/policy/policy_3.xml in your
&lt;br&gt;distribution. Synapse uses Apache Rampart to get this done, so it is
&lt;br&gt;Rampart that will read the policy and apply it. You will have better
&lt;br&gt;luck if you ask someone on the Apache Rampart mailing list or search
&lt;br&gt;through the samples for the above case.. I am sorry I do not have much
&lt;br&gt;free time right now to look for this myself, but if you really cannot
&lt;br&gt;find anything from Rampart, ping me again next week
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26093984.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26089350</id>
	<title>Adding a security token</title>
	<published>2009-10-27T21:49:19Z</published>
	<updated>2009-10-27T21:49:19Z</updated>
	<author>
		<name>Sabareeswar P. B.</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp;I am new to frameworks like WS-policy and WS-Security.
&lt;br&gt;&lt;br&gt;I am using synapse as a SOAP intermediary and I want to introduce a username token in the soap message which comes out of synapse.
&lt;br&gt;The token must look like
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:oas=&amp;quot;&lt;a href=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Security&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;oas:UsernameToken&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Username&amp;gt;admin&amp;lt;/oas:Username&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;oas:Password&amp;gt;admin123&amp;lt;/oas:Password&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/oas:UsernameToken&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/oas:Security&amp;gt;
&lt;br&gt;&lt;br&gt;Could you please tell me how I must proceed with synapse?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sabareeswar
&lt;br&gt;+91 80 668 82267
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Adding-a-security-token-tp26089350p26089350.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26060643</id>
	<title>Re: Antwort: Re: Antwort: Re: Antwort: Re: Connection timeout problem</title>
	<published>2009-10-26T07:14:58Z</published>
	<updated>2009-10-26T07:14:58Z</updated>
	<author>
		<name>Asankha C. Perera</name>
	</author>
	<content type="html">Hi Ralph / Supun
&lt;br&gt;&amp;gt; For future versions of Synapse it would be desirable that synapse gets the ability to respond with &amp;quot;100 Continue&amp;quot; responses. This would prevent interoperability issues with older .net clients like this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Asankha provided us with a quick fix; perhaps it would be possible that his fix flows into the Synapse trunk?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;I've committed the fix against SYNAPSE-231
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;asankha
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Asankha C. Perera
&lt;br&gt;AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connection-timeout-problem-tp25257193p26060643.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26056063</id>
	<title>Antwort: Re: Antwort: Re: Antwort: Re: Connection timeout problem</title>
	<published>2009-10-26T01:40:37Z</published>
	<updated>2009-10-26T01:40:37Z</updated>
	<author>
		<name>Ralph.Henze</name>
	</author>
	<content type="html">Hi Suprun,
&lt;br&gt;&lt;br&gt;yes, we have a solution for this.
&lt;br&gt;&lt;br&gt;Our analysis showed that the timeouts were due to a misbehaviour of our 
&lt;br&gt;.net service client.
&lt;br&gt;The client is sending a &amp;quot;100-continue&amp;quot; HTTP header and waits infinitely 
&lt;br&gt;for a &amp;quot;100 Continue&amp;quot; response before sending the request body, resulting 
&lt;br&gt;in timeouts.
&lt;br&gt;This behaviour is not according to HTTP 1.1 spec, though.
&lt;br&gt;&lt;br&gt;Synapse by now is not responding to 100-continue headers and waits for the 
&lt;br&gt;client to send the request body (according to HTTP 1.1).
&lt;br&gt;&lt;br&gt;For future versions of Synapse it would be desirable that synapse gets the 
&lt;br&gt;ability to respond with &amp;quot;100 Continue&amp;quot; responses.
&lt;br&gt;This would prevent interoperability issues with older .net clients like 
&lt;br&gt;this.
&lt;br&gt;&lt;br&gt;Asankha provided us with a quick fix; perhaps it would be possible that 
&lt;br&gt;his fix flows into the Synapse trunk?
&lt;br&gt;&lt;br&gt;Thank you and cheers!
&lt;br&gt;&lt;br&gt;i. A. Ralph Henze
&lt;br&gt;Dipl.-Informatiker (Univ.)
&lt;br&gt;Sparda-Datenverarbeitung eG
&lt;br&gt;AE-ABS/Softwarearchitektur
&lt;br&gt;&lt;br&gt;&lt;br&gt;Supun Kamburugamuva &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;supun06@...&lt;/a&gt;&amp;gt; schrieb am 26.10.2009 05:04:58:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; [Bild entfernt] 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Re: Antwort: Re: Antwort: Re: Connection timeout problem
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Supun Kamburugamuva 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; an:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; user
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 26.10.2009 05:05
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [Bild entfernt] 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Von:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Supun Kamburugamuva &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056063&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;supun06@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; An:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056063&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Bitte Antwort an &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056063&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Ralph,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Did you get a solution to this problem?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Supun..
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Sep 3, 2009 at 1:13 AM, Asankha C. Perera 
&lt;/div&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26056063&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankha@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hi Ralph
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The GET /soap/ requests are those issued by the monitoring system. 
&lt;br&gt;The
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; monitoring assumes that the esb is available if the list of services 
&lt;br&gt;is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; retrieved or there is a problem/outage otherwise.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Typically it would be better to issue a real call through Synapse 
&lt;br&gt;itself
&lt;br&gt;&amp;gt; &amp;gt; for monitoring purposes. I think Eric might be able to tell you more
&lt;br&gt;&amp;gt; &amp;gt; about the monitoring etc they do in their deployment environment.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; In our infrastructure there is an Apache HTTP server that is placed 
&lt;br&gt;in
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; front of synapse, so that the tcp connection client from synapse's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; perspective is always the HTTP server. The HTTP server terminates 
&lt;br&gt;SSL
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; connections and connects to synapse via mod_proxy. Do you presume 
&lt;br&gt;that a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; possible solution lies in HTTP server configuration?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; It seems like you issue a GET /soap/ request? I also saw many of 
&lt;br&gt;those..
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; what is the purpose of issuing that? Anyway.. this seems like a 
&lt;br&gt;harmless
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; possible bug - where the connection gets timedout - but Synapse 
&lt;br&gt;thinks
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; its response was not fully read by the client. This could happen if 
&lt;br&gt;the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; client just looks at the header of the response, and does not read 
&lt;br&gt;the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; entity body - which will prevent the HTTP connection from being 
&lt;br&gt;re-used
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; again (i.e. as a keepalive) - however, I also suspect a slight bug 
&lt;br&gt;in
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; the code where this message could be dumped in a harmless case. Do 
&lt;br&gt;you
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; see an actual error at the client side?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yes, there is an effect at the service client side. About 10 percent 
&lt;br&gt;of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; client requests are responded with HTTP error code 502.
&lt;br&gt;&amp;gt; &amp;gt; Synapse does not return 502.. so this is returned by Apache.. but the
&lt;br&gt;&amp;gt; &amp;gt; reason behind would need some investigation.. If you could re-create
&lt;br&gt;&amp;gt; &amp;gt; this with a single request and get me a tcpdump it would be great
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;I'm not sure of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; how that behaviour relates to the timeout message, because there are 
&lt;br&gt;a
&lt;br&gt;&amp;gt; &amp;gt; lot
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; more timeout messages in the log than actual client errors. But we 
&lt;br&gt;didn't
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; have that when we were on synapse 1.2. But as stated earlier, 
&lt;br&gt;synapse 1.2
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; freezed up to 3 times a day and had to be restarted, which we assume 
&lt;br&gt;is a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; consequence of bug SYNAPSE-404.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Are you planning to prepare a fix?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes, I could fix the issue I suspect - but that would not solve the 
&lt;br&gt;502
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; issue.. what I noticed is that Synapse may report the &amp;quot;Connection
&lt;br&gt;&amp;gt; &amp;gt; Timeout - before message body was fully read &amp;quot; message when the remote
&lt;br&gt;&amp;gt; &amp;gt; party (i.e. client to synapse) terminated its socket - since that was
&lt;br&gt;&amp;gt; &amp;gt; what was happening in your logs
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; cheers
&lt;br&gt;&amp;gt; &amp;gt; asankha
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Asankha C. Perera
&lt;br&gt;&amp;gt; &amp;gt; AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Software Engineer, WSO2 Inc
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt; supunk.blogspot.com
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connection-timeout-problem-tp25257193p26056063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26054421</id>
	<title>Re: Antwort: Re: Antwort: Re: Connection timeout problem</title>
	<published>2009-10-25T21:04:58Z</published>
	<updated>2009-10-25T21:04:58Z</updated>
	<author>
		<name>Supun Kamburugamuva</name>
	</author>
	<content type="html">Hi Ralph,
&lt;br&gt;&lt;br&gt;Did you get a solution to this problem?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Supun..
&lt;br&gt;&lt;br&gt;On Thu, Sep 3, 2009 at 1:13 AM, Asankha C. Perera &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26054421&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asankha@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Ralph
&lt;br&gt;&amp;gt; &amp;gt; The GET /soap/ requests are those issued by the monitoring system. The
&lt;br&gt;&amp;gt; &amp;gt; monitoring assumes that the esb is available if the list of services is
&lt;br&gt;&amp;gt; &amp;gt; retrieved or there is a problem/outage otherwise.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Typically it would be better to issue a real call through Synapse itself
&lt;br&gt;&amp;gt; for monitoring purposes. I think Eric might be able to tell you more
&lt;br&gt;&amp;gt; about the monitoring etc they do in their deployment environment.
&lt;br&gt;&amp;gt; &amp;gt; In our infrastructure there is an Apache HTTP server that is placed in
&lt;br&gt;&amp;gt; &amp;gt; front of synapse, so that the tcp connection client from synapse's
&lt;br&gt;&amp;gt; &amp;gt; perspective is always the HTTP server. The HTTP server terminates SSL
&lt;br&gt;&amp;gt; &amp;gt; connections and connects to synapse via mod_proxy. Do you presume that a
&lt;br&gt;&amp;gt; &amp;gt; possible solution lies in HTTP server configuration?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; It seems like you issue a GET /soap/ request? I also saw many of those..
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; what is the purpose of issuing that? Anyway.. this seems like a harmless
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; possible bug - where the connection gets timedout - but Synapse thinks
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; its response was not fully read by the client. This could happen if the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; client just looks at the header of the response, and does not read the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; entity body - which will prevent the HTTP connection from being re-used
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; again (i.e. as a keepalive) - however, I also suspect a slight bug in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; the code where this message could be dumped in a harmless case. Do you
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; see an actual error at the client side?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes, there is an effect at the service client side. About 10 percent of
&lt;br&gt;&amp;gt; &amp;gt; client requests are responded with HTTP error code 502.
&lt;br&gt;&amp;gt; Synapse does not return 502.. so this is returned by Apache.. but the
&lt;br&gt;&amp;gt; reason behind would need some investigation.. If you could re-create
&lt;br&gt;&amp;gt; this with a single request and get me a tcpdump it would be great
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;I'm not sure of
&lt;br&gt;&amp;gt; &amp;gt; how that behaviour relates to the timeout message, because there are a
&lt;br&gt;&amp;gt; lot
&lt;br&gt;&amp;gt; &amp;gt; more timeout messages in the log than actual client errors. But we didn't
&lt;br&gt;&amp;gt; &amp;gt; have that when we were on synapse 1.2. But as stated earlier, synapse 1.2
&lt;br&gt;&amp;gt; &amp;gt; freezed up to 3 times a day and had to be restarted, which we assume is a
&lt;br&gt;&amp;gt; &amp;gt; consequence of bug SYNAPSE-404.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Are you planning to prepare a fix?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Yes, I could fix the issue I suspect - but that would not solve the 502
&lt;br&gt;&amp;gt; issue.. what I noticed is that Synapse may report the &amp;quot;Connection
&lt;br&gt;&amp;gt; Timeout - before message body was fully read &amp;quot; message when the remote
&lt;br&gt;&amp;gt; party (i.e. client to synapse) terminated its socket - since that was
&lt;br&gt;&amp;gt; what was happening in your logs
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; asankha
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Asankha C. Perera
&lt;br&gt;&amp;gt; AdroitLogic, &lt;a href=&quot;http://adroitlogic.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adroitlogic.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://esbmagic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esbmagic.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Software Engineer, WSO2 Inc
&lt;br&gt;&lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;supunk.blogspot.com
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connection-timeout-problem-tp25257193p26054421.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26024616</id>
	<title>Re: Clone Mediator endpoint</title>
	<published>2009-10-23T04:26:42Z</published>
	<updated>2009-10-23T04:26:42Z</updated>
	<author>
		<name>Florin Bejinaru</name>
	</author>
	<content type="html">Thank you for your reply, unfortunately I had to switch to a more pressing
&lt;br&gt;project, so it will be some time before I have a chance to test this.
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;Florin
&lt;br&gt;&lt;br&gt;2009/10/20 Ruwan Linton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan.linton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yes, Hiranya is correct on this...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The clone mediator target mediates the message using the specified sequence
&lt;br&gt;&amp;gt; and then send the message using the specified endpoint.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So you shouldn't try to send the message in the target sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ruwan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Oct 20, 2009 at 7:40 PM, Hiranya Jayathilaka
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024616&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hiranya911@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Tue, Oct 20, 2009 at 1:41 PM, Florin Bejinaru
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024616&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;florinbejinaru@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The Error I am getting is :
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 2009-10-20 00:33:50,308 [10.9.4.40-Florin-9Aug2009] [SynapseWorker-1]
&lt;br&gt;&amp;gt; &amp;gt; ERROR
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ClientUtils The system cannot infer the transport information from the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; /services/Event URL.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 2009-10-20 00:33:50,312 [10.9.4.40-Florin-9Aug2009] [SynapseWorker-1]
&lt;br&gt;&amp;gt; &amp;gt; ERROR
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Axis2Sender Unexpected error during sending message out
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; org.apache.axis2.AxisFault: The system cannot infer the transport
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; information from the /services/Event URL.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; which I don't get if I set the &amp;quot;to&amp;quot; attribute on the target element.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Looking at the source code of the CloneMediator and the Target class, I
&lt;br&gt;&amp;gt; &amp;gt; can't see why this approach doesn't work. It should work without any
&lt;br&gt;&amp;gt; &amp;gt; issues.
&lt;br&gt;&amp;gt; &amp;gt; Here's the relevant code segment from the Taget class.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*if (sequence != null) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;synCtx.getEnvironment().injectAsync(synCtx, sequence);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (sequenceRef != null) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SequenceMediator refSequence = (SequenceMediator)
&lt;br&gt;&amp;gt; &amp;gt; synCtx.getSequence(sequenceRef);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (refSequence != null) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;synCtx.getEnvironment().injectAsync(synCtx, refSequence);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (endpoint != null) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endpoint.send(synCtx);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (endpointRef != null) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Endpoint epr =
&lt;br&gt;&amp;gt; &amp;gt; synCtx.getConfiguration().getEndpoint(endpointRef);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (epr != null) {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;epr.send(synCtx);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}*
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Can you please verify that Synapse doesn't send any messages to the
&lt;br&gt;&amp;gt; &amp;gt; endpoint
&lt;br&gt;&amp;gt; &amp;gt; you have specified? Note that when an endpoint is refered by the target
&lt;br&gt;&amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt; tries to send the message to that endpoint. Therefore putting a send
&lt;br&gt;&amp;gt; &amp;gt; mediator in the clone mediator target is not required and that could even
&lt;br&gt;&amp;gt; &amp;gt; cause issues. May be the clone mediator actually sends messages to the
&lt;br&gt;&amp;gt; &amp;gt; specified endpoint and what is failing is the send mediator which tries
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt; &amp;gt; send the message to the 'To' address set in the message.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt; Hiranya
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Hiranya Jayathilaka
&lt;br&gt;&amp;gt; &amp;gt; Software Engineer;
&lt;br&gt;&amp;gt; &amp;gt; WSO2 Inc.; &amp;nbsp;&lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; E-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024616&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hiranya@...&lt;/a&gt;; &amp;nbsp;Mobile: +94 77 633 3491
&lt;br&gt;&amp;gt; &amp;gt; Blog: &lt;a href=&quot;http://techfeast-hiranya.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://techfeast-hiranya.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Ruwan Linton
&lt;br&gt;&amp;gt; Technical Lead &amp; Product Manager; WSO2 ESB; &lt;a href=&quot;http://wso2.org/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/esb&lt;/a&gt;&lt;br&gt;&amp;gt; WSO2 Inc.; &lt;a href=&quot;http://wso2.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org&lt;/a&gt;&lt;br&gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024616&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ruwan@...&lt;/a&gt;; cell: +94 77 341 3097
&lt;br&gt;&amp;gt; blog: &lt;a href=&quot;http://ruwansblog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ruwansblog.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Clone-Mediator-endpoint-tp25965934p26024616.html" />
</entry>

</feed>
