public class SOAPFactory
extends java.lang.Object
CREATE SOAP-HEADER
and
CREATE SOAP-HEADER-ENTRYREF
language statements.Constructor and Description |
---|
SOAPFactory() |
Modifier and Type | Method and Description |
---|---|
(package private) static SOAPFaultImpl |
createSOAPFault(java.lang.String faultActor,
java.lang.String faultCode,
java.lang.String faultString,
SOAPFaultDetailImpl soapFaultDetail)
Create a new
SOAPFaultImpl resource. |
(package private) static SOAPFaultDetailImpl |
createSOAPFaultDetail(java.lang.String payload)
Create a new
SOAPFaultDetailImpl resource using the given XML payload. |
static void |
createSOAPHeader(handle h)
Create a SOAP-HEADER object and save it in the given handle.
|
static void |
createSOAPHeader(handle h,
character pool)
Create a SOAP-HEADER object, save it in the given handle and register it in the given
named widget-pool.
|
static void |
createSOAPHeader(handle h,
java.lang.String pool)
Create a SOAP-HEADER object, save it in the given handle and register it in the given
named widget-pool.
|
static void |
createSOAPHeaderEntry(handle h)
Create a SOAP-HEADER-ENTRYREF object and save it in the given handle.
|
static void |
createSOAPHeaderEntry(handle h,
character pool)
Create a SOAP-HEADER-ENTRYREF object, save it in the given handle and register it in the
given named widget-pool.
|
static void |
createSOAPHeaderEntry(handle h,
java.lang.String pool)
Create a SOAP-HEADER-ENTRYREF object, save it in the given handle and register it in the
given named widget-pool.
|
(package private) static void |
throwError(java.lang.String caller,
java.lang.String target)
Throws an
ErrorConditionException or sets the ErrorManager 's pending
flag to true , if we are in silent error mode. |
public static void createSOAPHeader(handle h)
h
- A handle variable, field or class member where the SOAP-HEADER will be saved.public static void createSOAPHeader(handle h, java.lang.String pool)
h
- A handle variable, field or class member where the SOAP-HEADER will be saved.pool
- The name of the widget pool. null
if the unnamed pool must be used.public static void createSOAPHeader(handle h, character pool)
h
- A handle variable, field or class member where the SOAP-HEADER will be saved.pool
- The name of the widget pool. null
if the unnamed pool must be used.public static void createSOAPHeaderEntry(handle h)
h
- A handle variable, field or class member where the SOAP-HEADER-ENTRYREF will be
saved.public static void createSOAPHeaderEntry(handle h, java.lang.String pool)
h
- A handle variable, field or class member where the SOAP-HEADER-ENTRYREF will be
saved.pool
- The name of the widget pool. null
if the unnamed pool must be used.public static void createSOAPHeaderEntry(handle h, character pool)
h
- A handle variable, field or class member where the SOAP-HEADER-ENTRYREF will be
saved.pool
- The name of the widget pool. null
if the unnamed pool must be used.static SOAPFaultDetailImpl createSOAPFaultDetail(java.lang.String payload)
SOAPFaultDetailImpl
resource using the given XML payload.payload
- The XML payload.SOAPFaultDetailImpl
for the given XML payload.static SOAPFaultImpl createSOAPFault(java.lang.String faultActor, java.lang.String faultCode, java.lang.String faultString, SOAPFaultDetailImpl soapFaultDetail)
SOAPFaultImpl
resource.faultActor
- The SOAP fault actor.faultCode
- The SOAP fault code.faultString
- The SOAP fault string.soapFaultDetail
- The SOAP fault detail
; may be null
.static void throwError(java.lang.String caller, java.lang.String target)
ErrorConditionException
or sets the ErrorManager
's pending
flag to true
, if we are in silent error mode.caller
- The name of the resource calling this API.target
- The name of the resource's method or attribute which needs to raise an ERROR
condition or set the ERROR-STATUS:ERROR flag to true
.