<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2727</id>
	<title>Nabble - Mule - User</title>
	<updated>2010-03-20T20:44:07Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Mule---User-f2727.xml;BR/&gt;&lt;BR/&gt;Paul" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mule---User-f2727.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-27973836</id>
	<title>Re: Re: Re[mule-user] ply ASAP&gt;&gt;&gt; Pls... Pls...Pls... (HOW TO WRITE IN A EXCEL SHEET FROM JSP THROUGH MULE)</title>
	<published>2010-03-20T20:44:07Z</published>
	<updated>2010-03-20T20:44:07Z</updated>
	<author>
		<name>Sara.V</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp; thanks for the reply..i resolved that error ..but my bean values are not written in the excel generated..can u help me with this..
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Dirk Olmes wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&amp;gt; Caused by: java.lang.NoClassDefFoundError:
&lt;br&gt;&amp;gt; org/apache/commons/jexl/ExpressionFactory
&lt;br&gt;&lt;br&gt;What's unclear about the error message?
&lt;br&gt;&lt;br&gt;-dirk
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class=&quot;signature&quot;&gt;Thanks,
&lt;br&gt;Saranya&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reply-ASAP%3E%3E%3E-Pls...-Pls...Pls...-%28HOW-TO-WRITE-IN-A-EXCEL-SHEET-FROM-JSP-THROUGH-MULE%29-tp27945694p27973836.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27963892</id>
	<title>Re: Maximum number of concurrent request on HttpConnector</title>
	<published>2010-03-19T13:32:07Z</published>
	<updated>2010-03-19T13:32:07Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">For sync calls you could raise receiver threads in threading profile, also consider increasing max threads for dispatching side (all depends on your actual config).&lt;br&gt;&lt;br&gt;HTH,&lt;br&gt;Andrew&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Maximum-number-of-concurrent-request-on-HttpConnector-tp27963564p27963892.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27963564</id>
	<title>Maximum number of concurrent request on HttpConnector</title>
	<published>2010-03-19T12:58:03Z</published>
	<updated>2010-03-19T12:58:03Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I am using HttpConnector to send request to an endpoint. The calls are all in synchronous mode i.e inbound and outbound both have synchronous=&amp;quot;true&amp;quot;. My HttpConnector is defined as shown here:
&lt;br&gt;&amp;lt;http:connector name=&amp;quot;my_httpConnector_local&amp;quot;/&amp;gt;
&lt;br&gt;While debugging I have noticed Mule only creates 16 instances of my_httpConnector_local connector, although I sent 1000 requests. Is there a way i can increase the number of connectors when more calls comes in or its not possible. As my client expects a response synchronously, I cannot go to asynchronous mode.
&lt;br&gt;Any Help will be highly appreciated.
&lt;br&gt;regards,
&lt;br&gt;aa
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Maximum-number-of-concurrent-request-on-HttpConnector-tp27963564p27963564.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27963312</id>
	<title>Re: collection-aggregator-router... now what?</title>
	<published>2010-03-19T12:29:52Z</published>
	<updated>2010-03-19T12:29:52Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">Sounds like you need a transformer, but this kind of complex transformation might be better handled in a custom code/script. The list that you&amp;#39;re getting is just a collection of messages that have been aggregated.&lt;br&gt;&lt;br&gt;
Andrew&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/collection-aggregator-router...-now-what--tp27951019p27963312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27951019</id>
	<title>collection-aggregator-router... now what?</title>
	<published>2010-03-19T12:26:36Z</published>
	<updated>2010-03-19T12:26:36Z</updated>
	<author>
		<name>Steve@DSI</name>
	</author>
	<content type="html">Hi all. this is my first assignment using Mule and it seems perfect for what I need... I am just stuck on the last step. My task is to monitor a database table. The table row will contain an ID and an XML. I need to grab the xml, transform it with an XSLT, extract several pieces of data (demographics) and insert the old, new XML files, ID, and extracted data into another database table. 
&lt;br&gt;&lt;br&gt;I have gotten to the point where I have translated and parsed the data and have it coming in through a collection-aggregator-router but I am not sure what to do now. I put on a wire tap and the data is appearing correctly. I sent it into a POJO and observed that the data is in a copyonwritearraylist but I really need it in a map (or do I?) so that I can put it back in the database. I don't want to rely on the copyonwritearraylist because I don't trust the data to always be in the same order. Here is the related portion of my config file. How do I route the pieces coming into the end points in &amp;lt;service name=&amp;quot;finishUpdateResponse&amp;quot;&amp;gt; into a Map with a known key and the incoming data?
&lt;br&gt;TIA,
&lt;br&gt;Steve
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jdbc:connector name=&amp;quot;jdbcConnector&amp;quot; pollingFrequency=&amp;quot;300000&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataSource-ref=&amp;quot;pooledDS&amp;quot; resultSetHandler-ref=&amp;quot;ClobResultHandler&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;retryPolicyTemplate&amp;quot; ref=&amp;quot;ThreadingPolicyTemplate&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/spring:property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jdbc:query key=&amp;quot;selectNewArrests&amp;quot;
&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; value=&amp;quot;SELECT FEEDID, UBSXML from UBS_FEED where DateProcessed is null&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jdbc:query key=&amp;quot;insertProcessedRecord&amp;quot;
&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; value=&amp;quot;INSERT INTO UBS_PROCESSED (DSIXML, LASTNAME) VALUES(#[map-payload:DSIXMLResponse], #[map-payload:lastNameResponse]) &amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/jdbc:connector&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:connector name=&amp;quot;standardVM&amp;quot; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:queue-profile persistent=&amp;quot;false&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/vm:connector&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;expression-transformer name=&amp;quot;MapToStringExpTransformer&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;return-argument &amp;nbsp;evaluator=&amp;quot;mule&amp;quot; expression=&amp;quot;message.map-payload(UBSXML)&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/expression-transformer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xm:dom-to-xml-transformer name=&amp;quot;DomToXml&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xm:xslt-transformer name=&amp;quot;BookingAPIXSLT&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xsl-file=&amp;quot;E:/evolution/OMS/src/com/dsicdiiti/tnt/oms/booking/bookwizpages/lee/supporting/UBSToBookingAPI.xslt&amp;quot; returnClass=&amp;quot;org.w3c.dom.Document&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xm:xslt-transformer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;object-to-string-transformer name=&amp;quot;ToString&amp;quot; /&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;xm:jxpath-extractor-transformer name=&amp;quot;lastName&amp;quot; expression=&amp;quot;/BookingAPI/ns2:BookingResults/ns3:Booking/ns3:LAST_NAME/text()&amp;quot; singleResult=&amp;quot;false&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:connector name=&amp;quot;FileConnector&amp;quot; &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:expression-filename-parser/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/file:connector&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;model name=&amp;quot;OMSExportModel&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;OMSExportService1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;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;jdbc:inbound-endpoint queryKey=&amp;quot;selectNewArrests&amp;quot; transformer-refs=&amp;quot;MapToStringExpTransformer&amp;quot; connector-ref=&amp;quot;jdbcConnector&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;nbsp; &amp;nbsp; &amp;lt;/jdbc:inbound-endpoint&amp;gt;			
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;multicasting-router&amp;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;vm:outbound-endpoint path=&amp;quot;UBSXMLResponse&amp;quot; transformer-refs=&amp;quot;ToString&amp;quot; synchronous=&amp;quot;true&amp;quot; connector-ref=&amp;quot;standardVM&amp;quot; /&amp;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;vm:outbound-endpoint path=&amp;quot;lastNameResponse&amp;quot; transformer-refs=&amp;quot;BookingAPIXSLT lastName&amp;quot; synchronous=&amp;quot;true&amp;quot; connector-ref=&amp;quot;standardVM&amp;quot; /&amp;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;vm:outbound-endpoint path=&amp;quot;DSIXMLResponse&amp;quot; transformer-refs=&amp;quot;BookingAPIXSLT DomToXml&amp;quot; synchronous=&amp;quot;true&amp;quot; connector-ref=&amp;quot;standardVM&amp;quot; /&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/multicasting-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- After all of the processing is complete, collect the information, collate it and put it in the database.--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;finishUpdateResponse&amp;quot;&amp;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;inbound&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:inbound-endpoint path=&amp;quot;lastNameResponse&amp;quot; synchronous=&amp;quot;true&amp;quot; connector-ref=&amp;quot;standardVM&amp;quot; /&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:inbound-endpoint path=&amp;quot;DSIXMLResponse&amp;quot; synchronous=&amp;quot;true&amp;quot; connector-ref=&amp;quot;standardVM&amp;quot; /&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vm:inbound-endpoint path=&amp;quot;UBSXMLResponse&amp;quot; synchronous=&amp;quot;true&amp;quot; connector-ref=&amp;quot;standardVM&amp;quot; /&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wire-tap-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		&amp;lt;stdio:outbound-endpoint system=&amp;quot;OUT&amp;quot; name=&amp;quot;debugTrace&amp;quot;/&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		&amp;lt;/wire-tap-router&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&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;nbsp;	&amp;lt;collection-aggregator-router timeout=&amp;quot;6000&amp;quot; failOnTimeout=&amp;quot;false&amp;quot;&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/collection-aggregator-router&amp;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;/inbound&amp;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; 
&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;outbound&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;multicasting-router&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;file:outbound-endpoint path=&amp;quot;c:/temp/muleout&amp;quot; outputPattern=&amp;quot;#[function:uuid].xml&amp;quot; /&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/multicasting-router&amp;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;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/model&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/collection-aggregator-router...-now-what--tp27951019p27951019.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27962797</id>
	<title>Re: Escaping data on the http transport</title>
	<published>2010-03-19T11:42:47Z</published>
	<updated>2010-03-19T11:42:47Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">NVM after running curl, it is my soapUI client that is doing this.. wonderful... .. .
&lt;br&gt;&lt;br&gt;~matt
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Escaping-data-on-the-http-transport-tp27962320p27962797.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27962460</id>
	<title>Re: Escaping data on the http transport</title>
	<published>2010-03-19T11:07:16Z</published>
	<updated>2010-03-19T11:07:16Z</updated>
	<author>
		<name>David Dossot-3</name>
	</author>
	<content type="html">Just for the record, it&amp;#39;s the client that needs fixing because using CDATA instead of escaping should be totally equivalent for an XML parser.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Customizing JAXB&amp;#39;s behavior AFA CDATA versus escaping is discussed in different places of the net. Here is a randomly picked-up thread: &lt;a href=&quot;http://markmail.org/search/?q=JAXB+CDATA+escaping#query:JAXB%20CDATA%20escaping+page:1+mid:er6qvrxscmr7azx5+state:results&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://markmail.org/search/?q=JAXB+CDATA+escaping#query:JAXB%20CDATA%20escaping+page:1+mid:er6qvrxscmr7azx5+state:results&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;HTH&lt;/div&gt;&lt;div&gt;D.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Mar 19, 2010 at 10:52 AM, matt prokes &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27962460&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule.user.relay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hello, I am trying to escape some data on a http transport and I am finding a interesting response.&lt;br&gt;
&lt;br&gt;
this is part of the code I use in the component&lt;br&gt;
&lt;br&gt;
                String[] splitEscape = JaxbObjectToXmlTransformer.ObjectTransform(dataBody).split(&amp;quot;&amp;lt;c-gensym3&amp;gt;|&amp;lt;/c-gensym3&amp;gt;&amp;quot;);&lt;br&gt;
                splitEscape[1] = StringEscapeUtils.escapeXml(splitEscape[1]);&lt;br&gt;
                StringBuffer returnEscaped = new StringBuffer();&lt;br&gt;
                for(int count = 0; count &amp;lt; splitEscape.length; count++){&lt;br&gt;
                        if(count == 1)&lt;br&gt;
                                returnEscaped.append(&amp;quot;&amp;lt;c-gensym3&amp;gt;&amp;quot;+splitEscape[1]+&amp;quot;&amp;lt;/c-gensym3&amp;gt;&amp;quot;);&lt;br&gt;
                        else&lt;br&gt;
                                returnEscaped.append(splitEscape[count]);&lt;br&gt;
                }&lt;br&gt;
                return returnEscaped.toString();&lt;br&gt;
&lt;br&gt;
the return is the end of the method FYI&lt;br&gt;
Here is the response I get from my soap client.&lt;br&gt;
&lt;br&gt;
&amp;lt;ns3:Envelope ns3:encodingStyle=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/encoding/&lt;/a&gt;&amp;quot; xmlns:ns4=&amp;quot;urn:testDealer&amp;quot; xmlns:ns3=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot; xmlns:ns2=&amp;quot;&lt;a href=&quot;http://connect.zipinstalls.com/schema/salesorder/1.0&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://connect.zipinstalls.com/schema/salesorder/1.0&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;


   &amp;lt;ns3:Body&amp;gt;&lt;br&gt;
      &amp;lt;ns4:GetSchedule&amp;gt;&lt;br&gt;
         &amp;lt;c-gensym3&amp;gt;&amp;lt;![CDATA[&amp;lt;Results&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;03/18/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;3&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;03/18/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;4&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;03/18/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;5&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;........&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;04/17/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;7&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;04/17/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;8&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;/Results&amp;gt;]]&amp;gt;&amp;lt;/c-gensym3&amp;gt;&lt;br&gt;


      &amp;lt;/ns4:GetSchedule&amp;gt;&lt;br&gt;
   &amp;lt;/ns3:Body&amp;gt;&lt;br&gt;
&amp;lt;/ns3:Envelope&amp;gt;&lt;br&gt;
&lt;br&gt;
The client I am working with expects ESCAPED data, not CDATA tags, how do I fix this?&lt;br&gt;
&lt;br&gt;
Here is the transport config I use.&lt;br&gt;
&lt;br&gt;
                &amp;lt;http:inbound-endpoint host=&amp;quot;localhost&amp;quot; port=&amp;quot;8080&amp;quot; path=&amp;quot;services&amp;quot; synchronous=&amp;quot;true&amp;quot; keep-alive=&amp;quot;true&amp;quot;&amp;gt;&lt;br&gt;
&lt;br&gt;
                &amp;lt;/http:inbound-endpoint&amp;gt;&lt;br&gt;
&lt;br&gt;
So the question is why it unescapes the data and puts it in cdata tags.. this is not desirable.. the data needs to remain escaped!!&lt;br&gt;
&lt;br&gt;
~matt&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Escaping-data-on-the-http-transport-tp27962320p27962460.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27962320</id>
	<title>Escaping data on the http transport</title>
	<published>2010-03-19T10:52:18Z</published>
	<updated>2010-03-19T10:52:18Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">Hello, I am trying to escape some data on a http transport and I am finding a interesting response.
&lt;br&gt;&lt;br&gt;this is part of the code I use in the component
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] splitEscape = JaxbObjectToXmlTransformer.ObjectTransform(dataBody).split(&amp;quot;&amp;lt;c-gensym3&amp;gt;|&amp;lt;/c-gensym3&amp;gt;&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; splitEscape[1] = StringEscapeUtils.escapeXml(splitEscape[1]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuffer returnEscaped = new StringBuffer();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(int count = 0; count &amp;lt; splitEscape.length; count++){
&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; if(count == 1)
&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; returnEscaped.append(&amp;quot;&amp;lt;c-gensym3&amp;gt;&amp;quot;+splitEscape[1]+&amp;quot;&amp;lt;/c-gensym3&amp;gt;&amp;quot;);
&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; else
&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; returnEscaped.append(splitEscape[count]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return returnEscaped.toString();
&lt;br&gt;&lt;br&gt;the return is the end of the method FYI
&lt;br&gt;Here is the response I get from my soap client.
&lt;br&gt;&lt;br&gt;&amp;lt;ns3:Envelope ns3:encodingStyle=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/encoding/&lt;/a&gt;&amp;quot; xmlns:ns4=&amp;quot;urn:testDealer&amp;quot; xmlns:ns3=&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; xmlns:ns2=&amp;quot;&lt;a href=&quot;http://connect.zipinstalls.com/schema/salesorder/1.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://connect.zipinstalls.com/schema/salesorder/1.0&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;  &amp;lt;ns3:Body&amp;gt;
&lt;br&gt;&amp;nbsp;     &amp;lt;ns4:GetSchedule&amp;gt;
&lt;br&gt;&amp;nbsp;        &amp;lt;c-gensym3&amp;gt;&amp;lt;![CDATA[&amp;lt;Results&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;03/18/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;3&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;03/18/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;4&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;03/18/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;5&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;........&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;04/17/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;7&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;Result&amp;gt;&amp;lt;SlotDate&amp;gt;04/17/2010&amp;lt;/SlotDate&amp;gt;&amp;lt;SlotTypeId&amp;gt;8&amp;lt;/SlotTypeId&amp;gt;&amp;lt;/Result&amp;gt;&amp;lt;/Results&amp;gt;]]&amp;gt;&amp;lt;/c-gensym3&amp;gt;
&lt;br&gt;&amp;nbsp;     &amp;lt;/ns4:GetSchedule&amp;gt;
&lt;br&gt;&amp;nbsp;  &amp;lt;/ns3:Body&amp;gt;
&lt;br&gt;&amp;lt;/ns3:Envelope&amp;gt;
&lt;br&gt;&lt;br&gt;The client I am working with expects ESCAPED data, not CDATA tags, how do I fix this?
&lt;br&gt;&lt;br&gt;Here is the transport config I use.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;		&amp;lt;http:inbound-endpoint host=&amp;quot;localhost&amp;quot; port=&amp;quot;8080&amp;quot; path=&amp;quot;services&amp;quot; synchronous=&amp;quot;true&amp;quot; keep-alive=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;			
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;		&amp;lt;/http:inbound-endpoint&amp;gt;
&lt;br&gt;&lt;br&gt;So the question is why it unescapes the data and puts it in cdata tags.. this is not desirable.. the data needs to remain escaped!!
&lt;br&gt;&lt;br&gt;~matt
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Escaping-data-on-the-http-transport-tp27962320p27962320.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950975</id>
	<title>Re: Reply ASAP&gt;&gt;&gt; Pls... Pls...Pls... (HOW TO WRITE IN A EXCEL SHEET FROM JSP THROUGH MULE)</title>
	<published>2010-03-19T07:44:45Z</published>
	<updated>2010-03-19T07:44:45Z</updated>
	<author>
		<name>mike_ap</name>
	</author>
	<content type="html">From the error message, it looks like the excel transofrmer cannot find a class:
&lt;br&gt;Caused by: java.lang.NoClassDefFoundError: org/apache/commons/jexl/ExpressionFactory
&lt;br&gt;&lt;br&gt;You need to see if you have this class in your classpath:
&lt;br&gt;org.apache.commons.jexl.ExpressionFactory
&lt;br&gt;(&lt;a href=&quot;http://commons.apache.org/jexl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://commons.apache.org/jexl/&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;If you are not using Maven, I would recommend that you learn about it when you have some time. Maven resolves class dependencies so you don't have to hunt for different classes like this.
&lt;br&gt;&lt;br&gt;To test your transformation code, you could create a plain java app with the same code as you have inside of the doTransform() method and see if it works. 
&lt;br&gt;You could also create a JUnit test... and you could run it from Eclipse just by right-clicking on the class file and selecting &amp;quot;Run as JUnit&amp;quot; ... something like this:
&lt;br&gt;&lt;br&gt;package com.example.foo
&lt;br&gt;import junit.framework.TestCase;
&lt;br&gt;public class xcelTransformerTest extends TestCase{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private transformer t = new BeanToXlsTransformer();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void testXcelTransform(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Byte result[];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t.setTemplate(&amp;quot;your-template-file&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Map objects = new HashMap();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; objects.put(&amp;quot;key&amp;quot;,&amp;quot;value&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result = t.doTransform(objects, &amp;quot;UTF-8&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //then write the result to a file or whatever is needed to verify that it's ok.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Sara.V&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;&amp;nbsp;this is the exception i get..kindly help me out..i dont know how to run my transformer outside mule..let me know tat also..
&lt;br&gt;&lt;br&gt;&lt;br&gt;ERROR FileConnector [connector.file.0.dispatcher.1]: Work caused exception on 'workCompleted'. Work being executed was: org.mule.transport.AbstractMessageDispatcher$Worker@1613b53
&lt;br&gt;Exception in thread &amp;quot;connector.file.0.dispatcher.1&amp;quot; org.mule.api.MuleRuntimeException: Connector that caused exception is: connector.file.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractConnector.handleWorkException(AbstractConnector.java:1883)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractConnector.workCompleted(AbstractConnector.java:1852)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:367)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;Caused by: java.lang.NoClassDefFoundError: org/apache/commons/jexl/ExpressionFactory
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.Expression.&amp;lt;init&amp;gt;(Expression.java:61)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.CellParser.parseCellExpression(CellParser.java:140)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.CellParser.parseCellValue(CellParser.java:204)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.CellParser.parseCell(CellParser.java:57)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.SheetTransformer.parseCells(SheetTransformer.java:193)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.SheetTransformer.parseRow(SheetTransformer.java:263)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.SheetTransformer.transformSheet(SheetTransformer.java:82)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.XLSTransformer.transformWorkbook(XLSTransformer.java:238)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.java:217)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.elosi.esb.BeanToXlsTransformer.doTransform(BeanToXlsTransformer.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:621)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:582)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.file.FileMessageDispatcher.doDispatch(FileMessageDispatcher.java:50)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:310)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 3 more
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;mike_ap wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;The outbound file endpoint configuration looks fine. It might be an issue with your transformer.
&lt;br&gt;What is the result or error that you currently get?
&lt;br&gt;&lt;br&gt;I would suggest creating a unit test and running your transformer logic outside of Mule to confirm that everything works as it should.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Divya.A wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have a JSP page with 2 input textbox. The value from the JSP form should be stored in XLS(EXCEL SHEET) through MULE.... This is a web application embedding Mule... 
&lt;br&gt;&lt;br&gt;As far as now i have got the input from thye Jsp page... &lt;b&gt;I m not able to write it in Excel sheet&lt;/b&gt;... I have attached the config file with transformer class.... 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pls help me ASAP..............
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;MY CONFIG FILE&lt;/b&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;custom-transformer name=&amp;quot;BeanToXlsTransformer&amp;quot; class=&amp;quot;com.elosi.esb.BeanToXlsTransformer&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;model name=&amp;quot;elosi-esb&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;service name=&amp;quot;2PC&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;vm://elosiesb&amp;quot; synchronous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;lt;!-- must i use particular component? Map object? --&amp;gt;
&lt;br&gt;&amp;lt;component class=&amp;quot;com.elosi.esb.direct&amp;quot;&amp;gt;&amp;lt;/component&amp;gt;
&lt;br&gt;&amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;lt;file:outbound-endpoint path=&amp;quot;D:/xsl1&amp;quot; transformer-refs=&amp;quot;BeanToXlsTransformer&amp;quot;/&amp;gt;&lt;/b&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;i&gt;I know this is wrong... With what i should replace this????&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;
&lt;br&gt;&amp;lt;/model&amp;gt;
&lt;br&gt;&amp;lt;/mule&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;BEAN TO XLS TRANSFORMER CLASS&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;import java.io.*;
&lt;br&gt;import java.io.ByteArrayOutputStream;
&lt;br&gt;import java.io.FileInputStream;
&lt;br&gt;import java.io.InputStream;
&lt;br&gt;import java.util.Map;
&lt;br&gt;import net.sf.jxls.transformer.XLSTransformer;
&lt;br&gt;import org.mule.api.transformer.TransformerException;
&lt;br&gt;import org.mule.transformer.AbstractTransformer;
&lt;br&gt;public class BeanToXlsTransformer extends AbstractTransformer {
&lt;br&gt;private XLSTransformer transformer = new XLSTransformer();
&lt;br&gt;private String template;
&lt;br&gt;private InputStream templateInputStream;
&lt;br&gt;File file=new File(&amp;quot;D:/employees.xls&amp;quot;);
&lt;br&gt;protected Object doTransform(Object src, String encoding) throws TransformerException {
&lt;br&gt;Map beans = (Map) src;
&lt;br&gt;System.out.println(&amp;quot;-----------&amp;quot;+beans);
&lt;br&gt;ByteArrayOutputStream out = null;
&lt;br&gt;try{
&lt;br&gt;templateInputStream = new FileInputStream(file);
&lt;br&gt;System.out.println(&amp;quot;!!!!!!!!!&amp;quot;+templateInputStream);
&lt;br&gt;out = new ByteArrayOutputStream();
&lt;br&gt;transformer.transformXLS(templateInputStream, beans).write(out);
&lt;br&gt;System.out.println();
&lt;br&gt;}catch(Exception e){
&lt;br&gt;throw new TransformerException(this,e);
&lt;br&gt;}
&lt;br&gt;return out.toByteArray();
&lt;br&gt;}
&lt;br&gt;public void setTemplate(String template) {
&lt;br&gt;this.template = template;
&lt;br&gt;}
&lt;br&gt;public Object clone() throws CloneNotSupportedException {
&lt;br&gt;BeanToXlsTransformer clone = (BeanToXlsTransformer) super.clone();
&lt;br&gt;clone.setTemplate(template);
&lt;br&gt;return clone;
&lt;br&gt;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;b&gt;THE CLASS WHERE I GET THE JSP INPUT&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;&lt;br&gt;import java.io.IOException;
&lt;br&gt;import java.text.ParseException;
&lt;br&gt;import java.util.HashMap;
&lt;br&gt;import java.util.Map;
&lt;br&gt;&lt;br&gt;import javax.servlet.ServletException;
&lt;br&gt;import javax.servlet.http.HttpServlet;
&lt;br&gt;import javax.servlet.http.HttpServletRequest;
&lt;br&gt;import javax.servlet.http.HttpServletResponse;
&lt;br&gt;&lt;br&gt;import org.mule.module.client.MuleClient;
&lt;br&gt;import org.mule.api.MuleMessage;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* Servlet implementation class direct
&lt;br&gt;*/
&lt;br&gt;public class direct extends HttpServlet {
&lt;br&gt;private static final long serialVersionUID = 1L;
&lt;br&gt;private String mail;
&lt;br&gt;private String mdp;
&lt;br&gt;public String getMail() {
&lt;br&gt;return mail;
&lt;br&gt;}
&lt;br&gt;public void setMail(String mail) {
&lt;br&gt;this.mail = mail;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public String getMdp() {
&lt;br&gt;return mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setMdp(String mdp) {
&lt;br&gt;this.mdp = mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#HttpServlet()
&lt;br&gt;*/
&lt;br&gt;public direct() {
&lt;br&gt;super();
&lt;br&gt;// TODO Auto-generated constructor stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;// TODO Auto-generated method stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;String mail = request.getParameter(&amp;quot;mail&amp;quot;);
&lt;br&gt;String mdp = request.getParameter(&amp;quot;mdp&amp;quot;);
&lt;br&gt;Utilisateur u = new Utilisateur(mail,mdp);
&lt;br&gt;MuleClient client = new MuleClient();
&lt;br&gt;MuleMessage message = client.send(&amp;quot;vm://elosiesb&amp;quot;,u,null);}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;// TODO: handle exception
&lt;br&gt;}}
&lt;br&gt;&lt;br&gt;public Object process(Object object) throws Exception
&lt;br&gt;{
&lt;br&gt;System.out.println(object.getClass());
&lt;br&gt;return getData((com.elosi.esb.Utilisateur)object);
&lt;br&gt;}
&lt;br&gt;Map&amp;lt;String,String&amp;gt; getData(com.elosi.esb.Utilisateur email) throws ParseException{
&lt;br&gt;Map result = new HashMap();
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;result.put(&amp;quot;mail&amp;quot;,email.getMail());
&lt;br&gt;result.put(&amp;quot;mdp&amp;quot;,email.getMdp());
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;e.printStackTrace();
&lt;br&gt;}
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;}
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reply-ASAP%3E%3E%3E-Pls...-Pls...Pls...-%28HOW-TO-WRITE-IN-A-EXCEL-SHEET-FROM-JSP-THROUGH-MULE%29-tp27945694p27950975.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950967</id>
	<title>Re: Jersey connector, multiple services on same base url ?</title>
	<published>2010-03-19T07:19:41Z</published>
	<updated>2010-03-19T07:19:41Z</updated>
	<author>
		<name>mike_ap</name>
	</author>
	<content type="html">Well, I think the reason for this is that Mule needs to work in many other transports, so the architecture is much simpler if you assume that each endpoint is different.
&lt;br&gt;&lt;br&gt;The way you can get around this is to specify the different endpoints for both services:
&lt;br&gt;&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/ServiceA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/ServiceA&lt;/a&gt;&amp;quot; synchroneous=&amp;quot;true&amp;quot;
&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;connector-ref=&amp;quot;jersey&amp;quot; /&amp;gt; 
&lt;br&gt;&lt;br&gt;and
&lt;br&gt;&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/ServiceB&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/ServiceB&lt;/a&gt;&amp;quot; synchroneous=&amp;quot;true&amp;quot;
&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;connector-ref=&amp;quot;jersey&amp;quot; /&amp;gt; 
&lt;br&gt;&lt;br&gt;And then use a third service with your main endpoint:
&lt;br&gt;&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot; synchroneous=&amp;quot;true&amp;quot;
&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;connector-ref=&amp;quot;jersey&amp;quot; /&amp;gt; 
&lt;br&gt;&lt;br&gt;which would route the request to the other two services using a multicast router, chaining router, or other (depending on your need)
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Jan-Olav Eide&quot;&gt;&lt;br&gt;I understand that, but from a user perspective, having to use different ports for various parts of the system is not a good solution. An obvious improvement would be to allow the specification of multiple components in the &amp;lt;component&amp;gt; tag, and somehow have them merged.
&lt;br&gt;&lt;br&gt;But the Jersey project seems to be dead so I guess I will have to abandon Mule and look for alternative solutions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;mike_ap wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I don't think Mule will let you to have two endpoints with the same address in the configuration.
&lt;br&gt;How would it know which service to route to? Routing happens before the message is passed to the component.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950967.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950966</id>
	<title>Re: Re: Re[mule-user] turn Value</title>
	<published>2010-03-19T07:19:28Z</published>
	<updated>2010-03-19T07:19:28Z</updated>
	<author>
		<name>cabma</name>
	</author>
	<content type="html">Yes, you are right. I just found it there in the migration of 2.0 to 2.1.
&lt;br&gt;&lt;br&gt;Thank you for your help.
&lt;br&gt;&lt;br&gt;Marco
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-Value-tp27943998p27950966.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27957665</id>
	<title>Re: Jersey connector, multiple services on same base url ?</title>
	<published>2010-03-19T04:37:55Z</published>
	<updated>2010-03-19T04:37:55Z</updated>
	<author>
		<name>Daniel Feist</name>
	</author>
	<content type="html">Did you not read my reply?
&lt;br&gt;&lt;br&gt;Define you endpoints with host, port and path and then they will not complain about conflicts..
&lt;br&gt;&lt;br&gt;Dan
&lt;br&gt;&lt;br&gt;On Mar 19, 2010, at 7:10 AM, Jan-Olav Eide wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I understand that, but from a user perspective, having to use different ports
&lt;br&gt;&amp;gt; for various parts of the system is not a good solution. An obvious
&lt;br&gt;&amp;gt; improvement would be to allow the specification of multiple components in
&lt;br&gt;&amp;gt; the &amp;lt;component&amp;gt; tag, and somehow have them merged.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But the Jersey project seems to be dead so I guess I will have to abandon
&lt;br&gt;&amp;gt; Mule and look for alternative solutions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; mike_ap wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I don't think Mule will let you to have two endpoints with the same
&lt;br&gt;&amp;gt;&amp;gt; address in the configuration.
&lt;br&gt;&amp;gt;&amp;gt; How would it know which service to route to? Routing happens before the
&lt;br&gt;&amp;gt;&amp;gt; message is passed to the component.
&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; View this message in context: &lt;a href=&quot;http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950927.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950927.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27957665.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950934</id>
	<title>Re: [Axis] WS Call</title>
	<published>2010-03-19T03:56:03Z</published>
	<updated>2010-03-19T03:56:03Z</updated>
	<author>
		<name>Olivier Roger</name>
	</author>
	<content type="html">I have not chosen the name XMLBeans uses for its class generation.
&lt;br&gt;But since I specify the &lt;i&gt;returnType &lt;/i&gt;should not &lt;b&gt;ns1.person&lt;/b&gt;&amp;nbsp;be mapped to &lt;b&gt;ns1.PersonType&lt;/b&gt;&amp;nbsp;?
&lt;br&gt;&lt;br&gt;What should the bean specified to the Axis Connector look like? A class? an Interface?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Tiger Code-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I doubt it is correct because how Axis will know person element in resonse
&lt;br&gt;is ns1.PersonType class.. generally it is like ns1.person class is mapped to
&lt;br&gt;ns1 person element.
&lt;br&gt;&lt;br&gt;On Thu, Mar 18, 2010 at 11:18 AM, Olivier Roger &amp;lt;olivier.roger@bsb.com&amp;gt;wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your reply.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I added the PersonType class but it does not changes anything
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;axis:connector name=&amp;quot;axis&amp;quot;&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;spring:property name=&amp;quot;beanTypes&amp;quot;&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;spring:list&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;spring:value&amp;gt;ns1.PersonType&amp;lt;/spring:value&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;/spring:list&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;/spring:property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/axis:connector&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It it the class I am refering to in the return-parameter tag:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I doing this correclty ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tiger Code-2 wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I Axis bean registry is not having Person class serializer Axis transport
&lt;br&gt;&amp;gt; &amp;gt; and endpoint level properties give you way to define List &amp;nbsp;beanTypes
&lt;br&gt;&amp;gt; which
&lt;br&gt;&amp;gt; &amp;gt; will resolve your isssue..explore axis transport with beanTypes
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Thu, Mar 18, 2010 at 8:41 AM, Olivier Roger
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;olivier.roger@bsb.com&amp;gt;wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hello Mule,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I currently have issues to call a WS using the Axis transport.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I can call the WS which take a string as input parameter. However I get
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; an
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; error when Axis tries to Deserializing the answer.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; org.xml.sax.SAXException: Deserializing parameter 'person': &amp;nbsp;could not
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; find
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; deserializer for type {&lt;a href=&quot;http://www.w3.org/2001/XMLSchema&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;}ns1.PersonType
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/Axis.WS.log&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/Axis.WS.log&lt;/a&gt;&amp;nbsp;Click here to see the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; whole
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; stacktrace
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The return type is the class ns1.PersonType generated by XMLBeans.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/W1.wsdl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/W1.wsdl&lt;/a&gt;&amp;nbsp;Here is the full WSDL file
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; In any case it would be sufficient to have the response as a large
&lt;br&gt;&amp;gt; string
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; of
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; XML. It would be best to have the PersonType object.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Here is my endpoint definition:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;axis:outbound-endpoint
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; address=&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; serviceNamespace=&amp;quot;&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;axis:soap-method
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; method=&amp;quot;qname{getPerson:&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;}&amp;quot;&amp;gt;
&lt;br&gt;&amp;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;axis:soap-parameter parameter=&amp;quot;qname{socialId}&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; type=&amp;quot;string&amp;quot; mode=&amp;quot;IN&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; /&amp;gt;
&lt;br&gt;&amp;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;axis:soap-parameter
&lt;br&gt;&amp;gt; parameter=&amp;quot;qname{person:ns1}&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;type=&amp;quot;ns1:person&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; mode=&amp;quot;OUT&amp;quot; /&amp;gt; &amp;lt;!-- not sure about this --&amp;gt;
&lt;br&gt;&amp;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;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot;/&amp;gt; &amp;lt;!--
&lt;br&gt;&amp;gt; not
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; sure about this --&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/axis:soap-method&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/axis:outbound-endpoint&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; And here is the response from the WS (which correspond to what I need):
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;soap:Envelope xmlns:soap=&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;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;soap:Body&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ns1:getPersonResponse xmlns:ns1=&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.bsb.com/incubator/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;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;person xmlns=&amp;quot;ns1&amp;quot; id=&amp;quot;147778-603-37&amp;quot;&amp;gt;
&lt;br&gt;&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;firstName&amp;gt;Lannie&amp;lt;/firstName&amp;gt;
&lt;br&gt;&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;lastName&amp;gt;Mccleve&amp;lt;/lastName&amp;gt;
&lt;br&gt;&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;zipCode&amp;gt;8930&amp;lt;/zipCode&amp;gt;
&lt;br&gt;&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;mailAddress&amp;gt;tpq@rd.bsb.com
&lt;br&gt;&amp;gt; &amp;lt;/mailAddress&amp;gt;
&lt;br&gt;&amp;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;/person&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ns1:getPersonResponse&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/soap:Body&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;/soap:Envelope&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I hope someone can help me figure this out.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&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; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&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;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27947102.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27947102.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Axis--WS-Call-tp27945013p27950934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27956910</id>
	<title>Re: Re: Re[mule-user] ply ASAP&gt;&gt;&gt; Pls... Pls...Pls... (HOW TO WRITE IN A EXCEL SHEET FROM JSP THROUGH MULE)</title>
	<published>2010-03-19T03:17:50Z</published>
	<updated>2010-03-19T03:17:50Z</updated>
	<author>
		<name>Dirk Olmes</name>
	</author>
	<content type="html">&amp;gt; Caused by: java.lang.NoClassDefFoundError:
&lt;br&gt;&amp;gt; org/apache/commons/jexl/ExpressionFactory
&lt;br&gt;&lt;br&gt;What's unclear about the error message?
&lt;br&gt;&lt;br&gt;-dirk
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reply-ASAP%3E%3E%3E-Pls...-Pls...Pls...-%28HOW-TO-WRITE-IN-A-EXCEL-SHEET-FROM-JSP-THROUGH-MULE%29-tp27945694p27956910.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950927</id>
	<title>Re: Jersey connector, multiple services on same base url ?</title>
	<published>2010-03-19T03:10:49Z</published>
	<updated>2010-03-19T03:10:49Z</updated>
	<author>
		<name>Jan-Olav Eide</name>
	</author>
	<content type="html">I understand that, but from a user perspective, having to use different ports for various parts of the system is not a good solution. An obvious improvement would be to allow the specification of multiple components in the &amp;lt;component&amp;gt; tag, and somehow have them merged.
&lt;br&gt;&lt;br&gt;But the Jersey project seems to be dead so I guess I will have to abandon Mule and look for alternative solutions.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;mike_ap wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I don't think Mule will let you to have two endpoints with the same address in the configuration.
&lt;br&gt;How would it know which service to route to? Routing happens before the message is passed to the component.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950927.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27955471</id>
	<title>Re: Populating &quot;To&quot; address dynamically for SMTP.</title>
	<published>2010-03-19T00:14:32Z</published>
	<updated>2010-03-19T00:14:32Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">did you try a template endpoint router?
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Populating-%22To%22-address-dynamically-for-SMTP.-tp27954265p27955471.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950888</id>
	<title>Re: Reply ASAP&gt;&gt;&gt; Pls... Pls...Pls... (HOW TO WRITE IN A EXCEL SHEET FROM JSP THROUGH MULE)</title>
	<published>2010-03-18T21:36:21Z</published>
	<updated>2010-03-18T21:36:21Z</updated>
	<author>
		<name>Sara.V</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp;this is the exception i get..kindly help me out..i dont know how to run my transformer outside mule..let me know tat also..
&lt;br&gt;&lt;br&gt;&lt;br&gt;ERROR FileConnector [connector.file.0.dispatcher.1]: Work caused exception on 'workCompleted'. Work being executed was: org.mule.transport.AbstractMessageDispatcher$Worker@1613b53
&lt;br&gt;Exception in thread &amp;quot;connector.file.0.dispatcher.1&amp;quot; org.mule.api.MuleRuntimeException: Connector that caused exception is: connector.file.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractConnector.handleWorkException(AbstractConnector.java:1883)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractConnector.workCompleted(AbstractConnector.java:1852)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:367)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:595)
&lt;br&gt;Caused by: java.lang.NoClassDefFoundError: org/apache/commons/jexl/ExpressionFactory
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.Expression.&amp;lt;init&amp;gt;(Expression.java:61)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.CellParser.parseCellExpression(CellParser.java:140)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.CellParser.parseCellValue(CellParser.java:204)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.parser.CellParser.parseCell(CellParser.java:57)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.SheetTransformer.parseCells(SheetTransformer.java:193)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.SheetTransformer.parseRow(SheetTransformer.java:263)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.SheetTransformer.transformSheet(SheetTransformer.java:82)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.XLSTransformer.transformWorkbook(XLSTransformer.java:238)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.java:217)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.elosi.esb.BeanToXlsTransformer.doTransform(BeanToXlsTransformer.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:621)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:582)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:575)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.file.FileMessageDispatcher.doDispatch(FileMessageDispatcher.java:50)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.mule.work.WorkerContext.run(WorkerContext.java:310)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 3 more
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;mike_ap&quot;&gt;&lt;br&gt;The outbound file endpoint configuration looks fine. It might be an issue with your transformer.
&lt;br&gt;What is the result or error that you currently get?
&lt;br&gt;&lt;br&gt;I would suggest creating a unit test and running your transformer logic outside of Mule to confirm that everything works as it should.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Divya.A wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have a JSP page with 2 input textbox. The value from the JSP form should be stored in XLS(EXCEL SHEET) through MULE.... This is a web application embedding Mule... 
&lt;br&gt;&lt;br&gt;As far as now i have got the input from thye Jsp page... &lt;b&gt;I m not able to write it in Excel sheet&lt;/b&gt;... I have attached the config file with transformer class.... 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pls help me ASAP..............
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;MY CONFIG FILE&lt;/b&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;custom-transformer name=&amp;quot;BeanToXlsTransformer&amp;quot; class=&amp;quot;com.elosi.esb.BeanToXlsTransformer&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;model name=&amp;quot;elosi-esb&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;service name=&amp;quot;2PC&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;vm://elosiesb&amp;quot; synchronous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;lt;!-- must i use particular component? Map object? --&amp;gt;
&lt;br&gt;&amp;lt;component class=&amp;quot;com.elosi.esb.direct&amp;quot;&amp;gt;&amp;lt;/component&amp;gt;
&lt;br&gt;&amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;lt;file:outbound-endpoint path=&amp;quot;D:/xsl1&amp;quot; transformer-refs=&amp;quot;BeanToXlsTransformer&amp;quot;/&amp;gt;&lt;/b&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;i&gt;I know this is wrong... With what i should replace this????&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;
&lt;br&gt;&amp;lt;/model&amp;gt;
&lt;br&gt;&amp;lt;/mule&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;BEAN TO XLS TRANSFORMER CLASS&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;import java.io.*;
&lt;br&gt;import java.io.ByteArrayOutputStream;
&lt;br&gt;import java.io.FileInputStream;
&lt;br&gt;import java.io.InputStream;
&lt;br&gt;import java.util.Map;
&lt;br&gt;import net.sf.jxls.transformer.XLSTransformer;
&lt;br&gt;import org.mule.api.transformer.TransformerException;
&lt;br&gt;import org.mule.transformer.AbstractTransformer;
&lt;br&gt;public class BeanToXlsTransformer extends AbstractTransformer {
&lt;br&gt;private XLSTransformer transformer = new XLSTransformer();
&lt;br&gt;private String template;
&lt;br&gt;private InputStream templateInputStream;
&lt;br&gt;File file=new File(&amp;quot;D:/employees.xls&amp;quot;);
&lt;br&gt;protected Object doTransform(Object src, String encoding) throws TransformerException {
&lt;br&gt;Map beans = (Map) src;
&lt;br&gt;System.out.println(&amp;quot;-----------&amp;quot;+beans);
&lt;br&gt;ByteArrayOutputStream out = null;
&lt;br&gt;try{
&lt;br&gt;templateInputStream = new FileInputStream(file);
&lt;br&gt;System.out.println(&amp;quot;!!!!!!!!!&amp;quot;+templateInputStream);
&lt;br&gt;out = new ByteArrayOutputStream();
&lt;br&gt;transformer.transformXLS(templateInputStream, beans).write(out);
&lt;br&gt;System.out.println();
&lt;br&gt;}catch(Exception e){
&lt;br&gt;throw new TransformerException(this,e);
&lt;br&gt;}
&lt;br&gt;return out.toByteArray();
&lt;br&gt;}
&lt;br&gt;public void setTemplate(String template) {
&lt;br&gt;this.template = template;
&lt;br&gt;}
&lt;br&gt;public Object clone() throws CloneNotSupportedException {
&lt;br&gt;BeanToXlsTransformer clone = (BeanToXlsTransformer) super.clone();
&lt;br&gt;clone.setTemplate(template);
&lt;br&gt;return clone;
&lt;br&gt;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;b&gt;THE CLASS WHERE I GET THE JSP INPUT&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;&lt;br&gt;import java.io.IOException;
&lt;br&gt;import java.text.ParseException;
&lt;br&gt;import java.util.HashMap;
&lt;br&gt;import java.util.Map;
&lt;br&gt;&lt;br&gt;import javax.servlet.ServletException;
&lt;br&gt;import javax.servlet.http.HttpServlet;
&lt;br&gt;import javax.servlet.http.HttpServletRequest;
&lt;br&gt;import javax.servlet.http.HttpServletResponse;
&lt;br&gt;&lt;br&gt;import org.mule.module.client.MuleClient;
&lt;br&gt;import org.mule.api.MuleMessage;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* Servlet implementation class direct
&lt;br&gt;*/
&lt;br&gt;public class direct extends HttpServlet {
&lt;br&gt;private static final long serialVersionUID = 1L;
&lt;br&gt;private String mail;
&lt;br&gt;private String mdp;
&lt;br&gt;public String getMail() {
&lt;br&gt;return mail;
&lt;br&gt;}
&lt;br&gt;public void setMail(String mail) {
&lt;br&gt;this.mail = mail;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public String getMdp() {
&lt;br&gt;return mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setMdp(String mdp) {
&lt;br&gt;this.mdp = mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#HttpServlet()
&lt;br&gt;*/
&lt;br&gt;public direct() {
&lt;br&gt;super();
&lt;br&gt;// TODO Auto-generated constructor stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;// TODO Auto-generated method stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;String mail = request.getParameter(&amp;quot;mail&amp;quot;);
&lt;br&gt;String mdp = request.getParameter(&amp;quot;mdp&amp;quot;);
&lt;br&gt;Utilisateur u = new Utilisateur(mail,mdp);
&lt;br&gt;MuleClient client = new MuleClient();
&lt;br&gt;MuleMessage message = client.send(&amp;quot;vm://elosiesb&amp;quot;,u,null);}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;// TODO: handle exception
&lt;br&gt;}}
&lt;br&gt;&lt;br&gt;public Object process(Object object) throws Exception
&lt;br&gt;{
&lt;br&gt;System.out.println(object.getClass());
&lt;br&gt;return getData((com.elosi.esb.Utilisateur)object);
&lt;br&gt;}
&lt;br&gt;Map&amp;lt;String,String&amp;gt; getData(com.elosi.esb.Utilisateur email) throws ParseException{
&lt;br&gt;Map result = new HashMap();
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;result.put(&amp;quot;mail&amp;quot;,email.getMail());
&lt;br&gt;result.put(&amp;quot;mdp&amp;quot;,email.getMdp());
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;e.printStackTrace();
&lt;br&gt;}
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;}
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Thanks,
&lt;br&gt;Saranya&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reply-ASAP%3E%3E%3E-Pls...-Pls...Pls...-%28HOW-TO-WRITE-IN-A-EXCEL-SHEET-FROM-JSP-THROUGH-MULE%29-tp27945694p27950888.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27954416</id>
	<title>Re: Populating &quot;To&quot; address dynamically for SMTP.</title>
	<published>2010-03-18T20:07:38Z</published>
	<updated>2010-03-18T20:07:38Z</updated>
	<author>
		<name>David Dossot-3</name>
	</author>
	<content type="html">&lt;div&gt;Yes it&amp;#39;s possible: simply add a property named &amp;quot;toAddresses&amp;quot; to the Mule message as a comma separated list of recipients&amp;#39; email addresses.&lt;/div&gt;&lt;div&gt;&lt;br&gt;HTH&lt;br&gt;D.&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br&gt;&lt;/div&gt;

&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Mar 18, 2010 at 7:34 PM, Deepak Jena &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27954416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule.user.relay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;

Dear All,&lt;br&gt;
Can I send emails, where the to address is populated dynamically and not from properties file. Basically I need to send mails to few recipients whose address and the content of the mail is received from a table in the database. Is this possible to achieve??&lt;br&gt;


&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Populating-%22To%22-address-dynamically-for-SMTP.-tp27954265p27954416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27954265</id>
	<title>Populating &quot;To&quot; address dynamically for SMTP.</title>
	<published>2010-03-18T19:34:35Z</published>
	<updated>2010-03-18T19:34:35Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">Dear All,
&lt;br&gt;Can I send emails, where the to address is populated dynamically and not from properties file. Basically I need to send mails to few recipients whose address and the content of the mail is received from a table in the database. Is this possible to achieve??
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Populating-%22To%22-address-dynamically-for-SMTP.-tp27954265p27954265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27951990</id>
	<title>Re: Jersey connector, multiple services on same base url ?</title>
	<published>2010-03-18T14:23:29Z</published>
	<updated>2010-03-18T14:23:29Z</updated>
	<author>
		<name>Daniel Feist</name>
	</author>
	<content type="html">This should work yes. &amp;nbsp;But you have to include the path in the endpoint address I believe, here both endpoint addresses are identical.
&lt;br&gt;&lt;br&gt;Dan
&lt;br&gt;&lt;br&gt;On Mar 18, 2010, at 5:10 PM, mike_ap wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't think Mule will let you to have two endpoints with the same address
&lt;br&gt;&amp;gt; in the configuration.
&lt;br&gt;&amp;gt; How would it know which service to route to? Routing happens before the
&lt;br&gt;&amp;gt; message is passed to the component.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jan-Olav Eide wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Not sure if this is a Jersey connector problem or a general Mule problem,
&lt;br&gt;&amp;gt;&amp;gt; but I would like a number of services to be available on the same base URL
&lt;br&gt;&amp;gt;&amp;gt; using the jersey connector : These services are annotated using standard 
&lt;br&gt;&amp;gt;&amp;gt; annotations. @GET, @Produces , etc
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I would lke to do &lt;a href=&quot;http://localhost:63081/pathA/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/pathA/&lt;/a&gt;... to access serviceA &amp;nbsp;and
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost:63081/pathB/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/pathB/&lt;/a&gt;... to access service B.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; But the following config gives exception:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;There is already a listener registered on this connector on endpointUri:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;jersey:connector name=&amp;quot;jersey&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;service name=&amp;quot;serviceA&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inbound&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;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; synchroneous=&amp;quot;true&amp;quot;
&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; connector-ref=&amp;quot;jersey&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;component class=&amp;quot;.....ServiceA&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outbound&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;pass-through-router&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;outbound-endpoint address=&amp;quot;file://dev/null&amp;quot; /&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;/pass-through-router&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/service&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;service name=&amp;quot;serviceB&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;inbound&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;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot;
&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; connector-ref=&amp;quot;jersey&amp;quot; synchroneous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;component class=&amp;quot;....ServiceB&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;outbound&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;pass-through-router&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;outbound-endpoint address=&amp;quot;file://dev/null&amp;quot; /&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;/pass-through-router&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/service&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950833.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950833.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27951990.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950833</id>
	<title>Re: Jersey connector, multiple services on same base url ?</title>
	<published>2010-03-18T13:10:13Z</published>
	<updated>2010-03-18T13:10:13Z</updated>
	<author>
		<name>mike_ap</name>
	</author>
	<content type="html">I don't think Mule will let you to have two endpoints with the same address in the configuration.
&lt;br&gt;How would it know which service to route to? Routing happens before the message is passed to the component.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Jan-Olav Eide wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Not sure if this is a Jersey connector problem or a general Mule problem, but I would like a number of services to be available on the same base URL using the jersey connector : These services are annotated using standard &amp;nbsp;annotations. @GET, @Produces , etc
&lt;br&gt;&lt;br&gt;I would lke to do &lt;a href=&quot;http://localhost:63081/pathA/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/pathA/&lt;/a&gt;... to access serviceA &amp;nbsp;and &lt;a href=&quot;http://localhost:63081/pathB/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/pathB/&lt;/a&gt;... to access service B.
&lt;br&gt;&lt;br&gt;But the following config gives exception:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;quot;There is already a listener registered on this connector on endpointUri: &lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;lt;jersey:connector name=&amp;quot;jersey&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;service name=&amp;quot;serviceA&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot; synchroneous=&amp;quot;true&amp;quot;
&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;connector-ref=&amp;quot;jersey&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component class=&amp;quot;.....ServiceA&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;pass-through-router&amp;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;outbound-endpoint address=&amp;quot;file://dev/null&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;serviceB&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;inbound-endpoint address=&amp;quot;jersey:&lt;a href=&quot;http://localhost:63081/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:63081/&lt;/a&gt;&amp;quot;
&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;connector-ref=&amp;quot;jersey&amp;quot; synchroneous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;component class=&amp;quot;....ServiceB&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;pass-through-router&amp;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;outbound-endpoint address=&amp;quot;file://dev/null&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/service&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Jersey-connector%2C-multiple-services-on-same-base-url---tp27933780p27950833.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950760</id>
	<title>Re: Reply ASAP&gt;&gt;&gt; Pls... Pls...Pls... (HOW TO WRITE IN A EXCEL SHEET FROM JSP THROUGH MULE)</title>
	<published>2010-03-18T13:04:44Z</published>
	<updated>2010-03-18T13:04:44Z</updated>
	<author>
		<name>mike_ap</name>
	</author>
	<content type="html">The outbound file endpoint configuration looks fine. It might be an issue with your transformer.
&lt;br&gt;What is the result or error that you currently get?
&lt;br&gt;&lt;br&gt;I would suggest creating a unit test and running your transformer logic outside of Mule to confirm that everything works as it should.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Divya.A wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have a JSP page with 2 input textbox. The value from the JSP form should be stored in XLS(EXCEL SHEET) through MULE.... This is a web application embedding Mule... 
&lt;br&gt;&lt;br&gt;As far as now i have got the input from thye Jsp page... &lt;b&gt;I m not able to write it in Excel sheet&lt;/b&gt;... I have attached the config file with transformer class.... 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pls help me ASAP..............
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;MY CONFIG FILE&lt;/b&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;custom-transformer name=&amp;quot;BeanToXlsTransformer&amp;quot; class=&amp;quot;com.elosi.esb.BeanToXlsTransformer&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;model name=&amp;quot;elosi-esb&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;service name=&amp;quot;2PC&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;vm://elosiesb&amp;quot; synchronous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;lt;!-- must i use particular component? Map object? --&amp;gt;
&lt;br&gt;&amp;lt;component class=&amp;quot;com.elosi.esb.direct&amp;quot;&amp;gt;&amp;lt;/component&amp;gt;
&lt;br&gt;&amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;lt;file:outbound-endpoint path=&amp;quot;D:/xsl1&amp;quot; transformer-refs=&amp;quot;BeanToXlsTransformer&amp;quot;/&amp;gt;&lt;/b&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;i&gt;I know this is wrong... With what i should replace this????&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;
&lt;br&gt;&amp;lt;/model&amp;gt;
&lt;br&gt;&amp;lt;/mule&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;BEAN TO XLS TRANSFORMER CLASS&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;import java.io.*;
&lt;br&gt;import java.io.ByteArrayOutputStream;
&lt;br&gt;import java.io.FileInputStream;
&lt;br&gt;import java.io.InputStream;
&lt;br&gt;import java.util.Map;
&lt;br&gt;import net.sf.jxls.transformer.XLSTransformer;
&lt;br&gt;import org.mule.api.transformer.TransformerException;
&lt;br&gt;import org.mule.transformer.AbstractTransformer;
&lt;br&gt;public class BeanToXlsTransformer extends AbstractTransformer {
&lt;br&gt;private XLSTransformer transformer = new XLSTransformer();
&lt;br&gt;private String template;
&lt;br&gt;private InputStream templateInputStream;
&lt;br&gt;File file=new File(&amp;quot;D:/employees.xls&amp;quot;);
&lt;br&gt;protected Object doTransform(Object src, String encoding) throws TransformerException {
&lt;br&gt;Map beans = (Map) src;
&lt;br&gt;System.out.println(&amp;quot;-----------&amp;quot;+beans);
&lt;br&gt;ByteArrayOutputStream out = null;
&lt;br&gt;try{
&lt;br&gt;templateInputStream = new FileInputStream(file);
&lt;br&gt;System.out.println(&amp;quot;!!!!!!!!!&amp;quot;+templateInputStream);
&lt;br&gt;out = new ByteArrayOutputStream();
&lt;br&gt;transformer.transformXLS(templateInputStream, beans).write(out);
&lt;br&gt;System.out.println();
&lt;br&gt;}catch(Exception e){
&lt;br&gt;throw new TransformerException(this,e);
&lt;br&gt;}
&lt;br&gt;return out.toByteArray();
&lt;br&gt;}
&lt;br&gt;public void setTemplate(String template) {
&lt;br&gt;this.template = template;
&lt;br&gt;}
&lt;br&gt;public Object clone() throws CloneNotSupportedException {
&lt;br&gt;BeanToXlsTransformer clone = (BeanToXlsTransformer) super.clone();
&lt;br&gt;clone.setTemplate(template);
&lt;br&gt;return clone;
&lt;br&gt;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;b&gt;THE CLASS WHERE I GET THE JSP INPUT&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;&lt;br&gt;import java.io.IOException;
&lt;br&gt;import java.text.ParseException;
&lt;br&gt;import java.util.HashMap;
&lt;br&gt;import java.util.Map;
&lt;br&gt;&lt;br&gt;import javax.servlet.ServletException;
&lt;br&gt;import javax.servlet.http.HttpServlet;
&lt;br&gt;import javax.servlet.http.HttpServletRequest;
&lt;br&gt;import javax.servlet.http.HttpServletResponse;
&lt;br&gt;&lt;br&gt;import org.mule.module.client.MuleClient;
&lt;br&gt;import org.mule.api.MuleMessage;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* Servlet implementation class direct
&lt;br&gt;*/
&lt;br&gt;public class direct extends HttpServlet {
&lt;br&gt;private static final long serialVersionUID = 1L;
&lt;br&gt;private String mail;
&lt;br&gt;private String mdp;
&lt;br&gt;public String getMail() {
&lt;br&gt;return mail;
&lt;br&gt;}
&lt;br&gt;public void setMail(String mail) {
&lt;br&gt;this.mail = mail;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public String getMdp() {
&lt;br&gt;return mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setMdp(String mdp) {
&lt;br&gt;this.mdp = mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#HttpServlet()
&lt;br&gt;*/
&lt;br&gt;public direct() {
&lt;br&gt;super();
&lt;br&gt;// TODO Auto-generated constructor stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;// TODO Auto-generated method stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;String mail = request.getParameter(&amp;quot;mail&amp;quot;);
&lt;br&gt;String mdp = request.getParameter(&amp;quot;mdp&amp;quot;);
&lt;br&gt;Utilisateur u = new Utilisateur(mail,mdp);
&lt;br&gt;MuleClient client = new MuleClient();
&lt;br&gt;MuleMessage message = client.send(&amp;quot;vm://elosiesb&amp;quot;,u,null);}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;// TODO: handle exception
&lt;br&gt;}}
&lt;br&gt;&lt;br&gt;public Object process(Object object) throws Exception
&lt;br&gt;{
&lt;br&gt;System.out.println(object.getClass());
&lt;br&gt;return getData((com.elosi.esb.Utilisateur)object);
&lt;br&gt;}
&lt;br&gt;Map&amp;lt;String,String&amp;gt; getData(com.elosi.esb.Utilisateur email) throws ParseException{
&lt;br&gt;Map result = new HashMap();
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;result.put(&amp;quot;mail&amp;quot;,email.getMail());
&lt;br&gt;result.put(&amp;quot;mdp&amp;quot;,email.getMdp());
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;e.printStackTrace();
&lt;br&gt;}
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;}
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reply-ASAP%3E%3E%3E-Pls...-Pls...Pls...-%28HOW-TO-WRITE-IN-A-EXCEL-SHEET-FROM-JSP-THROUGH-MULE%29-tp27945694p27950760.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950626</id>
	<title>Re: Property Place Holder in Model name</title>
	<published>2010-03-18T12:52:44Z</published>
	<updated>2010-03-18T12:52:44Z</updated>
	<author>
		<name>mike_ap</name>
	</author>
	<content type="html">I don't think you can set that on a service name or model name. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;test testing wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hello
&lt;br&gt;&lt;br&gt;Is it possible to have a property placeholder in a model or service name? &amp;nbsp;I have a mule config that looks like this without the placeholder:
&lt;br&gt;mule.config file:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;model name=&amp;quot;modelName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;serviceName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&lt;br&gt;If I try this:
&lt;br&gt;properties file:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; name=name &amp;nbsp; 
&lt;br&gt;mule.config file: &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;model name=&amp;quot;model${name}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;serviceName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&lt;br&gt;I get this:
&lt;br&gt;ERROR 2010-03-18 12:11:46,393 [main] org.mule.MuleServer: 
&lt;br&gt;********************************************************************************
&lt;br&gt;Message &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : Initialisation Failure: Error creating bean with name 'serviceName': Cannot resolve reference to bean 'modelname' while setting bean property 'model'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'modelname' is defined
&lt;br&gt;Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: org.mule.api.lifecycle.InitialisationException
&lt;br&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: MULE_ERROR-72085
&lt;br&gt;JavaDoc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : &lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html&lt;/a&gt;&lt;br&gt;Object &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: org.mule.config.spring.SpringRegistry@66fdfc58
&lt;br&gt;********************************************************************************
&lt;br&gt;Exception stack is:
&lt;br&gt;1. No bean named 'modelname' is defined (org.springframework.beans.factory.NoSuchBeanDefinitionException)
&lt;br&gt;&amp;nbsp; org.springframework.beans.factory.support.DefaultListableBeanFactory:387 (null)
&lt;br&gt;2. Error creating bean with name 'serviceName': Cannot resolve reference to bean 'modelname' while setting bean property 'model'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'modelname' is defined (org.springframework.beans.factory.BeanCreationException)
&lt;br&gt;&amp;nbsp; org.springframework.beans.factory.support.BeanDefinitionValueResolver:275 (null)
&lt;br&gt;3. Initialisation Failure: Error creating bean with name 'serviceName': Cannot resolve reference to bean 'modelname' while setting bean property 'model'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'modelname' is defined (org.mule.api.lifecycle.InitialisationException)
&lt;br&gt;&amp;nbsp; org.mule.registry.AbstractRegistry:76 (&lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/oot&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/oot&lt;/a&gt;&amp;nbsp;possibrg/mule/api/lifecycle/InitialisationException.html)
&lt;br&gt;********************************************************************************
&lt;br&gt;&lt;br&gt;It appears the property resolves properly (all the others in the mule.config file do) but there is still a NoSuchBeanDefinitionException. I get similar results when trying to use a placeholder in a service name. I'm using Mule community 2.2.1.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Property-Place-Holder-in-Model-name-tp27947867p27950626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27950413</id>
	<title>Re: how to develop webapp with mule?</title>
	<published>2010-03-18T12:36:42Z</published>
	<updated>2010-03-18T12:36:42Z</updated>
	<author>
		<name>mike_ap</name>
	</author>
	<content type="html">I'm not sure what you're trying to do, but I suggest that you learn a little bit about what and ESB is in general. Mule can be used to create a web app, because it's very flexible and generic. However, that is not it's main purpose. If I were to build a web application for end-users to access with a web browser, I would use an application server (jetty, tomcat, jboss, etc.) with a web framework.
&lt;br&gt;&lt;br&gt;I think that Mule is best used when you need to provide services or integrate different services and applications together. Yes, it has http connectors that you can use and integrate with components to build a web site. But I don't think that would be a good idea. It's like taking a tractor to get your groceries from the supermarket. You can do it, but you'd be better off with a car.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;test testing wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi all,
&lt;br&gt;I'm trying to develop web application with mule, but i don't know how to do?
&lt;br&gt;I used to develop webapp based on struts and spring, now i want to redo it with mule.
&lt;br&gt;&lt;br&gt;i have some questions:
&lt;br&gt;1) request -&amp;gt; action controller -&amp;gt; jsp page, now when a request is sent to the mule server, how to return to jsp page and what kind of form
&lt;br&gt;&lt;br&gt;2)action controller accept multiple parameters, the mule can do it ? how ?
&lt;br&gt;&lt;br&gt;Actually i want to get some examples or tell me how to &amp;nbsp;get it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you in advance,
&lt;br&gt;&lt;br&gt;gengli
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-develop-webapp-with-mule--tp27946707p27950413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27947867</id>
	<title>Property Place Holder in Model name</title>
	<published>2010-03-18T09:18:59Z</published>
	<updated>2010-03-18T09:18:59Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;Is it possible to have a property placeholder in a model or service name? &amp;nbsp;I have a mule config that looks like this without the placeholder:
&lt;br&gt;mule.config file:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;model name=&amp;quot;modelName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;serviceName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&lt;br&gt;If I try this:
&lt;br&gt;properties file:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; name=name &amp;nbsp; 
&lt;br&gt;mule.config file: &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;model name=&amp;quot;model${name}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;service name=&amp;quot;serviceName&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&lt;br&gt;I get this:
&lt;br&gt;ERROR 2010-03-18 12:11:46,393 [main] org.mule.MuleServer: 
&lt;br&gt;********************************************************************************
&lt;br&gt;Message &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : Initialisation Failure: Error creating bean with name 'serviceName': Cannot resolve reference to bean 'modelname' while setting bean property 'model'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'modelname' is defined
&lt;br&gt;Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: org.mule.api.lifecycle.InitialisationException
&lt;br&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: MULE_ERROR-72085
&lt;br&gt;JavaDoc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : &lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html&lt;/a&gt;&lt;br&gt;Object &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: org.mule.config.spring.SpringRegistry@66fdfc58
&lt;br&gt;********************************************************************************
&lt;br&gt;Exception stack is:
&lt;br&gt;1. No bean named 'modelname' is defined (org.springframework.beans.factory.NoSuchBeanDefinitionException)
&lt;br&gt;&amp;nbsp; org.springframework.beans.factory.support.DefaultListableBeanFactory:387 (null)
&lt;br&gt;2. Error creating bean with name 'serviceName': Cannot resolve reference to bean 'modelname' while setting bean property 'model'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'modelname' is defined (org.springframework.beans.factory.BeanCreationException)
&lt;br&gt;&amp;nbsp; org.springframework.beans.factory.support.BeanDefinitionValueResolver:275 (null)
&lt;br&gt;3. Initialisation Failure: Error creating bean with name 'serviceName': Cannot resolve reference to bean 'modelname' while setting bean property 'model'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'modelname' is defined (org.mule.api.lifecycle.InitialisationException)
&lt;br&gt;&amp;nbsp; org.mule.registry.AbstractRegistry:76 (&lt;a href=&quot;http://www.mulesource.org/docs/site/current2/apidocs/oot&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesource.org/docs/site/current2/apidocs/oot&lt;/a&gt;&amp;nbsp;possibrg/mule/api/lifecycle/InitialisationException.html)
&lt;br&gt;********************************************************************************
&lt;br&gt;&lt;br&gt;It appears the property resolves properly (all the others in the mule.config file do) but there is still a NoSuchBeanDefinitionException. I get similar results when trying to use a placeholder in a service name. I'm using Mule community 2.2.1.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Property-Place-Holder-in-Model-name-tp27947867p27947867.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27947826</id>
	<title>Re: Re: Re[mule-user] turn Value</title>
	<published>2010-03-18T09:15:00Z</published>
	<updated>2010-03-18T09:15:00Z</updated>
	<author>
		<name>Andrew Perepelytsya</name>
	</author>
	<content type="html">No, it was a documented change, have you read migration guides?&lt;br&gt;&lt;br&gt;You can also switch all endpoint to sync by default in config, this is a standard feature.&lt;br&gt;&lt;br&gt;Andrew&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-Value-tp27943998p27947826.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27947222</id>
	<title>Re: [Axis] WS Call</title>
	<published>2010-03-18T08:26:36Z</published>
	<updated>2010-03-18T08:26:36Z</updated>
	<author>
		<name>Tiger Code-2</name>
	</author>
	<content type="html">I doubt it is correct because how Axis will know person element in resonse is ns1.PersonType class.. generally it is like ns1.person class is mapped to ns1 person element.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Mar 18, 2010 at 11:18 AM, Olivier Roger &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27947222&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.roger@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
Thank you for your reply.&lt;br&gt;
&lt;br&gt;
I added the PersonType class but it does not changes anything&lt;br&gt;
&lt;br&gt;
        &amp;lt;axis:connector name=&amp;quot;axis&amp;quot;&amp;gt;&lt;br&gt;
                &amp;lt;spring:property name=&amp;quot;beanTypes&amp;quot;&amp;gt;&lt;br&gt;
                        &amp;lt;spring:list&amp;gt;&lt;br&gt;
                                &amp;lt;spring:value&amp;gt;ns1.PersonType&amp;lt;/spring:value&amp;gt;&lt;br&gt;
                        &amp;lt;/spring:list&amp;gt;&lt;br&gt;
                &amp;lt;/spring:property&amp;gt;&lt;br&gt;
        &amp;lt;/axis:connector&amp;gt;&lt;br&gt;
&lt;br&gt;
It it the class I am refering to in the return-parameter tag:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
        &amp;lt;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Am I doing this correclty ?&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
Tiger Code-2 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I Axis bean registry is not having Person class serializer Axis transport&lt;br&gt;
&amp;gt; and endpoint level properties give you way to define List  beanTypes which&lt;br&gt;
&amp;gt; will resolve your isssue..explore axis transport with beanTypes&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Thu, Mar 18, 2010 at 8:41 AM, Olivier Roger&lt;br&gt;
&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27947222&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.roger@...&lt;/a&gt;&amp;gt;wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hello Mule,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I currently have issues to call a WS using the Axis transport.&lt;br&gt;
&amp;gt;&amp;gt; I can call the WS which take a string as input parameter. However I get&lt;br&gt;
&amp;gt;&amp;gt; an&lt;br&gt;
&amp;gt;&amp;gt; error when Axis tries to Deserializing the answer.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; org.xml.sax.SAXException: Deserializing parameter &amp;#39;person&amp;#39;:  could not&lt;br&gt;
&amp;gt;&amp;gt; find&lt;br&gt;
&amp;gt;&amp;gt; deserializer for type {&lt;a href=&quot;http://www.w3.org/2001/XMLSchema}ns1.PersonType&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema}ns1.PersonType&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/Axis.WS.log&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/Axis.WS.log&lt;/a&gt; Click here to see the&lt;br&gt;
&amp;gt;&amp;gt; whole&lt;br&gt;
&amp;gt;&amp;gt; stacktrace&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; The return type is the class ns1.PersonType generated by XMLBeans.&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/W1.wsdl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/W1.wsdl&lt;/a&gt; Here is the full WSDL file .&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; In any case it would be sufficient to have the response as a large string&lt;br&gt;
&amp;gt;&amp;gt; of&lt;br&gt;
&amp;gt;&amp;gt; XML. It would be best to have the PersonType object.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Here is my endpoint definition:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;        &amp;lt;axis:outbound-endpoint&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; address=&amp;quot;&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&lt;/a&gt;&lt;br&gt;

&amp;gt;&amp;gt; &amp;quot;&lt;br&gt;
&amp;gt;&amp;gt; serviceNamespace=&amp;quot;&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                &amp;lt;axis:soap-method&lt;br&gt;
&amp;gt;&amp;gt; method=&amp;quot;qname{getPerson:&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;}&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                        &amp;lt;axis:soap-parameter parameter=&amp;quot;qname{socialId}&amp;quot;&lt;br&gt;
&amp;gt;&amp;gt; type=&amp;quot;string&amp;quot; mode=&amp;quot;IN&amp;quot;&lt;br&gt;
&amp;gt;&amp;gt; /&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                        &amp;lt;axis:soap-parameter parameter=&amp;quot;qname{person:ns1}&amp;quot;&lt;br&gt;
&amp;gt;&amp;gt;  type=&amp;quot;ns1:person&amp;quot;&lt;br&gt;
&amp;gt;&amp;gt; mode=&amp;quot;OUT&amp;quot; /&amp;gt; &amp;lt;!-- not sure about this --&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                        &amp;lt;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot;/&amp;gt; &amp;lt;!-- not&lt;br&gt;
&amp;gt;&amp;gt; sure about this --&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                &amp;lt;/axis:soap-method&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;        &amp;lt;/axis:outbound-endpoint&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; And here is the response from the WS (which correspond to what I need):&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;soap:Envelope xmlns:soap=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;        &amp;lt;soap:Body&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                &amp;lt;ns1:getPersonResponse xmlns:ns1=&amp;quot;&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://www.bsb.com/incubator/esb&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                        &amp;lt;person xmlns=&amp;quot;ns1&amp;quot; id=&amp;quot;147778-603-37&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                                &amp;lt;firstName&amp;gt;Lannie&amp;lt;/firstName&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                                &amp;lt;lastName&amp;gt;Mccleve&amp;lt;/lastName&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                                &amp;lt;zipCode&amp;gt;8930&amp;lt;/zipCode&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                                &amp;lt;mailAddress&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27947222&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tpq@...&lt;/a&gt;&amp;lt;/mailAddress&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                        &amp;lt;/person&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;                &amp;lt;/ns1:getPersonResponse&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;        &amp;lt;/soap:Body&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;/soap:Envelope&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I hope someone can help me figure this out.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Olivier&lt;br&gt;
&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.&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; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&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;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27947102.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27947102.html&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the Mule - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Axis--WS-Call-tp27945013p27947222.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27947136</id>
	<title>Re: [Axis] WS Call</title>
	<published>2010-03-18T08:21:35Z</published>
	<updated>2010-03-18T08:21:35Z</updated>
	<author>
		<name>Olivier Roger</name>
	</author>
	<content type="html">In fact PersonType is an interface.
&lt;br&gt;The class created by XMLBeans is ns1.impl.PersonTypeImpl.
&lt;br&gt;&lt;br&gt;I used the class since it is the output specified in the WS.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Olivier Roger&quot;&gt;&lt;br&gt;Thank you for your reply.
&lt;br&gt;&lt;br&gt;I added the PersonType class but it does not changes anything
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;axis:connector name=&amp;quot;axis&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;beanTypes&amp;quot;&amp;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;spring:list&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:value&amp;gt;ns1.PersonType&amp;lt;/spring:value&amp;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;/spring:list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/spring:property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/axis:connector&amp;gt;
&lt;br&gt;&lt;br&gt;It it the class I am refering to in the return-parameter tag:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;Am I doing this correclty ?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Tiger Code-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I Axis bean registry is not having Person class serializer Axis transport
&lt;br&gt;and endpoint level properties give you way to define List &amp;nbsp;beanTypes which
&lt;br&gt;will resolve your isssue..explore axis transport with beanTypes
&lt;br&gt;&lt;br&gt;On Thu, Mar 18, 2010 at 8:41 AM, Olivier Roger &amp;lt;olivier.roger@bsb.com&amp;gt;wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello Mule,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I currently have issues to call a WS using the Axis transport.
&lt;br&gt;&amp;gt; I can call the WS which take a string as input parameter. However I get an
&lt;br&gt;&amp;gt; error when Axis tries to Deserializing the answer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.xml.sax.SAXException: Deserializing parameter 'person': &amp;nbsp;could not find
&lt;br&gt;&amp;gt; deserializer for type {&lt;a href=&quot;http://www.w3.org/2001/XMLSchema&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;}ns1.PersonType
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/Axis.WS.log&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/Axis.WS.log&lt;/a&gt;&amp;nbsp;Click here to see the
&lt;br&gt;&amp;gt; whole
&lt;br&gt;&amp;gt; stacktrace
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The return type is the class ns1.PersonType generated by XMLBeans.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/W1.wsdl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/W1.wsdl&lt;/a&gt;&amp;nbsp;Here is the full WSDL file .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In any case it would be sufficient to have the response as a large string
&lt;br&gt;&amp;gt; of
&lt;br&gt;&amp;gt; XML. It would be best to have the PersonType object.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is my endpoint definition:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;axis:outbound-endpoint
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; address=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;quot;
&lt;br&gt;&amp;gt; serviceNamespace=&amp;quot;&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;&amp;quot;&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;axis:soap-method
&lt;br&gt;&amp;gt; method=&amp;quot;qname{getPerson:&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;}&amp;quot;&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;axis:soap-parameter parameter=&amp;quot;qname{socialId}&amp;quot;
&lt;br&gt;&amp;gt; type=&amp;quot;string&amp;quot; mode=&amp;quot;IN&amp;quot;
&lt;br&gt;&amp;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;axis:soap-parameter parameter=&amp;quot;qname{person:ns1}&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;type=&amp;quot;ns1:person&amp;quot;
&lt;br&gt;&amp;gt; mode=&amp;quot;OUT&amp;quot; /&amp;gt; &amp;lt;!-- not sure about this --&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;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot;/&amp;gt; &amp;lt;!-- not
&lt;br&gt;&amp;gt; sure about this --&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;/axis:soap-method&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/axis:outbound-endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And here is the response from the WS (which correspond to what I need):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;soap:Envelope xmlns:soap=&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;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;soap:Body&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;ns1:getPersonResponse xmlns:ns1=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.bsb.com/incubator/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb&lt;/a&gt;&amp;quot;&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;person xmlns=&amp;quot;ns1&amp;quot; id=&amp;quot;147778-603-37&amp;quot;&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;firstName&amp;gt;Lannie&amp;lt;/firstName&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;lastName&amp;gt;Mccleve&amp;lt;/lastName&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;zipCode&amp;gt;8930&amp;lt;/zipCode&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;mailAddress&amp;gt;tpq@rd.bsb.com&amp;lt;/mailAddress&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;/person&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;/ns1:getPersonResponse&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/soap:Body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/soap:Envelope&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I hope someone can help me figure this out.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Axis--WS-Call-tp27945013p27947136.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27947102</id>
	<title>Re: [Axis] WS Call</title>
	<published>2010-03-18T08:18:27Z</published>
	<updated>2010-03-18T08:18:27Z</updated>
	<author>
		<name>Olivier Roger</name>
	</author>
	<content type="html">Thank you for your reply.
&lt;br&gt;&lt;br&gt;I added the PersonType class but it does not changes anything
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;axis:connector name=&amp;quot;axis&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:property name=&amp;quot;beanTypes&amp;quot;&amp;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;spring:list&amp;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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;spring:value&amp;gt;ns1.PersonType&amp;lt;/spring:value&amp;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;/spring:list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/spring:property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/axis:connector&amp;gt;
&lt;br&gt;&lt;br&gt;It it the class I am refering to in the return-parameter tag:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;Am I doing this correclty ?
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Tiger Code-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I Axis bean registry is not having Person class serializer Axis transport
&lt;br&gt;and endpoint level properties give you way to define List &amp;nbsp;beanTypes which
&lt;br&gt;will resolve your isssue..explore axis transport with beanTypes
&lt;br&gt;&lt;br&gt;On Thu, Mar 18, 2010 at 8:41 AM, Olivier Roger &amp;lt;olivier.roger@bsb.com&amp;gt;wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello Mule,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I currently have issues to call a WS using the Axis transport.
&lt;br&gt;&amp;gt; I can call the WS which take a string as input parameter. However I get an
&lt;br&gt;&amp;gt; error when Axis tries to Deserializing the answer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.xml.sax.SAXException: Deserializing parameter 'person': &amp;nbsp;could not find
&lt;br&gt;&amp;gt; deserializer for type {&lt;a href=&quot;http://www.w3.org/2001/XMLSchema&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;}ns1.PersonType
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/Axis.WS.log&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/Axis.WS.log&lt;/a&gt;&amp;nbsp;Click here to see the
&lt;br&gt;&amp;gt; whole
&lt;br&gt;&amp;gt; stacktrace
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The return type is the class ns1.PersonType generated by XMLBeans.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/file/p27945013/W1.wsdl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/W1.wsdl&lt;/a&gt;&amp;nbsp;Here is the full WSDL file .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In any case it would be sufficient to have the response as a large string
&lt;br&gt;&amp;gt; of
&lt;br&gt;&amp;gt; XML. It would be best to have the PersonType object.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is my endpoint definition:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;axis:outbound-endpoint
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; address=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;quot;
&lt;br&gt;&amp;gt; serviceNamespace=&amp;quot;&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;&amp;quot;&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;axis:soap-method
&lt;br&gt;&amp;gt; method=&amp;quot;qname{getPerson:&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;}&amp;quot;&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;axis:soap-parameter parameter=&amp;quot;qname{socialId}&amp;quot;
&lt;br&gt;&amp;gt; type=&amp;quot;string&amp;quot; mode=&amp;quot;IN&amp;quot;
&lt;br&gt;&amp;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;axis:soap-parameter parameter=&amp;quot;qname{person:ns1}&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;type=&amp;quot;ns1:person&amp;quot;
&lt;br&gt;&amp;gt; mode=&amp;quot;OUT&amp;quot; /&amp;gt; &amp;lt;!-- not sure about this --&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;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot;/&amp;gt; &amp;lt;!-- not
&lt;br&gt;&amp;gt; sure about this --&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;/axis:soap-method&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/axis:outbound-endpoint&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And here is the response from the WS (which correspond to what I need):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;soap:Envelope xmlns:soap=&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;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;soap:Body&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;ns1:getPersonResponse xmlns:ns1=&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.bsb.com/incubator/esb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb&lt;/a&gt;&amp;quot;&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;person xmlns=&amp;quot;ns1&amp;quot; id=&amp;quot;147778-603-37&amp;quot;&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;firstName&amp;gt;Lannie&amp;lt;/firstName&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;lastName&amp;gt;Mccleve&amp;lt;/lastName&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;zipCode&amp;gt;8930&amp;lt;/zipCode&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;mailAddress&amp;gt;tpq@rd.bsb.com&amp;lt;/mailAddress&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;/person&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;/ns1:getPersonResponse&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/soap:Body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/soap:Envelope&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I hope someone can help me figure this out.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Olivier
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mule - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Axis--WS-Call-tp27945013p27947102.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27947053</id>
	<title>Re: [Axis] WS Call</title>
	<published>2010-03-18T08:11:14Z</published>
	<updated>2010-03-18T08:11:14Z</updated>
	<author>
		<name>Tiger Code-2</name>
	</author>
	<content type="html">I Axis bean registry is not having Person class serializer Axis transport and endpoint level properties give you way to define List  beanTypes which will resolve your isssue..explore axis transport with beanTypes&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Thu, Mar 18, 2010 at 8:41 AM, Olivier Roger &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27947053&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;olivier.roger@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;br&gt;
Hello Mule,&lt;br&gt;
&lt;br&gt;
I currently have issues to call a WS using the Axis transport.&lt;br&gt;
I can call the WS which take a string as input parameter. However I get an&lt;br&gt;
error when Axis tries to Deserializing the answer.&lt;br&gt;
&lt;br&gt;
org.xml.sax.SAXException: Deserializing parameter &amp;#39;person&amp;#39;:  could not find&lt;br&gt;
deserializer for type {&lt;a href=&quot;http://www.w3.org/2001/XMLSchema}ns1.PersonType&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema}ns1.PersonType&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/file/p27945013/Axis.WS.log&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/Axis.WS.log&lt;/a&gt; Click here to see the whole&lt;br&gt;
stacktrace&lt;br&gt;
&lt;br&gt;
The return type is the class ns1.PersonType generated by XMLBeans.&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/file/p27945013/W1.wsdl&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/file/p27945013/W1.wsdl&lt;/a&gt; Here is the full WSDL file .&lt;br&gt;
&lt;br&gt;
In any case it would be sufficient to have the response as a large string of&lt;br&gt;
XML. It would be best to have the PersonType object.&lt;br&gt;
&lt;br&gt;
Here is my endpoint definition:&lt;br&gt;
&lt;br&gt;
        &amp;lt;axis:outbound-endpoint&lt;br&gt;
&lt;br&gt;
address=&amp;quot;&lt;a href=&quot;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://localhost:9999/esb-webapp-application-1.0-SNAPSHOT/incubator/esb/xml/W1?method=getPerson&lt;/a&gt;&amp;quot;&lt;br&gt;

serviceNamespace=&amp;quot;&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;
                &amp;lt;axis:soap-method&lt;br&gt;
method=&amp;quot;qname{getPerson:&lt;a href=&quot;http://www.bsb.com/incubator/esb/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb/&lt;/a&gt;}&amp;quot;&amp;gt;&lt;br&gt;
                        &amp;lt;axis:soap-parameter parameter=&amp;quot;qname{socialId}&amp;quot; type=&amp;quot;string&amp;quot; mode=&amp;quot;IN&amp;quot;&lt;br&gt;
/&amp;gt;&lt;br&gt;
                        &amp;lt;axis:soap-parameter parameter=&amp;quot;qname{person:ns1}&amp;quot;  type=&amp;quot;ns1:person&amp;quot;&lt;br&gt;
mode=&amp;quot;OUT&amp;quot; /&amp;gt; &amp;lt;!-- not sure about this --&amp;gt;&lt;br&gt;
                        &amp;lt;axis:soap-return type=&amp;quot;ns1.PersonType&amp;quot;/&amp;gt; &amp;lt;!-- not sure about this --&amp;gt;&lt;br&gt;
                &amp;lt;/axis:soap-method&amp;gt;&lt;br&gt;
        &amp;lt;/axis:outbound-endpoint&amp;gt;&lt;br&gt;
&lt;br&gt;
And here is the response from the WS (which correspond to what I need):&lt;br&gt;
&lt;br&gt;
&amp;lt;soap:Envelope xmlns:soap=&amp;quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;
        &amp;lt;soap:Body&amp;gt;&lt;br&gt;
                &amp;lt;ns1:getPersonResponse xmlns:ns1=&amp;quot;&lt;a href=&quot;http://www.bsb.com/incubator/esb&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.bsb.com/incubator/esb&lt;/a&gt;&amp;quot;&amp;gt;&lt;br&gt;
                        &amp;lt;person xmlns=&amp;quot;ns1&amp;quot; id=&amp;quot;147778-603-37&amp;quot;&amp;gt;&lt;br&gt;
                                &amp;lt;firstName&amp;gt;Lannie&amp;lt;/firstName&amp;gt;&lt;br&gt;
                                &amp;lt;lastName&amp;gt;Mccleve&amp;lt;/lastName&amp;gt;&lt;br&gt;
                                &amp;lt;zipCode&amp;gt;8930&amp;lt;/zipCode&amp;gt;&lt;br&gt;
                                &amp;lt;mailAddress&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27947053&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tpq@...&lt;/a&gt;&amp;lt;/mailAddress&amp;gt;&lt;br&gt;
                        &amp;lt;/person&amp;gt;&lt;br&gt;
                &amp;lt;/ns1:getPersonResponse&amp;gt;&lt;br&gt;
        &amp;lt;/soap:Body&amp;gt;&lt;br&gt;
&amp;lt;/soap:Envelope&amp;gt;&lt;br&gt;
&lt;br&gt;
I hope someone can help me figure this out.&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
&lt;br&gt;
Olivier&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/-Axis--WS-Call-tp27945013p27945013.html&lt;/a&gt;&lt;br&gt;
Sent from the Mule - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Axis--WS-Call-tp27945013p27947053.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27946775</id>
	<title>Re: how to develop webapp with mule?</title>
	<published>2010-03-18T07:54:55Z</published>
	<updated>2010-03-18T07:54:55Z</updated>
	<author>
		<name>Edu Pereda-2</name>
	</author>
	<content type="html">Here is a webapp example that you can use to get started: &lt;a href=&quot;http://www.mulesoft.org/display/MULE2INTRO/Mule+Examples+Webapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mulesoft.org/display/MULE2INTRO/Mule+Examples+Webapp&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Thu, Mar 18, 2010 at 11:49 AM, li geng &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=27946775&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mule.user.relay@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;&quot;&gt;
Hi all,&lt;br&gt;
I&amp;#39;m trying to develop web application with mule, but i don&amp;#39;t know how to do?&lt;br&gt;
I used to develop webapp based on struts and spring, now i want to redo it with mule.&lt;br&gt;
&lt;br&gt;
i have some questions:&lt;br&gt;
1) request -&amp;gt; action controller -&amp;gt; jsp page, now when a request is sent to the mule server, how to return to jsp page and what kind of form&lt;br&gt;
&lt;br&gt;
2)action controller accept multiple parameters, the mule can do it ? how ?&lt;br&gt;
&lt;br&gt;
Actually i want to get some examples or tell me how to  get it.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank you in advance,&lt;br&gt;
&lt;br&gt;
gengli&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-develop-webapp-with-mule--tp27946707p27946775.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27946707</id>
	<title>how to develop webapp with mule?</title>
	<published>2010-03-18T07:49:54Z</published>
	<updated>2010-03-18T07:49:54Z</updated>
	<author>
		<name>test testing</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;I'm trying to develop web application with mule, but i don't know how to do?
&lt;br&gt;I used to develop webapp based on struts and spring, now i want to redo it with mule.
&lt;br&gt;&lt;br&gt;i have some questions:
&lt;br&gt;1) request -&amp;gt; action controller -&amp;gt; jsp page, now when a request is sent to the mule server, how to return to jsp page and what kind of form
&lt;br&gt;&lt;br&gt;2)action controller accept multiple parameters, the mule can do it ? how ?
&lt;br&gt;&lt;br&gt;Actually i want to get some examples or tell me how to &amp;nbsp;get it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you in advance,
&lt;br&gt;&lt;br&gt;gengli
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-develop-webapp-with-mule--tp27946707p27946707.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27946589</id>
	<title>Re: jms to component pool</title>
	<published>2010-03-18T07:42:05Z</published>
	<updated>2010-03-18T07:42:05Z</updated>
	<author>
		<name>Steve A.</name>
	</author>
	<content type="html">Yes, I read that but still don't see a way to specify the equal distribution of jms messages across my pool of components.
&lt;br&gt;&lt;br&gt;So, I'm going to have to have each component in the pool do the equal distribution I guess.
&lt;br&gt;&lt;br&gt;Steve
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;andy e-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Steve,
&lt;br&gt;&lt;br&gt;I'm assuming you've toyed around with the threading-profiles for your
&lt;br&gt;connectors/services? Ch. 16 of Mule in Action does a pretty good job
&lt;br&gt;of explaining this.
&lt;br&gt;FWIW, we tried adjusting these to get a single(ton) component to
&lt;br&gt;handle messages of a JMS topic in order they were received and didn't
&lt;br&gt;find success (did in an alternate fashion using Mule's synchronous and
&lt;br&gt;other settings), but we didn't dig too deep into it, either.
&lt;br&gt;&lt;br&gt;andy
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jms-to-component-pool-tp27921245p27946589.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27946069</id>
	<title>Re: Return Value</title>
	<published>2010-03-18T07:09:16Z</published>
	<updated>2010-03-18T07:09:16Z</updated>
	<author>
		<name>cabma</name>
	</author>
	<content type="html">Hi, the solution is that the option synchronous=&amp;quot;true&amp;quot; must be add to all &amp;lt;vm:outbound endpoint&amp;gt; and everything works.
&lt;br&gt;&lt;br&gt;In Mule 2.0.2 that was not necessary. Is that because of a bug in the new version?
&lt;br&gt;&lt;br&gt;Thank you again.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-Value-tp27943998p27946069.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-27945694</id>
	<title>Reply ASAP&gt;&gt;&gt; Pls... Pls...Pls... (HOW TO WRITE IN A EXCEL SHEET FROM JSP THROUGH MULE)</title>
	<published>2010-03-18T06:44:13Z</published>
	<updated>2010-03-18T06:44:13Z</updated>
	<author>
		<name>Divya.A</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have a JSP page with 2 input textbox. The value from the JSP form should be stored in XLS(EXCEL SHEET) through MULE.... This is a web application embedding Mule... 
&lt;br&gt;&lt;br&gt;As far as now i have got the input from thye Jsp page... &lt;b&gt;I m not able to write it in Excel sheet&lt;/b&gt;... I have attached the config file with transformer class.... 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pls help me ASAP..............
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;MY CONFIG FILE&lt;/b&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;custom-transformer name=&amp;quot;BeanToXlsTransformer&amp;quot; class=&amp;quot;com.elosi.esb.BeanToXlsTransformer&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;model name=&amp;quot;elosi-esb&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;service name=&amp;quot;2PC&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;inbound&amp;gt;
&lt;br&gt;&amp;lt;inbound-endpoint address=&amp;quot;vm://elosiesb&amp;quot; synchronous=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/inbound&amp;gt;
&lt;br&gt;&amp;lt;!-- must i use particular component? Map object? --&amp;gt;
&lt;br&gt;&amp;lt;component class=&amp;quot;com.elosi.esb.direct&amp;quot;&amp;gt;&amp;lt;/component&amp;gt;
&lt;br&gt;&amp;lt;outbound&amp;gt;
&lt;br&gt;&amp;lt;pass-through-router&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;lt;file:outbound-endpoint path=&amp;quot;D:/xsl1&amp;quot; transformer-refs=&amp;quot;BeanToXlsTransformer&amp;quot;/&amp;gt;&lt;/b&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;i&gt;I know this is wrong... With what i should replace this????&lt;/i&gt;&lt;/b&gt;&lt;br&gt;&amp;lt;/pass-through-router&amp;gt;
&lt;br&gt;&amp;lt;/outbound&amp;gt;
&lt;br&gt;&amp;lt;/service&amp;gt;
&lt;br&gt;&amp;lt;/model&amp;gt;
&lt;br&gt;&amp;lt;/mule&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;BEAN TO XLS TRANSFORMER CLASS&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;import java.io.*;
&lt;br&gt;import java.io.ByteArrayOutputStream;
&lt;br&gt;import java.io.FileInputStream;
&lt;br&gt;import java.io.InputStream;
&lt;br&gt;import java.util.Map;
&lt;br&gt;import net.sf.jxls.transformer.XLSTransformer;
&lt;br&gt;import org.mule.api.transformer.TransformerException;
&lt;br&gt;import org.mule.transformer.AbstractTransformer;
&lt;br&gt;public class BeanToXlsTransformer extends AbstractTransformer {
&lt;br&gt;private XLSTransformer transformer = new XLSTransformer();
&lt;br&gt;private String template;
&lt;br&gt;private InputStream templateInputStream;
&lt;br&gt;File file=new File(&amp;quot;D:/employees.xls&amp;quot;);
&lt;br&gt;protected Object doTransform(Object src, String encoding) throws TransformerException {
&lt;br&gt;Map beans = (Map) src;
&lt;br&gt;System.out.println(&amp;quot;-----------&amp;quot;+beans);
&lt;br&gt;ByteArrayOutputStream out = null;
&lt;br&gt;try{
&lt;br&gt;templateInputStream = new FileInputStream(file);
&lt;br&gt;System.out.println(&amp;quot;!!!!!!!!!&amp;quot;+templateInputStream);
&lt;br&gt;out = new ByteArrayOutputStream();
&lt;br&gt;transformer.transformXLS(templateInputStream, beans).write(out);
&lt;br&gt;System.out.println();
&lt;br&gt;}catch(Exception e){
&lt;br&gt;throw new TransformerException(this,e);
&lt;br&gt;}
&lt;br&gt;return out.toByteArray();
&lt;br&gt;}
&lt;br&gt;public void setTemplate(String template) {
&lt;br&gt;this.template = template;
&lt;br&gt;}
&lt;br&gt;public Object clone() throws CloneNotSupportedException {
&lt;br&gt;BeanToXlsTransformer clone = (BeanToXlsTransformer) super.clone();
&lt;br&gt;clone.setTemplate(template);
&lt;br&gt;return clone;
&lt;br&gt;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;b&gt;THE CLASS WHERE I GET THE JSP INPUT&lt;/b&gt;&lt;br&gt;package com.elosi.esb;
&lt;br&gt;&lt;br&gt;import java.io.IOException;
&lt;br&gt;import java.text.ParseException;
&lt;br&gt;import java.util.HashMap;
&lt;br&gt;import java.util.Map;
&lt;br&gt;&lt;br&gt;import javax.servlet.ServletException;
&lt;br&gt;import javax.servlet.http.HttpServlet;
&lt;br&gt;import javax.servlet.http.HttpServletRequest;
&lt;br&gt;import javax.servlet.http.HttpServletResponse;
&lt;br&gt;&lt;br&gt;import org.mule.module.client.MuleClient;
&lt;br&gt;import org.mule.api.MuleMessage;
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* Servlet implementation class direct
&lt;br&gt;*/
&lt;br&gt;public class direct extends HttpServlet {
&lt;br&gt;private static final long serialVersionUID = 1L;
&lt;br&gt;private String mail;
&lt;br&gt;private String mdp;
&lt;br&gt;public String getMail() {
&lt;br&gt;return mail;
&lt;br&gt;}
&lt;br&gt;public void setMail(String mail) {
&lt;br&gt;this.mail = mail;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public String getMdp() {
&lt;br&gt;return mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setMdp(String mdp) {
&lt;br&gt;this.mdp = mdp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#HttpServlet()
&lt;br&gt;*/
&lt;br&gt;public direct() {
&lt;br&gt;super();
&lt;br&gt;// TODO Auto-generated constructor stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;// TODO Auto-generated method stub
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
&lt;br&gt;*/
&lt;br&gt;protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;String mail = request.getParameter(&amp;quot;mail&amp;quot;);
&lt;br&gt;String mdp = request.getParameter(&amp;quot;mdp&amp;quot;);
&lt;br&gt;Utilisateur u = new Utilisateur(mail,mdp);
&lt;br&gt;MuleClient client = new MuleClient();
&lt;br&gt;MuleMessage message = client.send(&amp;quot;vm://elosiesb&amp;quot;,u,null);}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;// TODO: handle exception
&lt;br&gt;}}
&lt;br&gt;&lt;br&gt;public Object process(Object object) throws Exception
&lt;br&gt;{
&lt;br&gt;System.out.println(object.getClass());
&lt;br&gt;return getData((com.elosi.esb.Utilisateur)object);
&lt;br&gt;}
&lt;br&gt;Map&amp;lt;String,String&amp;gt; getData(com.elosi.esb.Utilisateur email) throws ParseException{
&lt;br&gt;Map result = new HashMap();
&lt;br&gt;try
&lt;br&gt;{
&lt;br&gt;result.put(&amp;quot;mail&amp;quot;,email.getMail());
&lt;br&gt;result.put(&amp;quot;mdp&amp;quot;,email.getMdp());
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;catch (Exception e) {
&lt;br&gt;e.printStackTrace();
&lt;br&gt;}
&lt;br&gt;return result;
&lt;br&gt;}
&lt;br&gt;}
&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Divya.&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reply-ASAP%3E%3E%3E-Pls...-Pls...Pls...-%28HOW-TO-WRITE-IN-A-EXCEL-SHEET-FROM-JSP-THROUGH-MULE%29-tp27945694p27945694.html" />
</entry>

</feed>
