...
- Install ServiceMix Kernel
Inside the Runtime console, launch the following commands:Code Block features addUrl mvn:http://svnpeople.apache.org/repos/asf/servicemix/smx4/obr-repo/features-nmr-1.0-m1.xmlrepo/m2-snapshot-repository<at:var at:name="snapshots" />norelease!org.apache.servicemix.nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT features install nmr nmr
You should have the following output:
No Formatpanel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| solid
|
Installing an example
Inside the Kernel console, launch the following commands:
Alternatively, you can also use the following commands:Code Block features addUrl mvn:http://svnpeople.apache.org/repos/asf/servicemix/smx4/obr-repo/features-nmr-1.0-m1.xml wsdl-first-example repo/m2-snapshot-repository<at:var at:name="snapshots" />norelease!org.apache.servicemix.nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/xml/features features install jbi
Code Block osgi install -s jbi:mvn:org.apache.servicemix/servicemix-shared-compat/3.2.1/zip/installer osgi install -s jbi:mvn:org.apache.servicemix/servicemix-jsr181/3.2.1/zip/installer osgi install -s jbi:mvn:org.apache.servicemix/servicemix-http/3.2.1/zip/installer osgi install -s jbi:mvn:org.apache.servicemix.samples.wsdl-first/wsdl-first-sa/3.2.1/zip
- The Maven protocol enables you access to the maven repository artifacts based on the groupId, artifactId, version and type.
Code Block groupId - org.apache.servicemix artifactId - servicemix-shared-compat version - 3.2.1 type - zip/installer
- Check the JBI components and Service Assembly are started:
No Formatpanel bgColor #000000 borderStyleNo Format solidnopanel true gnodet@Guillaume-Nodets-MacPro.local:/> jbi list Shared Libraries \---------------\- servicemix-shared - 3.2.1 - ServiceMix :: Shared Compat Components \---------\- servicemix-jsr181 - Started - ServiceMix :: JSR-181 Service Engine servicemix-http - Started - ServiceMix :: HTTP Service Assemblies \-----------------\- wsdl-first-sa - Started - ServiceMix :: Samples :: WSDL first :: SA
- Point your web browser to the following location to see the WSDL of the deployed web service:
Code Block http://guillaume-nodets-macpro.local:8192/PersonService/main.wsdl
- Download the following html locally, browse it in your web browser and see the service in action:
Code Block http://svn.apache.org/repos/asf/servicemix/smx3/trunk/tags/servicemix-3.2.1/samples/wsdl-first/client.html
- Shutdown the Service Assembly by running the following command:
Code Block jbi shutdown wsdl-first-sa
...