org.apache.geronimo.webservices
Interface WebServiceContainer

All Superinterfaces:
Serializable

public interface WebServiceContainer
extends Serializable


Nested Class Summary
static interface WebServiceContainer.Request
           
static interface WebServiceContainer.Response
           
 
Field Summary
static String LOCATION_REPLACEMENT_TOKEN
          Token inserted into wsdl where location should be replaced with the real location
static String MESSAGE_CONTEXT
          Used when this WebServiceContainer is servicing a POJO implementing the ServiceLifecycle interface, in which case the WebServiceContainer is expected to put the JAX-RPC MessageContext it creates in the Request instance.
static String POJO_INSTANCE
          Used when this WebServiceContainer is servicing a POJO, in which case the pojo instance is held by the enclosing servlet/invoker and passed in the Request instance to the container.
 
Method Summary
 void getWsdl(WebServiceContainer.Request req, WebServiceContainer.Response res)
           
 void invoke(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
 

Field Detail

POJO_INSTANCE

static final String POJO_INSTANCE
Used when this WebServiceContainer is servicing a POJO, in which case the pojo instance is held by the enclosing servlet/invoker and passed in the Request instance to the container.


MESSAGE_CONTEXT

static final String MESSAGE_CONTEXT
Used when this WebServiceContainer is servicing a POJO implementing the ServiceLifecycle interface, in which case the WebServiceContainer is expected to put the JAX-RPC MessageContext it creates in the Request instance.


LOCATION_REPLACEMENT_TOKEN

static final String LOCATION_REPLACEMENT_TOKEN
Token inserted into wsdl where location should be replaced with the real location

See Also:
Constant Field Values
Method Detail

invoke

void invoke(WebServiceContainer.Request request,
            WebServiceContainer.Response response)
            throws Exception
Throws:
Exception

getWsdl

void getWsdl(WebServiceContainer.Request req,
             WebServiceContainer.Response res)
             throws Exception
Throws:
Exception


Copyright © 2006 Apache Software Foundation. All Rights Reserved.