EbxmlMessageFactory

public class EbxmlMessageFactory extends MessageFactory

Implementation of javax.xml.soap.MessageFactory

Author:cyng

Constructors

EbxmlMessageFactory

public EbxmlMessageFactory()

Initializes EbxmlMessageFactory object.

Methods

createEbxmlMessage

public EbxmlMessage createEbxmlMessage()

Create a simple ebXML message.

Throws:
  • SOAPException
Returns:

A new ebXML message.

createEbxmlMessage

public EbxmlMessage createEbxmlMessage(MimeHeaders headers, InputStream in)

Create an ebXML message with given MIME headers and content in form of input stream.

Parameters:
  • headers – MIME headers to be used in the new message.
  • in – Content of ebXML message in the form of input stream.
Throws:
  • IOException
  • SOAPException
Returns:

EbxmlMessage created.

createMessage

public SOAPMessage createMessage()

Creates a simple ebXML SOAP message.

Throws:
  • SOAPException
Returns:

SOAPMessage of the ebXML message created.

createMessage

public SOAPMessage createMessage(MimeHeaders headers, InputStream in)

Creates an ebXML SOAP message using given MIME headers and content in form of input stream.

Parameters:
  • headers – MIME headers to be used in the new message.
  • in – Content of ebXML message in the form of input stream.
Throws:
  • IOException
  • SOAPException
Returns:

SOAPMessage of the ebXML message created.