|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.portal.provider.v2.render.ManagedRenderer
oracle.portal.provider.v2.render.http.BaseManagedRenderer
oracle.portal.provider.v2.webservice.WebServiceRenderer
oracle.portal.provider.v2.webservice.DocWebServiceRenderer
public class DocWebServiceRenderer
DocWebServiceRenderer is a specialized WebServiceRenderer for invoking 'doc style' web services. A doc style web
service communicates through the interchange of XML documents of a
service-specific format, and can be identified from a <soap:binding
style="doc"> declaration in a WSDL (Web Services Description
Language) interface description.
The structure of the XML request to the web service and parameter bindings
into this structure should be defined by setting the literal
property to an appropriate LiteralXML object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.portal.provider.v2.webservice.WebServiceRenderer |
|---|
WebServiceRenderer.ConstParam, WebServiceRenderer.DefaultableParameterBinding, WebServiceRenderer.EditData, WebServiceRenderer.ParameterBinding, WebServiceRenderer.PromptedBinding, WebServiceRenderer.RequestParam, WebServiceRenderer.SessionAttrib, WebServiceRenderer.URLParam |
| Constructor Summary | |
|---|---|
DocWebServiceRenderer()
|
|
| Method Summary | |
|---|---|
void |
invokeService(WebServiceRenderRequest wrr,
org.w3c.dom.Element docEl)
Uses the given WebServiceRenderRequest to instantiate the
XML request structure described by the literal property (if
specified), invokes the web service, and adds its XML response to the
response XML document. |
void |
postInitialize()
Performs the extra steps required to initialize and validate a DocWebServiceRenderer once its properties have been set
with the appropriate accessor methods. |
void |
setEndpointURL(java.lang.String endpointURL)
Defines the URL through which the web service should be contacted. |
void |
setSoapAction(java.lang.String soapAction)
Defines the value to be set for the SOAPAction HTTP header,
if required. |
| Methods inherited from class oracle.portal.provider.v2.webservice.WebServiceRenderer |
|---|
addLiteral, getBindings, getEscapeOutput, getLiteral, getLogging, getLoggingDirectory, renderBody, renderEdit, renderEditDefaults, renderLink, renderShow, setEscapeOutput, setLogging, setLoggingDirectory, setResponseXSL, validate |
| Methods inherited from class oracle.portal.provider.v2.render.http.BaseManagedRenderer |
|---|
addParameter, getContentType, getGeneratesESI, preInitialize, prepareResponse, setContentType, setGeneratesESI, setGeneratesESI, setPageExpires, setPageExpires, setUseInvalidationCaching, setUseInvalidationCaching |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocWebServiceRenderer()
| Method Detail |
|---|
public void postInitialize()
throws NodeHandlerException
DocWebServiceRenderer once its properties have been set
with the appropriate accessor methods.
postInitialize in interface InitializableXMLObjectpostInitialize in class WebServiceRendererNodeHandlerException - if not all properties have been set
correctly
public void setEndpointURL(java.lang.String endpointURL)
throws java.net.MalformedURLException
<soap:address> element of the
service's WSDL document.
java.net.MalformedURLExceptionpublic void setSoapAction(java.lang.String soapAction)
SOAPAction HTTP header,
if required. This can be determined from a web service's WSDL document
by the soapAction attribute of the
<soap:operation> element corresponding to the particular
operation you want to invoke.
public void invokeService(WebServiceRenderRequest wrr,
org.w3c.dom.Element docEl)
throws PortletException
WebServiceRenderRequest to instantiate the
XML request structure described by the literal property (if
specified), invokes the web service, and adds its XML response to the
response XML document.
invokeService in class WebServiceRendererwrr - an object exposing the relevant properties of the current
render requestdocEl - the document element of the XML document to which an XML
representation of the response should be added
PortletException - if an error occurs.
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||