WebServicesResponse

public class WebServicesResponse

The WebServicesResponse class represents a Web Services response. It is independent of which access protocol it is using and contains the bodies of the response message.

Author:Hugo Y. K. Lam

Constructors

WebServicesResponse

WebServicesResponse()

Creates a new instance of WebServicesResponse.

WebServicesResponse

WebServicesResponse(Object target)

Creates a new instance of WebServicesResponse.

Parameters:
  • target – the target that this response should be committed to.

Methods

getBodies

public Element[] getBodies()

Gets the body elements of the Web Services response message.

Returns:the bodies of the Web Services response message.

getTarget

public Object getTarget()

Gets the target that this response should be committed to.

Returns:the target that this response should be committed to.

setBodies

public void setBodies(Element[] bs)

Sets the body elements of the Web Services response message.

Parameters:
  • bs – the bodies of the Web Services response message.

setTarget

void setTarget(Object target)

Sets the target that this response should be committed to.

Parameters:
  • target – the target that this response should be committed to.