Skip to main content
Kinetic Community

Sample SOAP Hello World

Calls the SOAP based 'EchoService' web service, passing the desired greeting and target and returns the resulting message. If the 'name' parameter is present, that person will be greeted. Otherwise, the world will be greeted.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

sample_soap_hello_world_v1.zip

Detailed Description

Calls the SOAP based 'EchoService' web service, passing the desired greeting and
target and returns the resulting message.  If the 'name' parameter is present,
that person will be greeted.  Otherwise, the world will be greeted.
 
The handler builds a SOAP request message, including the greeting as a header
parameter and the name as a body parameter, and calls the echo method of the
EchoService SOAP based web service.  This handler is intended to be a sample,
providing code that can act as a template for other handlers that utilize SOAP
based web services.
 
For more information about SOAP, see http://en.wikipedia.org/wiki/SOAP
 
This handler utilizes a sample SoapEcho web application that is included within
the resources directory of the handler package.  The sample SoapEcho web
application can be deployed into a Servlet container such as Tomcat and includes
both source and compiled code.  The web application contains a single Class
that is exposed as the "EchoService" web service.  The SoapEcho web application
wsdl file can be displayed via the http://HOST:PORT/SoapEcho/ws/EchoService?wsdl
url.
 
For more information on how to use Savon, the Ruby SOAP library used by this
handler, see http://rubiii.github.com/savon/.
 

Parameters

Name Description
Greetings   The expression to use for a greeting.
Name   An optional name to greet.  If this value is blank, the world will be greeted.

Sample Configuration

Parameter Example Configuration
Greetings Hola
Name Obi wan Kenobi

Results

Name Description
Messages
 The complete greeting returned by the SOAP service.  This will be in a format
  similar to: {Greeting} {Name}!

Change Log

Version Date Description
V1 2011-02-18 Initial Version