You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by js...@apache.org on 2006/06/20 10:59:36 UTC

svn commit: r415572 - /incubator/servicemix/site/saaj.html

Author: jstrachan
Date: Tue Jun 20 01:59:35 2006
New Revision: 415572

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

Modified:
    incubator/servicemix/site/saaj.html

Modified: incubator/servicemix/site/saaj.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/saaj.html?rev=415572&r1=415571&r2=415572&view=diff
==============================================================================
--- incubator/servicemix/site/saaj.html (original)
+++ incubator/servicemix/site/saaj.html Tue Jun 20 01:59:35 2006
@@ -72,7 +72,7 @@
 	<LI><A href="background-to-servicemix.html" title="Background to ServiceMix">Background to ServiceMix</A></LI>
 	<LI><A href="news.html" title="News">News</A></LI>
 	<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
-	<LI><A href="site.html" title="Site">Site</A></LI>
+	<LI><A href="sitemap.html" title="SiteMap">Site</A></LI>
 	<LI><A href="download.html" title="Download">Download</A></LI>
 </UL>
 
@@ -232,35 +232,15 @@
 <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>&nbsp;</P>
 
 <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>
-
-  <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>&nbsp;</P>
 
 <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>
+
 <P>&nbsp;</P>
 
 <H3><A name="SAAJ-AdditionalResources"></A>Additional Resources</H3>