electric.soap.util
Class SOAPAttachments
java.lang.Object
electric.soap.util.SOAPAttachments
- public final class SOAPAttachments
- extends java.lang.Object
SOAPAttachments contains utility methods for registering and
adding attachments. This class handles attachments for both MIME and
DIME, so there is some redundancy. See http://www.w3.org/TR/SOAP-attachments
for details on the MIME binding, and the WS-Attachments spec for
details on DIME.
- Author:
- webMethods
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPAttachments
public SOAPAttachments()
registerAttachments
public static void registerAttachments(SOAPMessage message,
IReader reader)
- Register attachments so they can be looked up when the SOAP
message is being processed. Generally, the message will have
an href (or similiar) attribute pointing to the attachment.
- Parameters:
message
- reader
-
addRequestAttachments
public static void addRequestAttachments(SOAPMessage request,
Parameter[] parameters,
java.lang.Object[] args)
throws java.rmi.MarshalException
- Parameters:
request
- parameters
- args
-
- Throws:
java.rmi.MarshalException
addResponseAttachments
public static void addResponseAttachments(SOAPMessage response,
Parameter[] parameters,
Parameter returnValue,
java.lang.Object[] args,
Value result)
throws java.rmi.MarshalException
- Parameters:
response
- parameters
- returnValue
- args
- result
-
- Throws:
java.rmi.MarshalException
copyright© 2001-2004 by webMethods All Rights Reserved.