|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWSDLInterceptor
Implementations of this interface can be used to intercept WSDL fetches for WSRP
operations on the consumer side. This may be used to modify the WSDL's URL the ports' URLs
or to set a TransportInfo which may be used to setup a HTTP-proxy or 2-Way-SSL.
To register an implementation of this interface:
Set the system property: com.bea.wsrp.consumer.wsdl.IWSDLInterceptor
to the
fully-qualified class name of your interceptor which implements this interface.
Example:
-Dcom.bea.wsrp.consumer.wsdl.IWSDLInterceptor=com.example.wsrp.WSDLInterceptor
Nested Class Summary | |
---|---|
static class |
IWSDLInterceptor.OnWSDLException
What to do after an IO Failure has occurred |
static class |
IWSDLInterceptor.PreInvoke
What to after preInvoke is called |
Method Summary | |
---|---|
IWSDLInterceptor.OnWSDLException |
onWSDLException(IWSDLRequestContext requestContext,
IWSDLResponseContext responseContext,
weblogic.wsee.wsdl.WsdlException t)
Invoked when there is exception while sending the request or receiving the response. |
void |
postInvoke(IWSDLRequestContext requestContext,
IWSDLResponseContext responseContext)
Invoked after receiving the WSDL. |
IWSDLInterceptor.PreInvoke |
preInvoke(IWSDLRequestContext requestContext)
Invoked before requesting a WSDL |
Method Detail |
---|
IWSDLInterceptor.PreInvoke preInvoke(IWSDLRequestContext requestContext) throws IOException
requestContext
- a request context object that represents input data for
the resource
IOException
- If the interceptor throws an IOException it will be handled by the container.void postInvoke(IWSDLRequestContext requestContext, IWSDLResponseContext responseContext) throws IOException
requestContext
- a request context object that represents input data for
the resourceresponseContext
- a response context object that represents output data from
the WSDL. The response context will be empty if the
preInvoke method had returned false.
IOException
- If the interceptor throws an IOException it will be handled by the servlet container.IWSDLInterceptor.OnWSDLException onWSDLException(IWSDLRequestContext requestContext, IWSDLResponseContext responseContext, weblogic.wsee.wsdl.WsdlException t) throws IOException
requestContext
- a request context object that represents input data for
the resourceresponseContext
- an empty response context, so that an implementation can
populate it and return true.t
- an exception that represents an IO failure.
IOException
- If the interceptor throws an IOException it will be handled by the container and no further processing will be done.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |