cgl.narada.wsinfra.benchmark
Class BenchmarkOperations

java.lang.Object
  extended bycgl.narada.wsinfra.benchmark.BenchmarkOperations

public class BenchmarkOperations
extends Object

This is a class which performs some of the operations that we will be benchmarking.


Method Summary
 void addSequenceInfoToEnvelope()
           
 SOAPMessage convertEnvelopeDocument()
          Converts an EnvelopeDocument into a SOAPMessage.
 EnvelopeDocument convertSOAPMessage()
          Converts a SOAPMessage into an EnvelopeDocument.
 EnvelopeDocument createCreateSequenceRequest()
           
 EnvelopeDocument createCreateSequenceResponse()
           
 EnvelopeDocument createEnvelopeDocument()
          Creates a basic envelope document.
 EndpointReferenceType createEpr()
           
 EnvelopeDocument createEprEnvelope()
           
 EnvelopeDocument createEprEnvelopeWithMostWSAFields()
           
 EndpointReferenceType createEprWithReferenceProperties()
           
 SequenceAcknowledgementDocument createSequenceAcknowledgement()
           
 SequenceDocument createSequenceDocument()
           
 void createSequenceTerminatedFault()
           
 SOAPMessage createSOAPMessage()
          Creates a basic SOAP message.
 EnvelopeDocument createSubscribeRequest()
           
 TerminateSequenceDocument createTerminateSequence()
           
static BenchmarkOperations getInstance()
           
 AddressingHeaders parseWsaHeaders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BenchmarkOperations getInstance()

createEnvelopeDocument

public EnvelopeDocument createEnvelopeDocument()
Creates a basic envelope document.


createSOAPMessage

public SOAPMessage createSOAPMessage()
                              throws Exception
Creates a basic SOAP message.

Throws:
Exception

convertEnvelopeDocument

public SOAPMessage convertEnvelopeDocument()
                                    throws Exception
Converts an EnvelopeDocument into a SOAPMessage.

Throws:
Exception

convertSOAPMessage

public EnvelopeDocument convertSOAPMessage()
                                    throws Exception
Converts a SOAPMessage into an EnvelopeDocument.

Throws:
Exception

createEpr

public EndpointReferenceType createEpr()

createEprWithReferenceProperties

public EndpointReferenceType createEprWithReferenceProperties()

createEprEnvelope

public EnvelopeDocument createEprEnvelope()

createEprEnvelopeWithMostWSAFields

public EnvelopeDocument createEprEnvelopeWithMostWSAFields()

createSubscribeRequest

public EnvelopeDocument createSubscribeRequest()
                                        throws Exception
Throws:
Exception

parseWsaHeaders

public AddressingHeaders parseWsaHeaders()
                                  throws Exception
Throws:
Exception

createSequenceTerminatedFault

public void createSequenceTerminatedFault()

createCreateSequenceRequest

public EnvelopeDocument createCreateSequenceRequest()

createCreateSequenceResponse

public EnvelopeDocument createCreateSequenceResponse()

createSequenceDocument

public SequenceDocument createSequenceDocument()

addSequenceInfoToEnvelope

public void addSequenceInfoToEnvelope()

createSequenceAcknowledgement

public SequenceAcknowledgementDocument createSequenceAcknowledgement()

createTerminateSequence

public TerminateSequenceDocument createTerminateSequence()