ScriptSOAPReq details

The ScriptSOAPReq methods enable you to perform such tasks as getting data and metadata that is passed to the endpoint and getting the endpoint name.

Table 1. ScriptSOAPReq methods
ScriptSOAPReq methods Purpose
getData() Gets byte[] data that has been passed to the endpoint.
getMetaData() Gets the metadata java.util.Map object that was passed in to the endpoint. This metadata contains some of the JMS or Kafka message headers.
getEndPointName()) Gets the endpoint name.
setURL(String url) Sets the URL to be called. This value overrides the URL if that is set in the endpoint configuration.
getURL() Returns the URL string to be invoked.
addHeader(String ns, String name, String value) Adds SOAP header and value pair to the request. ns specifies the namespace for the header element.
getHeaderProps() Gets the soap header and value Map<QName,List<String>> for the request.