THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
 
  Apache ServiceMix NMR #usernavbar() #printableicon() #pdficon() #feedicon()  
When you contribute content to this Wiki, you grant a license to the ASF for inclusion in ASF works (as per the Apache Software License).
  1. Quick Start

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Install ServiceMix Kernel
  • Inside the Runtime console, launch the following commands:
    Code Block
    features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0-m3/xml/features
    features install nmr
    nmr
    

...

Panel
bgColor#000000

No Format
nopaneltrue
gnodet@Guillaume-Nodets-MacPro.localsmx@root:/> features /addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0-m3/xml/features
gnodet@Guillaume-Nodets-MacPro.localsmx@root:/> features /install nmr
gnodet@Guillaume-Nodets-MacPro.local:/> nmr
servicemix nmr>

Installing an example

  • Inside the Kernel console, launch the following commands:
    Code Block
    features /addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0-m3/xml/features
    features /install jbi
    osgi /install -s jbi:mvn:org.apache.servicemix/servicemix-shared-compat/32009.2.101/zip/installer
    osgi /install -s jbi:mvn:org.apache.servicemix/servicemix-jsr181/32009.2.101/zip/installer
    osgi /install -s jbi:mvn:org.apache.servicemix/servicemix-http/32009.2.101/zip/installer
    osgi /install -s jbi:mvn:org.apache.servicemix.samples.wsdl-first/wsdl-first-sa/3.2.13/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 - 32009.2.101
    type - zip/installer
    
  • Check the JBI components and Service Assembly are started:
    Panel
    bgColor#000000

    No Format
    nopaneltrue
    gnodet@Guillaume-Nodets-MacPro.localsmx@root:/> jbi/list list
    Shared Libraries
    ----------------
    servicemix-shared - 32009.2.101 - ServiceMix :: Shared Compat
    
    Components
    ----------
       State                  Name                  Description
    [Started ] [servicemix-jsr181 - Started -             ]     ServiceMix :: JSR-181 Service Engine
    [Started ] [servicemix-http - Started -               ]     ServiceMix :: HTTP
    
    Service Assemblies
    ------------------
       State                  Name                  Description
    [Started ] [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.locallocalhost: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/tags/servicemix-3.2.13/samples/wsdl-first/client.html
    
  • Shutdown the Service Assembly by running the following command:
    Code Block
    jbi /shutdown wsdl-first-sa
    

#top

...