org.mule.transport.soap.axis.style
Class DefaultMessageService
java.lang.Object
org.mule.transport.soap.axis.style.DefaultMessageService
- All Implemented Interfaces:
- MessageService
public class DefaultMessageService
- extends java.lang.Object
- implements MessageService
Simple message-style service sample.
Method Summary |
org.w3c.dom.Document |
document(org.w3c.dom.Document body)
|
org.w3c.dom.Element[] |
elementArray(org.w3c.dom.Element[] elems)
|
org.apache.axis.message.SOAPBodyElement[] |
soapBodyElement(org.apache.axis.message.SOAPBodyElement[] bodyElements)
Service method, which simply echoes back any XML it receives. |
void |
soapRequestResponse(javax.xml.soap.SOAPEnvelope req,
javax.xml.soap.SOAPEnvelope resp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMessageService
public DefaultMessageService()
soapBodyElement
public org.apache.axis.message.SOAPBodyElement[] soapBodyElement(org.apache.axis.message.SOAPBodyElement[] bodyElements)
- Service method, which simply echoes back any XML it receives.
- Specified by:
soapBodyElement
in interface MessageService
- Parameters:
bodyElements
- an array of DOM Elements, one for each SOAP body =lement
- Returns:
- an array of DOM Elements to be sent in the response body
document
public org.w3c.dom.Document document(org.w3c.dom.Document body)
- Specified by:
document
in interface MessageService
elementArray
public org.w3c.dom.Element[] elementArray(org.w3c.dom.Element[] elems)
- Specified by:
elementArray
in interface MessageService
soapRequestResponse
public void soapRequestResponse(javax.xml.soap.SOAPEnvelope req,
javax.xml.soap.SOAPEnvelope resp)
throws javax.xml.soap.SOAPException
- Specified by:
soapRequestResponse
in interface MessageService
- Throws:
javax.xml.soap.SOAPException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.