servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r471540 - in /incubator/servicemix/site/main: pojo-support.html quartz.html reflection.html rss.html saaj.html
Date Sun, 05 Nov 2006 21:49:10 GMT
Author: chirino
Date: Sun Nov  5 13:49:09 2006
New Revision: 471540

URL: http://svn.apache.org/viewvc?view=rev&rev=471540
Log:
Latest export from confluence

Modified:
    incubator/servicemix/site/main/pojo-support.html
    incubator/servicemix/site/main/quartz.html
    incubator/servicemix/site/main/reflection.html
    incubator/servicemix/site/main/rss.html
    incubator/servicemix/site/main/saaj.html

Modified: incubator/servicemix/site/main/pojo-support.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/pojo-support.html?view=diff&rev=471540&r1=471539&r2=471540
==============================================================================
--- incubator/servicemix/site/main/pojo-support.html (original)
+++ incubator/servicemix/site/main/pojo-support.html Sun Nov  5 13:49:09 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components.html" title="Components">Components</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="POJO support">POJO support</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components-list.html" title="Components list">Components list</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="POJO support">POJO support</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">
@@ -113,27 +113,151 @@
 <!--          
             <div class="pagetitle">POJO support</div>
 -->
-            <DIV class="wiki-content">
-<P>ServiceMix provides support for <EM>JBI POJOs</EM> in addition to the usual JBI Components. JBI Components are maybe not as lightweight as they could be; there&apos;s a bunch of methods on there for dealing with metadata, management and capabilities along with a lifecycle object.</P>
+            <DIV class="wiki-content"><P>ServiceMix provides support for <EM>JBI POJOs</EM> in addition to the usual JBI Components. JBI Components are maybe not as lightweight as they could be; there&apos;s a bunch of methods on there for dealing with metadata, management and capabilities along with a lifecycle object.</P>
 
-<P>ServiceMix introduces the idea of a JBI POJO which is any Java object which implements the <SPAN class="nobr"><A href="http://servicemix.org/maven/apidocs/javax/jbi/component/ComponentLifeCycle.html" title="Visit page outside Confluence" rel="nofollow">ComponentLifeCycle<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> interface and uses dependency injection to configure itself.</P>
+<P>ServiceMix introduces the idea of a JBI POJO which is any Java object which implements the <SPAN class="nobr"><A href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/ComponentLifeCycle.html" title="Visit page outside Confluence" rel="nofollow">ComponentLifeCycle<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> interface and uses dependency injection to configure itself.</P>
 
-<P>Adding an instance of ComponentLifeCycle to the SpringJBIContainer will automatically wrap the POJO in a JBI <SPAN class="nobr"><A href="http://servicemix.org/maven/apidocs/org/servicemix/jbi/component/ComponentAdaptor.html" title="Visit page outside Confluence" rel="nofollow">ComponentAdaptor<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> so that it faithfully obeys the JBI Component contract.</P>
+<P>Adding an instance of ComponentLifeCycle to the SpringJBIContainer will automatically wrap the POJO in a JBI <SPAN class="nobr"><A href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/org/apache/servicemix/components/util/ComponentAdaptor.html" title="Visit page outside Confluence" rel="nofollow">ComponentAdaptor<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> so that it faithfully obeys the JBI Component contract.</P>
 
-<P>This means you can write JBI POJOs to be deployed by Spring without deriving from some helper base class like ServiceMix&apos;s <SPAN class="nobr"><A href="http://servicemix.org/maven/apidocs/org/servicemix/jbi/component/ComponentSupport.html" title="Visit page outside Confluence" rel="nofollow">ComponentSupport<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> so that your POJO has no dependency other than on the JBI APIs and then let ServiceMix take care of more of the plumbing for you.</P>
+<P>This means you can write JBI POJOs to be deployed by Spring without deriving from some helper base class like ServiceMix&apos;s <SPAN class="nobr"><A href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/org/apache/servicemix/components/util/ComponentSupport.html" title="Visit page outside Confluence" rel="nofollow">ComponentSupport<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> so that your POJO has no dependency other than on the JBI APIs and then let ServiceMix take care of more of the plumbing for you.</P>
 
 <H2><A name="POJOsupport-ExamplePOJOComponents"></A>Example POJO Components</H2>
 
 <P>First here&apos;s how we configure the two components in ServiceMix. Notice that ServiceMix is doing the routing here using <B>destinationService</B>.</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;beans <SPAN class="code-keyword">xmlns:sm</SPAN>=<SPAN class="code-quote">&quot;http://servicemix.apache.org/config/1.0&quot;</SPAN> 
+	   <SPAN class="code-keyword">xmlns:foo</SPAN>=<SPAN class="code-quote">&quot;http://servicemix.org/cheese/&quot;</SPAN>&gt;
+
+  <SPAN class="code-tag">&lt;sm:container id=<SPAN class="code-quote">&quot;jbi&quot;</SPAN> embedded=<SPAN class="code-quote">&quot;true&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;sm:activationSpecs&gt;</SPAN>
+
+      <SPAN class="code-tag">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;sender&quot;</SPAN> service=<SPAN class="code-quote">&quot;foo:sender&quot;</SPAN> destinationService=<SPAN class="code-quote">&quot;foo:receiver&quot;</SPAN>&gt;</SPAN>
+      	<SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.pojo.MySender&quot;</SPAN> /&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN>
+
+      <SPAN class="code-tag">&lt;sm:activationSpec id=<SPAN class="code-quote">&quot;receiver&quot;</SPAN> service=<SPAN class="code-quote">&quot;foo:receiver&quot;</SPAN>&gt;</SPAN>
+      	<SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.pojo.MyReceiver&quot;</SPAN>/&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN>
 
+    <SPAN class="code-tag">&lt;/sm:activationSpecs&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/sm:container&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>&nbsp;</P>
 
 <P>Now lets look at the sender POJO. The sendMessages() method will send messages onto the JBI bus to the destination service specified in the above XML.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class MySender <SPAN class="code-keyword">implements</SPAN> ComponentLifeCycle {
+    <SPAN class="code-keyword">private</SPAN> ComponentContext context;
+    <SPAN class="code-keyword">private</SPAN> ObjectName extensionMBeanName;
+
+
+    /**
+     * Sends a number of messages
+     */
+    <SPAN class="code-keyword">public</SPAN> void sendMessages(<SPAN class="code-object">int</SPAN> count) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+        DeliveryChannel deliveryChannel = context.getDeliveryChannel();
+        MessageExchangeFactory factory = deliveryChannel.createExchangeFactory();
+
+        <SPAN class="code-keyword">for</SPAN> (<SPAN class="code-object">int</SPAN> i = 0; i &lt; count; i++) {
+            InOnly exchange = factory.createInOnlyExchange();
+            NormalizedMessage message = exchange.createMessage();
+            exchange.setInMessage(message);
+
+            message.setProperty(<SPAN class="code-quote">&quot;id&quot;</SPAN>, <SPAN class="code-keyword">new</SPAN> <SPAN class="code-object">Integer</SPAN>(i));
+            message.setContent(<SPAN class="code-keyword">new</SPAN> StringSource(<SPAN class="code-quote">&quot;&lt;example id=&apos;&quot;</SPAN> + i + <SPAN class="code-quote">&quot;&apos;/&gt;&quot;</SPAN>));
+
+            deliveryChannel.send(exchange);
+        }
+    }
+
+    <SPAN class="code-comment">// ComponentLifeCycle <SPAN class="code-keyword">interface</SPAN>
+</SPAN>    <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN>    <SPAN class="code-keyword">public</SPAN> ObjectName getExtensionMBeanName() {
+        <SPAN class="code-keyword">return</SPAN> extensionMBeanName;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void init(ComponentContext context) <SPAN class="code-keyword">throws</SPAN> JBIException {
+        <SPAN class="code-keyword">this</SPAN>.context = context;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void shutDown() <SPAN class="code-keyword">throws</SPAN> JBIException {
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void start() <SPAN class="code-keyword">throws</SPAN> JBIException {
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void stop() <SPAN class="code-keyword">throws</SPAN> JBIException {
+    }
+
+
+    <SPAN class="code-comment">// Properties
+</SPAN>    <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN>    <SPAN class="code-keyword">public</SPAN> void setExtensionMBeanName(ObjectName extensionMBeanName) {
+        <SPAN class="code-keyword">this</SPAN>.extensionMBeanName = extensionMBeanName;
+    }
+}</PRE>
+</DIV></DIV>
 <P>&nbsp;</P>
 
 <P>Then the receiver processes inbound messages as follows.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class MyReceiver <SPAN class="code-keyword">implements</SPAN> ComponentLifeCycle, MessageExchangeListener {
+	<SPAN class="code-keyword">private</SPAN> <SPAN class="code-keyword">static</SPAN> <SPAN class="code-keyword">final</SPAN> Log log = LogFactory.getLog(MyReceiver.class);
+	
+    <SPAN class="code-keyword">private</SPAN> ComponentContext context;
+    <SPAN class="code-keyword">private</SPAN> ObjectName extensionMBeanName;
+    <SPAN class="code-keyword">private</SPAN> MessageList messageList = <SPAN class="code-keyword">new</SPAN> MessageList();
+
+
+    <SPAN class="code-comment">// ComponentLifeCycle <SPAN class="code-keyword">interface</SPAN>
+</SPAN>    <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN>    <SPAN class="code-keyword">public</SPAN> ObjectName getExtensionMBeanName() {
+        <SPAN class="code-keyword">return</SPAN> extensionMBeanName;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void init(ComponentContext context) <SPAN class="code-keyword">throws</SPAN> JBIException {
+        <SPAN class="code-keyword">this</SPAN>.context = context;
+
+        <SPAN class="code-comment">// Lets activate myself
+</SPAN>        context.activateEndpoint(<SPAN class="code-keyword">new</SPAN> QName(<SPAN class="code-quote">&quot;http:<SPAN class="code-comment">//servicemix.org/cheese/&quot;</SPAN>, <SPAN class="code-quote">&quot;receiver&quot;</SPAN>), <SPAN class="code-quote">&quot;receiver&quot;</SPAN>);
+</SPAN>    }
+
+    <SPAN class="code-keyword">public</SPAN> void shutDown() <SPAN class="code-keyword">throws</SPAN> JBIException {
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void start() <SPAN class="code-keyword">throws</SPAN> JBIException {
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void stop() <SPAN class="code-keyword">throws</SPAN> JBIException {
+    }
+
+    <SPAN class="code-comment">// MessageExchangeListener <SPAN class="code-keyword">interface</SPAN>
+</SPAN>    <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN>    <SPAN class="code-keyword">public</SPAN> void onMessageExchange(MessageExchange exchange) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+        log.info(<SPAN class="code-quote">&quot;Received message &quot;</SPAN> + exchange);
+        NormalizedMessage message = exchange.getMessage(<SPAN class="code-quote">&quot;in&quot;</SPAN>);
+        getMessageList().addMessage(message);
+        exchange.setStatus(ExchangeStatus.DONE);
+        context.getDeliveryChannel().send(exchange);
+    }
+
+    <SPAN class="code-comment">// Properties
+</SPAN>    <SPAN class="code-comment">//-------------------------------------------------------------------------
+</SPAN>    <SPAN class="code-keyword">public</SPAN> void setExtensionMBeanName(ObjectName extensionMBeanName) {
+        <SPAN class="code-keyword">this</SPAN>.extensionMBeanName = extensionMBeanName;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> MessageList getMessageList() {
+        <SPAN class="code-keyword">return</SPAN> messageList;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void setMessageList(MessageList messageList) {
+        <SPAN class="code-keyword">this</SPAN>.messageList = messageList;
+    }
+}</PRE>
+</DIV></DIV>
 <P>&nbsp;</P>
 
 <H2><A name="POJOsupport-BeingevenmorePOJO"></A>Being even more POJO</H2>
@@ -143,11 +267,48 @@
 <P>Another option is to be even more POJO-like. If you just want to invoke operations on the JBI bus then there&apos;s no need for you to implement the JBI component or lifecycle contract - you can just reuse the <A href="client-api.html" title="Client API">Client API</A>.</P>
 
 <P>For example this POJO sends messages into the JBI bus.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class PojoSender {
+    <SPAN class="code-keyword">private</SPAN> ServiceMixClient client;
+
+    <SPAN class="code-keyword">public</SPAN> void sendMessages(<SPAN class="code-object">int</SPAN> count) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+        <SPAN class="code-keyword">for</SPAN> (<SPAN class="code-object">int</SPAN> i = 0; i &lt; count; i++) {
+            InOnly exchange = client.createInOnlyExchange();
+            NormalizedMessage message = exchange.getInMessage();
+
+            message.setProperty(<SPAN class="code-quote">&quot;id&quot;</SPAN>, <SPAN class="code-keyword">new</SPAN> <SPAN class="code-object">Integer</SPAN>(i));
+            message.setContent(<SPAN class="code-keyword">new</SPAN> StringSource(<SPAN class="code-quote">&quot;&lt;example id=&apos;&quot;</SPAN> + i + <SPAN class="code-quote">&quot;&apos;/&gt;&quot;</SPAN>));
+
+            client.send(exchange);
+        }
+    }
+
+    <SPAN class="code-keyword">public</SPAN> ServiceMixClient getClient() {
+        <SPAN class="code-keyword">return</SPAN> client;
+    }
+
+    <SPAN class="code-keyword">public</SPAN> void setClient(ServiceMixClient client) {
+        <SPAN class="code-keyword">this</SPAN>.client = client;
+    }
+}</PRE>
+</DIV></DIV>
 <P>&nbsp;</P>
 
 <P>And this is a POJO receiver which just consumes the messages its given, without explicitly implementing the component or lifecycle interfaces</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class PojoReceiver <SPAN class="code-keyword">implements</SPAN> MessageExchangeListener {
+    <SPAN class="code-keyword">private</SPAN> MessageList messageList = <SPAN class="code-keyword">new</SPAN> MessageList();
+
+    <SPAN class="code-keyword">public</SPAN> void onMessageExchange(MessageExchange exchange) <SPAN class="code-keyword">throws</SPAN> MessagingException {
+        NormalizedMessage message = exchange.getMessage(<SPAN class="code-quote">&quot;in&quot;</SPAN>);
+        getMessageList().addMessage(message);
+    }
+
+    <SPAN class="code-keyword">public</SPAN> MessageList getMessageList() {
+        <SPAN class="code-keyword">return</SPAN> messageList;
+    }
+}</PRE>
+</DIV></DIV>
 <P>&nbsp;</P></DIV>
           
                   </DIV>
@@ -158,8 +319,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on May 11, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1936&originalId=5192">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1936&originalId=14803">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1936">edit page</A>)
     </DIV>

Modified: incubator/servicemix/site/main/quartz.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/quartz.html?view=diff&rev=471540&r1=471539&r2=471540
==============================================================================
--- incubator/servicemix/site/main/quartz.html (original)
+++ incubator/servicemix/site/main/quartz.html Sun Nov  5 13:49:09 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components.html" title="Components">Components</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="Quartz">Quartz</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components-list.html" title="Components list">Components list</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="Quartz">Quartz</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">
@@ -118,7 +118,28 @@
 <BR clear="all">
 <BR clear="all">
 Here&apos;s an example of configuring a quartz component. You can add as many triggers as you wish to the component, at different timing intervals.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;timer&quot;</SPAN> service=<SPAN class="code-quote">&quot;my:timer&quot;</SPAN> destinationService=<SPAN class="code-quote">&quot;my:receiver&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.quartz.QuartzComponent&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;triggers&quot;</SPAN>&gt;</SPAN>
+      <SPAN class="code-tag">&lt;map&gt;</SPAN>
+        <SPAN class="code-tag">&lt;entry&gt;</SPAN>
+          <SPAN class="code-tag">&lt;key&gt;</SPAN>
+            <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.quartz.SimpleTrigger&quot;</SPAN>&gt;</SPAN>
+              <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;repeatInterval&quot;</SPAN> value=<SPAN class="code-quote">&quot;200&quot;</SPAN>/&gt;</SPAN>
+              <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;repeatCount&quot;</SPAN> value=<SPAN class="code-quote">&quot;20&quot;</SPAN>/&gt;</SPAN>
+            <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
+          <SPAN class="code-tag">&lt;/key&gt;</SPAN>
+            <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.quartz.JobDetail&quot;</SPAN>&gt;</SPAN>
+              <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;name&quot;</SPAN> value=<SPAN class="code-quote">&quot;My Example Job&quot;</SPAN>/&gt;</SPAN>
+              <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;group&quot;</SPAN> value=<SPAN class="code-quote">&quot;ServiceMix&quot;</SPAN>/&gt;</SPAN>
+            <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
+        <SPAN class="code-tag">&lt;/entry&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/map&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/property&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/bean&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+<SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN></PRE>
+</DIV></DIV>
 <P><B>Notes:</B></P>
 <UL>
 	<LI>The <SPAN class="nobr"><A href="http://www.opensymphony.com/quartz/api/org/quartz/SimpleTrigger.html" title="Visit page outside Confluence" rel="nofollow">SimpleTrigger<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> repeatCount value count is starting at zero, meaning repeatCount=0 triggers once, <B>repeatCount=1 triggers twice</B> etc. (Quartz v1.5)</LI>
@@ -163,35 +184,9 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Oct 07, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1982&originalId=14012">view change</A>)
-                      <SPAN id="show" class="inline-control-link"><A href="" onclick="showComment(); return false;">show comment</A></SPAN>
-        <SPAN id="hide" class="inline-control-link" style="display:none;"><A href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
-          <DIV id="versionComment" class="noteMacro" style="display:none; padding: 5px;">
-      <B>Comment:</B>
-      INS further explanation/help<BR>
-      <SPAN class="smalltext"><A href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=1982">View page history</A></SPAN>
-  </DIV>
-
-    <SCRIPT>
-      var show = document.getElementById('show');
-      var hide = document.getElementById('hide');
-      var versionComment = document.getElementById('versionComment');
-
-      function showComment(){
-        show.style.display = 'none';
-        hide.style.display = 'inline';
-        versionComment.style.display = 'block';
-      }
-
-      function hideComment(){
-        show.style.display = 'inline';
-        hide.style.display = 'none';
-        versionComment.style.display = 'none';
-      }
-
-    </SCRIPT>
-    
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1982&originalId=14804">view change</A>)
+              
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1982">edit page</A>)
     </DIV>
 

Modified: incubator/servicemix/site/main/reflection.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/reflection.html?view=diff&rev=471540&r1=471539&r2=471540
==============================================================================
--- incubator/servicemix/site/main/reflection.html (original)
+++ incubator/servicemix/site/main/reflection.html Sun Nov  5 13:49:09 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components.html" title="Components">Components</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="Reflection">Reflection</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components-list.html" title="Components list">Components list</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="Reflection">Reflection</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">
@@ -113,21 +113,37 @@
 <!--          
             <div class="pagetitle">Reflection</div>
 -->
-            <DIV class="wiki-content">
-<P>There are two JBI components for InOnly and InOut which create dynamic proxies which when methods are invoked they are dispatched into the JBI container.</P>
+            <DIV class="wiki-content"><P>There are two JBI components for InOnly and InOut which create dynamic proxies which when methods are invoked they are dispatched into the JBI container.</P>
 
-<P>For input the JBI components attach the reflection method invocation proxy, method name and arguments to the inbound MessageExchange for the JBI container to route. For output, the attached <SPAN class="nobr"><A href="http://servicemix.codehaus.org/maven/apidocs/org/servicemix/client/Marshaler.html" title="Visit page outside Confluence" rel="nofollow">Marshaler<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> is used to turn the response into a POJO.</P>
+<P>For input the JBI components attach the reflection method invocation proxy, method name and arguments to the inbound MessageExchange for the JBI container to route. For output, the attached <SPAN class="nobr"><A href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/org/apache/servicemix/jbi/messaging/PojoMarshaler.html" title="Visit page outside Confluence" rel="nofollow">Marshaler<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> is used to turn the response into a POJO.</P>
 
 <H3><A name="Reflection-InOnly"></A>InOnly</H3>
 
 <P>This example shows an InOnly reflection component being configured. This component then creates a dynamic proxy which when a method is invoked it will be passed into the JBI container.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;proxyCounter&quot;</SPAN>
+      endpoint=<SPAN class="code-quote">&quot;proxyCounter&quot;</SPAN> 
+      service=<SPAN class="code-quote">&quot;foo:proxyCounter&quot;</SPAN> 
+      destinationService=<SPAN class="code-quote">&quot;foo:reflectionCounter&quot;</SPAN>&gt;
+  <SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.reflection.ProxyInOnlyBinding&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;target&quot;</SPAN> ref=<SPAN class="code-quote">&quot;counter&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/bean&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+<SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>&nbsp;</P>
 
 <H3><A name="Reflection-InOut"></A>InOut</H3>
 
 <P>This example performs an InOut. So the dynamic proxy will call into the JBI container, block until a response is available and then return the unmarshalled value to the caller of the dynamic proxy&apos;s method.</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;reflectionCounter&quot;</SPAN>
+           service=<SPAN class="code-quote">&quot;foo:reflectionCounter&quot;</SPAN> 
+           endpoint=<SPAN class="code-quote">&quot;reflectionCounter&quot;</SPAN>&gt;
+  <SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.reflection.ReflectionOutBinding&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;target&quot;</SPAN> ref=<SPAN class="code-quote">&quot;counter&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/bean&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+<SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>&nbsp;</P></DIV>
           
                   </DIV>
@@ -138,8 +154,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on May 11, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2008&originalId=5194">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2008&originalId=14805">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=2008">edit page</A>)
     </DIV>

Modified: incubator/servicemix/site/main/rss.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/rss.html?view=diff&rev=471540&r1=471539&r2=471540
==============================================================================
--- incubator/servicemix/site/main/rss.html (original)
+++ incubator/servicemix/site/main/rss.html Sun Nov  5 13:49:09 2006
@@ -113,15 +113,35 @@
 <!--          
             <div class="pagetitle">RSS</div>
 -->
-            <DIV class="wiki-content">
-<P>We support working with RSS and Atom via the <SPAN class="nobr"><A href="http://wiki.java.net/bin/view/Javawsxml/Rome" title="Visit page outside Confluence" rel="nofollow">Rome<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>library. We support both the polling of existing RSS feeds to generate JBI messages and the generation of RSS feeds from JBI messages.</P>
+            <DIV class="wiki-content"><P>We support working with RSS and Atom via the <SPAN class="nobr"><A href="http://wiki.java.net/bin/view/Javawsxml/Rome" title="Visit page outside Confluence" rel="nofollow">Rome<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>library. We support both the polling of existing RSS feeds to generate JBI messages and the generation of RSS feeds from JBI messages.</P>
 
 <H2><A name="RSS-PollingRSS%2FAtomfeeds"></A>Polling RSS/Atom feeds</H2>
 
-<P>To see this component in action see the <SPAN class="nobr"><A href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM&title=RSS-binding&linkCreation=true&fromPageId=1899" title="Create Page: RSS-binding" class="createlink">Example<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> in the <A href="download.html" title="Download">binary distribution</A>.</P>
+<P>To see this component in action see the <A href="rss-binding.html" title="RSS-binding">Example</A> in the <A href="download.html" title="Download">binary distribution</A>.</P>
 
 <P>You can configure the RSS component as follows in your servicemix.xml</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- lets poll for updates to news sites --&gt;</SPAN></SPAN>
+<SPAN class="code-tag">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;rss&quot;</SPAN> service=<SPAN class="code-quote">&quot;my:rss&quot;</SPAN> destinationService=<SPAN class="code-quote">&quot;my:trace&quot;</SPAN>&gt;</SPAN>
+	<SPAN class="code-tag">&lt;sm:component&gt;</SPAN>
+		<SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.rss.RssPollingComponent&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;outputType&quot;</SPAN> value=<SPAN class="code-quote">&quot;rss_2.0&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;period&quot;</SPAN> value=<SPAN class="code-quote">&quot;5000&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;lastPolledDate&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;value&gt;</SPAN>2005/08/10<SPAN class="code-tag">&lt;/value&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/property&gt;</SPAN>
+
+
+  <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;urlStrings&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;list&gt;</SPAN>
+      <SPAN class="code-tag">&lt;value&gt;</SPAN>http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml<SPAN class="code-tag">&lt;/value&gt;</SPAN>
+      <SPAN class="code-tag">&lt;value&gt;</SPAN>http://rss.cnn.com/rss/cnn_topstories.rss<SPAN class="code-tag">&lt;/value&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/list&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/property&gt;</SPAN>
+		<SPAN class="code-tag">&lt;/bean&gt;</SPAN>
+	<SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+<SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>&nbsp;</P>
 
 <H2><A name="RSS-GeneratingRSS%2FAtomfeeds"></A>Generating RSS/Atom feeds</H2>
@@ -129,7 +149,27 @@
 <P>This component is used to consume inbound JBI messages and write them to an RSS/Atom feed. You can then use expressions to extract the title and entry content for the items.</P>
 
 <P>The following example shows using XPath expression</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;feedWriter&quot;</SPAN> 
+					 service=<SPAN class="code-quote">&quot;foo:feedWriter&quot;</SPAN>&gt;
+	<SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.rss.FeedWriter&quot;</SPAN>&gt;</SPAN>
+
+   <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;feedFile&quot;</SPAN> value=<SPAN class="code-quote">&quot;file:target/serviceMixFeed.xml&quot;</SPAN> /&gt;</SPAN>
+	
+   <SPAN class="code-tag"><SPAN class="code-comment">&lt;!--  define expressions for the entry title and value --&gt;</SPAN></SPAN>
+   <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;entryTitle&quot;</SPAN>&gt;</SPAN>
+     <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.expression.JaxenStringXPathExpression&quot;</SPAN>&gt;</SPAN>
+       <SPAN class="code-tag">&lt;constructor-arg value=<SPAN class="code-quote">&quot;concat(&apos;Message &apos;, /sample/@id, &apos; - &apos;, /sample/@sent)&quot;</SPAN> /&gt;</SPAN>
+     <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
+   <SPAN class="code-tag">&lt;/property&gt;</SPAN>
+   <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;entryValue&quot;</SPAN>&gt;</SPAN>
+     <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.expression.JaxenStringXPathExpression&quot;</SPAN>&gt;</SPAN>
+       <SPAN class="code-tag">&lt;constructor-arg value=<SPAN class="code-quote">&quot;concat(&apos;This is an entry with ID &apos;, /sample/@id, &apos; sent: &apos;, /sample/@sent, &apos;. There is not much else in the message to tell :)&apos;)&quot;</SPAN> /&gt;</SPAN>
+     <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
+   <SPAN class="code-tag">&lt;/property&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/bean&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+<SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>&nbsp;</P></DIV>
           
                   </DIV>
@@ -141,7 +181,7 @@
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=rajdavies">Rob Davies</A>,
     last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1899&originalId=14785">view change</A>)
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=1899&originalId=14806">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=1899">edit page</A>)
     </DIV>

Modified: incubator/servicemix/site/main/saaj.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/saaj.html?view=diff&rev=471540&r1=471539&r2=471540
==============================================================================
--- incubator/servicemix/site/main/saaj.html (original)
+++ incubator/servicemix/site/main/saaj.html Sun Nov  5 13:49:09 2006
@@ -36,7 +36,7 @@
         <TR>
           <TD align="left" valign="middle" nowrap="">
             <DIV id="site-breadcrumbs">
-<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components.html" title="Components">Components</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="SAAJ">SAAJ</A>
+<A href="home.html" title="ServiceMix">ServiceMix</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="components-list.html" title="Components list">Components list</A>&nbsp;&gt;&nbsp;<A href="lightweight-components.html" title="Lightweight components">Lightweight components</A>&nbsp;&gt;&nbsp;<A href="" title="SAAJ">SAAJ</A>
             </DIV>
           </TD>
           <TD align="right" valign="middle" nowrap="">
@@ -123,11 +123,31 @@
 <H3><A name="SAAJ-InvokingWebServicesUsingSAAJ"></A>Invoking Web Services Using SAAJ</H3>
 
 <P>ServiceMix includes a component for invoking web services using SAAJ and Axis via JBI, as an InOut message exchange. The InOut message exchange pattern (MEP) is a request response pattern where the output message is replaced by a fault, if the message is not successful. For more details on the InOut MEP please see <SPAN class="nobr"><A href="http://www.jcp.org/en/jsr/detail?id=208" title="Visit page outside Confluence" rel="nofollow">JSR 208<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. The following example invokes a web service to ask for a <SPAN class="nobr"><A href="http://xmethods.net/ve2/ViewListing.po?key=uuid:889A05A5-5C03-AD9B-D456-0E54A527EDEE" title="Visit page outside Confluence" rel="nofollow">stock price<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" bord
 er="0"></SUP></A></SPAN>:</P>
-
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;stockQuote&quot;</SPAN> service=<SPAN class="code-quote">&quot;foo:stockQuote&quot;</SPAN> endpoint=<SPAN class="code-quote">&quot;stockQuote&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.saaj.SaajBinding&quot;</SPAN>&gt;</SPAN>
+    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;soapEndpoint&quot;</SPAN>&gt;</SPAN>
+      <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;javax.xml.messaging.URLEndpoint&quot;</SPAN>&gt;</SPAN>
+        <SPAN class="code-tag">&lt;constructor-arg value=<SPAN class="code-quote">&quot;http://64.124.140.30:9090/soap&quot;</SPAN>/&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/property&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/bean&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
+ <SPAN class="code-tag">&lt;/sm:activationSpec&gt;</SPAN></PRE>
+</DIV></DIV>
 <P>To invoke this function, pass the following request body:</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;ns1:getQuote <SPAN class="code-keyword">xmlns:ns1</SPAN>=<SPAN class="code-quote">&quot;urn:xmethods-delayed-quotes&quot;</SPAN> <SPAN class="code-keyword">xmlns:xsi</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/1999/XMLSchema-instance&quot;</SPAN> <SPAN class="code-keyword">xmlns:se</SPAN>=<SPAN class="code-quote">&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;</SPAN> se:encodingStyle=<SPAN class="code-quote">&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;</SPAN>&gt;</SPAN>
 
-<P>Below is the expected response:</P>
+  <SPAN class="code-tag">&lt;symbol xsi:type=<SPAN class="code-quote">&quot;xsd:string&quot;</SPAN>&gt;</SPAN>SUNW<SPAN class="code-tag">&lt;/symbol&gt;</SPAN>
 
+<SPAN class="code-tag">&lt;/ns1:getQuote&gt;</SPAN></PRE>
+</DIV></DIV>
+<P>Below is the expected response:</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;n:getQuoteResponse <SPAN class="code-keyword">xmlns:n</SPAN>=<SPAN class="code-quote">&quot;urn:xmethods-delayed-quotes&quot;</SPAN> <SPAN class="code-keyword">xmlns:xsd</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/2001/XMLSchema&quot;</SPAN> <SPAN class="code-keyword">xmlns:xsi</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;Result xsi:type=<SPAN class="code-quote">&quot;xsd:float&quot;</SPAN>&gt;</SPAN>3.67<SPAN class="code-tag">&lt;/Result&gt;</SPAN>
+<SPAN class="code-tag">&lt;/n:getQuoteResponse&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="SAAJ-AdditionalResources"></A>Additional Resources</H3>
 
@@ -143,8 +163,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Aug 08, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2006&originalId=9590">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A> on Nov 08, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2006&originalId=14807">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=2006">edit page</A>)
     </DIV>



Mime
View raw message