org.codehaus.xfire
Interface XFire

All Known Implementing Classes:
DefaultXFire

public interface XFire

Central processing point for XFire. This can be instantiated programmatically by using one of the implementations (such as DefaultXFire or can be managed by a container like Pico or Plexus.

Central, however, does not mean that there can be only one. Implementations can be very lightweight, creating fast generic SOAP processors.

Since:
Feb 18, 2004
Author:
Dan Diephouse

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void generateWSDL(java.lang.String service, java.io.OutputStream out)
          Generate WSDL for a service.
 ServiceRegistry getServiceRegistry()
          Get the ServiceRegistry.
 TransportManager getTransportManager()
          Get the TransportManager.
 void invoke(java.io.InputStream in, MessageContext context)
          Processes a new SOAP Message request.
 void invoke(javax.xml.stream.XMLStreamReader reader, MessageContext context)
          Processes a new SOAP Message request.
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

invoke

void invoke(java.io.InputStream in,
            MessageContext context)
Processes a new SOAP Message request. If a fault or exception occurs, it is written to the OutputStream in the MessageContext. However, XFireRuntimeExceptions may still be thrown if something fatal goes wrong in the pipeline.

Parameters:
in - An InputStream to the SOAP document.
context - The MessageContext.

invoke

void invoke(javax.xml.stream.XMLStreamReader reader,
            MessageContext context)
Processes a new SOAP Message request. If a fault or exception occurs, it is written to the OutputStream in the MessageContext. However, XFireRuntimeExceptions may still be thrown if something fatal goes wrong in the pipeline.

Parameters:
in - An InputStream to the SOAP document.
context - The MessageContext.

generateWSDL

void generateWSDL(java.lang.String service,
                  java.io.OutputStream out)
Generate WSDL for a service.

Parameters:
service - The name of the service.
out - The OutputStream to write the WSDL to.

getServiceRegistry

ServiceRegistry getServiceRegistry()
Get the ServiceRegistry.


getTransportManager

TransportManager getTransportManager()
Get the TransportManager.



Copyright © 2004-2005 Codehaus. All Rights Reserved.