readme

Download Readme

If you can't read please download the document

Upload: marcos-martinez

Post on 11-Jan-2016

214 views

Category:

Documents


2 download

DESCRIPTION

RDME

TRANSCRIPT

To deploy any example in Ode just copy its whole directory to theWEB-INF/processes directory of your deployed exploded webapp. Tobe able to easily send messages put the bin directory or Ode'sdistribution in your path:Windowsset PATH=%PATH%;PATH_TO_ODE\binLinuxexport PATH=$PATH:PATH_TO_ODE/binThe sendsoap command can either be executed using sendsoap.bat underWindows or sendsoap with Linux (replace accordingly in thefollowing command line examples).Hello World 2=============Demonstrates a simple service invocation that synchronously replies toa message. Built using WS-BPEL 2.0 syntax. After deployment, start aprocess with the command:sendsoap http://localhost:8080/ode/processes/helloWorld testRequest.soapPlease make sure that you execute the command from the example directory. The response should be a SOAP message containing the'hello world' string.Dynamic Partner===============Demonstrates dynamic partner assignment. The main process asks for theresponder process endpoint. The responder process gives its endpoint byassigning it to a message (assign my role) and replying this message tothe main process. The main process invokes again the responder processbut this time using the endpoint it just receives instead of thedefault one.After deployment, start a process with the command:sendsoap http://localhost:8080/ode/processes/DynMainService testRequest.soapPlease make sure that you execute the command from the example directory. The response should be an 'OK' SOAP message, showingthat all invocations have been successful.Magic Session=============Demonstrates the usage of "magic sessions" or implicit correlation. Odesupports implicit correlation between two processes or with otherservices using a session-based protocol. So you don't need to provideany correlation mechanism to establish a stateful interaction (see Ode'swebsite for more information).After deployment, start a process with the command:sendsoap http://localhost:8080/ode/processes/MSMainExecuteService testRequest.soapPlease make sure that you execute the command from the example directory. The response should be an 'OK' SOAP message, showingthat all invocations have been successful.