WebServicesRequest

public class WebServicesRequest

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

Author:Hugo Y. K. Lam

Constructors

WebServicesRequest

WebServicesRequest()

Creates a new instance of WebServicesRequest.

WebServicesRequest

WebServicesRequest(Object source)

Creates a new instance of WebServicesRequest.

Parameters:
  • source – the source which initiated this request.

Methods

getBodies

public Element[] getBodies()

Gets the body elements of the Web Services request message.

Returns:the bodies of the Web Services request message.

getSource

public Object getSource()

Gets the source which initiated this request.

Returns:the source which initiated this request.

setBodies

void setBodies(Element[] bs)

Sets the body elements of the Web Services request message.

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

setSource

void setSource(Object source)

Sets the source which initiated this request.

Parameters:
  • source – the source which initiated this request.