org.mule.transport.soap.axis.style
Class DefaultMessageService

java.lang.Object
  extended by org.mule.transport.soap.axis.style.DefaultMessageService
All Implemented Interfaces:
MessageService

public class DefaultMessageService
extends Object
implements MessageService

Simple message-style service sample.


Constructor Summary
DefaultMessageService()
           
 
Method Summary
 Document document(Document body)
           
 Element[] elementArray(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(SOAPEnvelope req, SOAPEnvelope resp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMessageService

public DefaultMessageService()
Method Detail

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 Document document(Document body)
Specified by:
document in interface MessageService

elementArray

public Element[] elementArray(Element[] elems)
Specified by:
elementArray in interface MessageService

soapRequestResponse

public void soapRequestResponse(SOAPEnvelope req,
                                SOAPEnvelope resp)
                         throws SOAPException
Specified by:
soapRequestResponse in interface MessageService
Throws:
SOAPException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.