electric.soap.routing
Class RoutingReference

java.lang.Object
  extended byelectric.soap.references.chain.ChainedSOAPReference
      extended byelectric.soap.routing.RoutingReference
All Implemented Interfaces:
IChainedSOAPReference, IRoutingConstants, ISOAPConstants, ISOAPHandler, ISOAPReference

public class RoutingReference
extends ChainedSOAPReference
implements IRoutingConstants, ISOAPConstants

RoutingReference

Author:
webMethods

Field Summary
 
Fields inherited from class electric.soap.references.chain.ChainedSOAPReference
nextReference
 
Fields inherited from interface electric.soap.routing.IRoutingConstants
ACTION, ALREADY_ROUTED, ALT_RP_NAMESPACE, CODE, CORRELATION_ID, ENDPOINT, ENDPOINT_INVALID, ENDPOINT_NOT_FOUND, ENDPOINT_NOT_SUPPORTED, ENDPOINT_UNREACHABLE, FORWARD, FROM, ID, INFINITE_LOOP_DETECTED, INVALID_HEADER, LOWERCASE_FAULT, MESSAGE_TIMEOUT, NO_ROUTING_HEADER, PATH, REASON, RELATES_TO, REVERSE, REVERSE_PATH_UNAVAILABLE, RP, RP_NAMESPACE, SERVICE_UNAVAILABLE, TO, UNKOWN_FAULT, UNSUPPORTED_ELEMENT, UUID_PREFIX, VIA
 
Fields inherited from interface electric.soap.ISOAPConstants
ACTOR, ASYNC, BODY, DETAIL, ENCODING_STYLE, ENVELOPE, EXCEPTION, FAULT, FAULT_ACTOR, FAULT_CODE, FAULT_STRING, GET_SOAP_ACTOR, GET_SOAP_CODE, HEADER, MUST_UNDERSTAND, NEXT_ACTOR, OPTIMIZED_HEADER, SET_SOAP_ACTOR, SET_SOAP_CODE, SET_SOAP_DETAIL, SOAP_ACTION_HEADER, SOAP_BINDING, SOAP_ENCODING, SOAP_ENCODING_PREFIX, SOAP_ENVELOPE, SOAP_HTTP_TRANSPORT, SOAP_PREFIX, SOAP11_BINDING, SOAP11_ENCODING, SOAP11_ENVELOPE, SOAP12, SOAP12_BINDING, SOAP12_ENCODING, SOAP12_ENVELOPE, SOAP12_HTTP_CONTENT_TYPE, STACKTRACE, TME_PREFIX, UNDERSTOOD, XSD_PREFIX, XSI_PREFIX, XSI_SUFFIX
 
Constructor Summary
RoutingReference(Context proxyContext, XURL destination)
           
 
Method Summary
 XURL getEndpoint()
           
 WSDL getWSDL()
           
 SOAPMessage handle(SOAPMessage request, Context messageContext)
          Handle the specified SOAP request and return the SOAP response.
 void writeHeader(SOAPMessage request)
           
 
Methods inherited from class electric.soap.references.chain.ChainedSOAPReference
getNextReference, setNextReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingReference

public RoutingReference(Context proxyContext,
                        XURL destination)
Parameters:
proxyContext -
destination -
Method Detail

getWSDL

public WSDL getWSDL()
Specified by:
getWSDL in interface ISOAPReference

getEndpoint

public XURL getEndpoint()
Specified by:
getEndpoint in interface ISOAPReference

handle

public SOAPMessage handle(SOAPMessage request,
                          Context messageContext)
                   throws java.rmi.RemoteException,
                          java.lang.SecurityException
Description copied from interface: ISOAPHandler
Handle the specified SOAP request and return the SOAP response.

Specified by:
handle in interface ISOAPHandler
Parameters:
request -
messageContext -
Throws:
java.rmi.RemoteException
java.lang.SecurityException

writeHeader

public void writeHeader(SOAPMessage request)
Parameters:
request -


copyright© 2001-2004 by webMethods All Rights Reserved.