You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/03/28 21:37:12 UTC

cvs commit: xml-axis/java/src/javax/xml/rpc/handler/soap SOAPMessageContext.java

butek       02/03/28 12:37:12

  Modified:    java/src/javax/xml/rpc/handler/soap SOAPMessageContext.java
  Log:
  Updated javax.xml.rpc.handler.soap.SOAPMessageContext to JAX-RPC 0.8.
  
  Revision  Changes    Path
  1.2       +4 -25     xml-axis/java/src/javax/xml/rpc/handler/soap/SOAPMessageContext.java
  
  Index: SOAPMessageContext.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/javax/xml/rpc/handler/soap/SOAPMessageContext.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SOAPMessageContext.java	29 Jan 2002 01:52:45 -0000	1.1
  +++ SOAPMessageContext.java	28 Mar 2002 20:37:12 -0000	1.2
  @@ -70,14 +70,14 @@
   public interface SOAPMessageContext extends MessageContext {
   
       /**
  -     *  Gets the request SOAPMessage from this message context
  +     *  Gets the SOAPMessage from this message context
        *  @return Returns the SOAPMessage; returns null if no request
        *          SOAPMessage is present in this SOAPMessageContext
        */
  -    public abstract SOAPMessage getRequestMessage();
  +    public abstract SOAPMessage getMessage();
   
       /**
  -     *  Sets the request SOAPMessage for this message context
  +     *  Sets the SOAPMessage for this message context
        *  @param   message  Request SOAP message
        *  @throws  JAXRPCException  If any error during the setting
        *     of the request message or if invalid SOAPMessage
  @@ -85,26 +85,5 @@
        *  @throws java.lang.UnsupportedOperationException If this
        *     operation is not supported
        */
  -    public abstract void setRequestMessage(SOAPMessage message)
  -        throws JAXRPCException;
  -
  -    /**
  -     *  Gets the response SOAPMessage for this message context
  -     *  @return Returns the SOAPMessage; returns null if no response
  -     *     SOAPMessage is present in this SOAPMessageContext
  -     *  @throws  JAXRPCException
  -     */
  -    public abstract SOAPMessage getResponseMessage() throws JAXRPCException;
  -
  -    /**
  -     *  Sets the response SOAPMessage for this message context
  -     *  @param   message Response SOAP message
  -     *  @throws  JAXRPCException  If any error during the setting
  -     *     of the response message or if invalid SOAPMessage
  -     *     is set
  -     *  @throws java.lang.UnsupportedOperationException If this
  -     *     operation is not supported
  -     */
  -    public abstract void setResponseMessage(SOAPMessage message)
  -        throws JAXRPCException;
  +    public abstract void setMessage(SOAPMessage message);
   }