net.bpelunit.framework.control.ext
Interface ISOAPEncoder


public interface ISOAPEncoder

The ISOAPEncoder interface represents a SOAP Encoder, and is intended to be implemented by providers of concrete style and encoding targets, like, for example, "document/literal".

Version:
$Id$
Author:
Philip Mayer

Method Summary
 SOAPMessage construct(net.bpelunit.framework.model.test.data.SOAPOperationCallIdentifier operation, org.w3c.dom.Element literalData)
          Construct a complete SOAP message from the given literal elements children (the element itself is a "dummy header") according to the instructions in the WSDL binding operation defined in the operation given to either the input, output or fault element.
 org.w3c.dom.Element deconstruct(net.bpelunit.framework.model.test.data.SOAPOperationCallIdentifier operation, SOAPMessage message)
          Deconstructs a complete SOAP message into literal elements according to the instruction in the WSDL binding operation given.
 

Method Detail

construct

SOAPMessage construct(net.bpelunit.framework.model.test.data.SOAPOperationCallIdentifier operation,
                      org.w3c.dom.Element literalData)
                      throws net.bpelunit.framework.exception.SOAPEncodingException
Construct a complete SOAP message from the given literal elements children (the element itself is a "dummy header") according to the instructions in the WSDL binding operation defined in the operation given to either the input, output or fault element.

Parameters:
operation -
literalData -
Returns:
Throws:
net.bpelunit.framework.exception.SOAPEncodingException

deconstruct

org.w3c.dom.Element deconstruct(net.bpelunit.framework.model.test.data.SOAPOperationCallIdentifier operation,
                                SOAPMessage message)
                                throws net.bpelunit.framework.exception.SOAPEncodingException
Deconstructs a complete SOAP message into literal elements according to the instruction in the WSDL binding operation given. The return value must be a dummy parent with literal children from the SOAP message. If the operation specifies an input or output element, the children are from the normal SOAP body. If the operation specifies a fault, the children are from the SOAP Fault Detail.

Parameters:
operation -
message -
Returns:
Throws:
net.bpelunit.framework.exception.SOAPEncodingException