org.codehaus.xfire.test
Class ServiceEndpoints

java.lang.Object
  extended by org.codehaus.xfire.test.ServiceEndpoints

public class ServiceEndpoints
extends java.lang.Object

Contains various ServiceEndpoint implementations. Mainly used throughout all the test classes which need ServiceEndpoint to test their code.

Author:
Arjen Poutsma
See Also:
Service

Method Summary
static Service getEchoFaultService()
          Returns the endpoint for an echo service with faults.
static Service getEchoService()
          Returns the endpoint for an echo service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEchoService

public static Service getEchoService()
Returns the endpoint for an echo service. The returned endpoint has the namespace http://test.xfire.codehaus.org, and it's name is Echo. It has on operation named echo, with an input message echoRequest and an output message echoResponse. Both messages contain a single part, named echoRequestin0 and echoResponseout respectively.

The endpoints Class and Method are mapped to EchoImpl.

Returns:
an echo service endpoint.

getEchoFaultService

public static Service getEchoFaultService()
Returns the endpoint for an echo service with faults. This method returns the same as getEchoService(), but adds a fault to the operation. The fault is named echoFault, and has one part echoFault0.

Returns:
the echo service endpoint.


Copyright © 2004-2011. All Rights Reserved.