You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/10/02 02:18:56 UTC

svn commit: r451844 - /incubator/servicemix/site/main/users-space.html

Author: chirino
Date: Sun Oct  1 17:18:56 2006
New Revision: 451844

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

Modified:
    incubator/servicemix/site/main/users-space.html

Modified: incubator/servicemix/site/main/users-space.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/users-space.html?view=diff&rev=451844&r1=451843&r2=451844
==============================================================================
--- incubator/servicemix/site/main/users-space.html (original)
+++ incubator/servicemix/site/main/users-space.html Sun Oct  1 17:18:56 2006
@@ -168,6 +168,9 @@
 
 <P>The first thing to do now is install the <SPAN class="nobr"><A href="http://servicemix.org/sm30ug/1-quick-start.html#1.Quickstart-Deployasampleapplication" title="Visit page outside Confluence" rel="nofollow">wsdl-first<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> service assembly (SA) which contains a few service units (SU&apos;s) (<SPAN class="nobr"><A href="https://sdlc6a.sun.com/ECom/EComActionServlet;jsessionid=728961EE41294F2FB2547B82D037F02E" title="Visit page outside Confluence" rel="nofollow">See JBI specification document<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 end result is a XFire based SOAP service which is pretty simple. The actual code for the service is in the file [Servicemix_binary_distribution_home]/examples/
 wsdl-first/wsdl-first-jsr181-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java. Phew&#33; Take a look at the code, it is pretty simple. It uses an <SPAN class="nobr"><A href="http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html" title="Visit page outside Confluence" rel="nofollow">annotation<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> which describes the class as a <SPAN class="nobr"><A href="http://dev2dev.bea.com/webservices/jwsm.html" title="Visit page outside Confluence" rel="nofollow">jsr181<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> web service. One interesting thing to note about this project is the use of an ant task inside the parent pom.xml. This taks uses XFire&apos;s WsGenTask to create J
 ava objects used by the web service, as described in the WSDL file.</P>
 
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD><B class="strong">About this example</B><BR>
+<P>This example is a good starting place if you are interested in creating a SOAP service in Smix. After reviewing the full code you should have a grasp on creating a simple POJO web service.</P></TD></TR></TABLE>
+
 <P>So let&apos;s get this up and running in our Smix container. <SPAN class="nobr"><A href="http://servicemix.org/sm30ug/1-quick-start.html#1.Quickstart-Starttheserver" title="Visit page outside Confluence" rel="nofollow">Start<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> Smix, watch the output to make sure things start up correctly. You will need to open up a new console for the next step, since the Smix output is taking up the other. You will be able to watch this output to see what is going on in some of the following steps. Go back to [Servicemix_binary_distribution_home]. You need to copy the components needed by the wsdl-first SA from the /components folder to the /install folder. The ones you should copy are:</P>
 <UL>
 	<LI>servicemix-http-3.0-incubating-SNAPSHOT-installer.zip</LI>
@@ -229,14 +232,11 @@
 	<LI>Click the shutdown button. You will get a pop up window containing XML that tells you how the operation went. I hope that you see SUCCESS in the task-result element.</LI>
 	<LI>With the SA shutdown try to get the <SPAN class="nobr"><A href="http://localhost:8192/PersonService/main.wsdl" title="Visit page outside Confluence" rel="nofollow">WSDL<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> and use the client.html app to contact the web service. Niether will work.</LI>
 	<LI>Let us start the SA again, click the start button in the operations window. You again get a pop up with XML.</LI>
+	<LI>Try again to get the WSDL or hit the web service using the client.html app. Both should now work.</LI>
 </UL>
 
 
-<UL>
-	<LI>Try again to get the WSDL or hit the web service using the client.html app. Both should now work.<BR>
-<DIV align="center"><IMG src="users-space.data/jconsole.jpg" border="0"></DIV></LI>
-</UL>
-
+<P><DIV align="center"><IMG src="users-space.data/jconsole.jpg" border="0"></DIV></P>
 
 <P>So this is brief but should give you a good idea of how easy it can be to manage your Servicemix instance(s).</P>
 
@@ -253,7 +253,7 @@
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A>,
     last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=robottaway">Robert Ottaway</A> on Oct 02, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=13814&originalId=13895">view change</A>)
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=13814&originalId=13896">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=13814">edit page</A>)
     </DIV>