|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.webservices.handler.nocomponent
Class EchoStringHandler
java.lang.Object
|
+--weblogic.webservice.GenericHandler
|
+--examples.webservices.handler.nocomponent.EchoStringHandler
- All Implemented Interfaces:
- javax.xml.rpc.handler.Handler
- public final class EchoStringHandler
- extends weblogic.webservice.GenericHandler
Class that implements the weblogic.webservice.GenericHandler
abstract class. The GenericHandler class implements the
javax.xml.rpc.handler.Handler interface.
This class accesses the SOAP request message. Because the Web service does
not use a backend component, the class creates a SOAP response message that is
sent back to the client application that invoked it.
The class only implements the handleRequest and
handleResponse methods - it does not implement the
init, destroy, handleFault, and
getHeaders methods.
- Author:
- Copyright (c) 2002 by BEA Systems. All Rights Reserved.
|
Method Summary |
boolean |
handleRequest(javax.xml.rpc.handler.MessageContext messageContext)
Specifies that when the Web service receives the SOAP request message, a
message be logged to the log file. |
boolean |
handleResponse(javax.xml.rpc.handler.MessageContext messageContext)
Creates a SOAP response message. |
| Methods inherited from class weblogic.webservice.GenericHandler |
destroy, getHandlerInfo, getHeaders, handleFault, init |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EchoStringHandler
public EchoStringHandler()
handleRequest
public boolean handleRequest(javax.xml.rpc.handler.MessageContext messageContext)
- Specifies that when the Web service receives the SOAP request message, a
message be logged to the log file.
- Overrides:
handleRequest in class weblogic.webservice.GenericHandler
handleResponse
public boolean handleResponse(javax.xml.rpc.handler.MessageContext messageContext)
- Creates a SOAP response message. This is necessary because the Web
service does not invoke a backend component.
- Overrides:
handleResponse in class weblogic.webservice.GenericHandler
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.