Versions Compared

Key

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

...

The service bus samples use several sample clients, configurations and sample back-end services in order to explain different use cases. The diagram below depicts the interaction between the sample clients, WSO2 Enterprise Integrator and the services at a high level. The clients are able to send SOAP/REST or POX messages over transports such as HTTP/HTTPS or JMS with WS-Addressing, or WS-Security. They can send binary optimized content using MTOM, SwA, binary or plain text JMS messages. After mediation through WSO2 Enterprise Integrator, the requests are passed over to sample services.

Image RemovedImage Added


...

Deploying samples in WSO2 EI

To start WSO2 Enterprise Integrator with a selected service bus sample configuration

  1. Open WSO2 Integration Studio.
  2. Copy the sample configuration from the samples documentation into the source view of the WSO2 Integration Studio project files.
  3. Start the server.

...

Anchor
Backend
Backend

Deploying sample back-end services

...

  1. Open a command prompt (or a shell in Linux) and go to the required sample folder in the <EI_HOME>/samples/axis2Server/src directory.
  2. Run ant from the selected sample directory.

    For example, to build and deploy SimpleStockQuoteService, run the ant command from the <EI_HOME>/samples/axis2Server/src/SimpleStockQuoteService directory, as follows:

    Code Block
    user@host:/tmp/wso2ei-6.1.1/samples/axis2Server/src/SimpleStockQuoteService$ ant
    Buildfile: build.xml
     ...
    build-service:
       ....
          [jar] Building jar: /tmp/wso2ei-6.06.0/samples/axis2Server/repository/services/SimpleStockQuoteService.aar
    
    BUILD SUCCESSFUL
    Total time: 1 second
  3. Next, you need to start the Axis2 server

...