View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.soap.axis.style;
8   
9   import javax.xml.soap.SOAPEnvelope;
10  
11  import org.w3c.dom.Document;
12  import org.w3c.dom.Element;
13  
14  /**
15   * Simple message-style service sample.
16   */
17  
18  public interface MessageService
19  {
20      /**
21       * Service methods, echo back any XML received.
22       */
23  
24      public org.apache.axis.message.SOAPBodyElement[] soapBodyElement(org.apache.axis.message.SOAPBodyElement[] bodyElements);
25  
26      public Document document(Document body);
27  
28      public Element[] elementArray(Element[] elems);
29  
30      public void soapRequestResponse(SOAPEnvelope req, SOAPEnvelope resp) throws javax.xml.soap.SOAPException;
31  
32  }