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"><sm:activationSpec componentName=<SPAN class="code-quote">"stockQuote"</SPAN> service=<SPAN class="code-quote">"foo:stockQuote"</SPAN> endpoint=<SPAN class="code-quote">"stockQuote"</SPAN>></SPAN>
- <SPAN class="code-tag"><sm:component></SPAN><SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.apache.servicemix.components.saaj.SaajBinding"</SPAN>></SPAN>
- <SPAN class="code-tag"><property name=<SPAN class="code-quote">"soapEndpoint"</SPAN>></SPAN>
- <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"javax.xml.messaging.URLEndpoint"</SPAN>></SPAN>
- <SPAN class="code-tag"><constructor-arg value=<SPAN class="code-quote">"http://64.124.140.30:9090/soap"</SPAN>/></SPAN>
- <SPAN class="code-tag"></bean></SPAN>
- <SPAN class="code-tag"></property></SPAN>
- <SPAN class="code-tag"></bean></SPAN><SPAN class="code-tag"></sm:component></SPAN>
- <SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
-</DIV></DIV>
+
<P> </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"><ns1:getQuote <SPAN class="code-keyword">xmlns:ns1</SPAN>=<SPAN class="code-quote">"urn:xmethods-delayed-quotes"</SPAN> <SPAN class="code-keyword">xmlns:xsi</SPAN>=<SPAN class="code-quote">"http://www.w3.org/1999/XMLSchema-instance"</SPAN> <SPAN class="code-keyword">xmlns:se</SPAN>=<SPAN class="code-quote">"http://schemas.xmlsoap.org/soap/envelope/"</SPAN> se:encodingStyle=<SPAN class="code-quote">"http://schemas.xmlsoap.org/soap/encoding/"</SPAN>></SPAN>
-
- <SPAN class="code-tag"><symbol xsi:type=<SPAN class="code-quote">"xsd:string"</SPAN>></SPAN>SUNW<SPAN class="code-tag"></symbol></SPAN>
-<SPAN class="code-tag"></ns1:getQuote></SPAN></PRE>
-</DIV></DIV>
<P> </P>
<P>Below is the expected response:</P>
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-xml"><SPAN class="code-tag"><n:getQuoteResponse <SPAN class="code-keyword">xmlns:n</SPAN>=<SPAN class="code-quote">"urn:xmethods-delayed-quotes"</SPAN> <SPAN class="code-keyword">xmlns:xsd</SPAN>=<SPAN class="code-quote">"http://www.w3.org/2001/XMLSchema"</SPAN> <SPAN class="code-keyword">xmlns:xsi</SPAN>=<SPAN class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</SPAN>></SPAN>
- <SPAN class="code-tag"><Result xsi:type=<SPAN class="code-quote">"xsd:float"</SPAN>></SPAN>3.67<SPAN class="code-tag"></Result></SPAN>
-<SPAN class="code-tag"></n:getQuoteResponse></SPAN></PRE>
-</DIV></DIV>
+
<P> </P>
<H3><A name="SAAJ-AdditionalResources"></A>Additional Resources</H3>