Versions Compared

Key

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

...

  1. To deploy the sample  service on the server run the following command, from the  <PRODUCT_HOME>\samples\Jaxws-Jaxrs\<JAX-RS-Sample-Folder> directory. To determine <JAX-WS-Sample>, see JAX-WS Sample Folder.

    Code Block
    ant
  2. Start the application server and access its Management Console at https://localhost:9443/carbon.
  3. On the Main menu, under Services, click List.
    The Deployed Services window will appear.
  4. Click on the respective JAX-RS sample (e.g., async_jaxws).
  5. Execute one of the following commands to run the client:

    OSCommand
    On Windows
    run-client.bat
    On Linux/Solaris
    sh run-client.sh           
Info

For different options, run:

Code Block
sh run-client.sh -help
JAX-WS Sample Folder
SampleJAX-WS Sample Folder

Asynchronous Invocation

async_jaxws

Build and Invoke a Service Using a WSDL

wsdl_first_jaxws

Develop Services in Code-First Approach

java_first_jaxws

JAX-WS Handlers

handlers_jaxws

MTOM Sample for SWA and XOP

mtom_jaxws

WS-Security Sample on Signature and Encryption

sign_encrypt _jaxws

WS-Security Sample on UsernameToken and Timestamp

ws_security\ut