electric.soap.wsdl
Class SOAPMessageDecl

java.lang.Object
  extended byelectric.soap.wsdl.SOAPMessageDecl
All Implemented Interfaces:
IDIMEConstants, IMIMEConstants, ISchemaConstants, ISOAPConstants

public class SOAPMessageDecl
extends java.lang.Object
implements ISOAPConstants, ISchemaConstants, IDIMEConstants, IMIMEConstants

SOAPMessageDecl corresponds to the wsdl elements at description/binding/operation/(input|output).

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.soap.ISOAPConstants
ACTOR, ASYNC, BODY, DETAIL, ENCODING_STYLE, ENVELOPE, EXCEPTION, FAULT, FAULT_ACTOR, FAULT_CODE, FAULT_STRING, GET_SOAP_ACTOR, GET_SOAP_CODE, HEADER, MUST_UNDERSTAND, NEXT_ACTOR, OPTIMIZED_HEADER, SET_SOAP_ACTOR, SET_SOAP_CODE, SET_SOAP_DETAIL, SOAP_ACTION_HEADER, SOAP_BINDING, SOAP_ENCODING, SOAP_ENCODING_PREFIX, SOAP_ENVELOPE, SOAP_HTTP_TRANSPORT, SOAP_PREFIX, SOAP11_BINDING, SOAP11_ENCODING, SOAP11_ENVELOPE, SOAP12, SOAP12_BINDING, SOAP12_ENCODING, SOAP12_ENVELOPE, SOAP12_HTTP_CONTENT_TYPE, STACKTRACE, TME_PREFIX, UNDERSTOOD, XSD_PREFIX, XSI_PREFIX, XSI_SUFFIX
 
Fields inherited from interface electric.xml.io.schema.ISchemaConstants
ABSTRACT, ALL, ANNOTATION, ANY, ANY_ATTRIBUTE, ANY_TYPE, ANY_URI, ARRAY, ARRAY_PREFIX, ARRAY_TYPE, ATTRIBUTE, ATTRIBUTE_FORM_DEFAULT, ATTRIBUTE_GROUP, BASE, BASE_64_BINARY, BOOLEAN, BYTE, CHOICE, COMPLEX_CONTENT, COMPLEX_TYPE, DATE_TIME, DECIMAL, DOMINANT_SIMPLE_TYPE_NAMES, DOUBLE, DURATION, ELEMENT, ELEMENT_FORM_DEFAULT, ENUMERATION, EXTENSION, FLOAT, FORM, FRACTION_DIGITS, GROUP, HEX_BINARY, HREF, ID, IMPORT, INCLUDE, INSTANCE_SUFFIX, INT, INTEGER, LENGTH, LONG, MAX_EXCLUSIVE, MAX_INCLUSIVE, MAX_LENGTH, MAX_OCCURS, MIN_EXCLUSIVE, MIN_INCLUSIVE, MIN_LENGTH, MIN_OCCURS, NAME, NAMESPACE, NIL, NILLABLE, NOTATION, NULL, ONE, PATTERN, POUND_ID, PROCESS_CONTENTS, QNAME, QUALIFIED, REDEFINE, REF, RESTRICTION, ROOT, SCHEMA, SCHEMA_LOCATION, SEQUENCE, SHORT, SIMPLE_CONTENT, SIMPLE_TYPE, SOAP_ENCODING, SOAP_ENCODING_ARRAY, SOAP12_ENCODING, SOAP12_ENCODING_ARRAY, SOAPENC, STAR, STRING, TARGET_NAMESPACE, TIME, TOTAL_DIGITS, TYPE, UNBOUNDED, UNQUALIFIED, UNSIGNED_SHORT, USE, VALUE, WHITESPACE, WSDL_ARRAY, WSDL_HTTP, WSDL_MIME, WSDL_NAMESPACE, WSDL_SOAP, XSD_BOOLEAN, XSD_BYTE, XSD_DOUBLE, XSD_FLOAT, XSD_INT, XSD_LONG, XSD_PREFIX, XSD_SHORT, XSD_STRING, XSD_UNSIGNED_SHORT, XSI_PREFIX, ZERO
 
Fields inherited from interface electric.util.dime.IDIMEConstants
DIME_ATTACHMENT_STYLE, DIME_CLOSED_LAYOUT, DIME_CONTENT_TYPE, DIME_DEFAULT_PREFIX, DIME_LAYOUT_ATTRIBUTE, DIME_MEMORY, DIME_MESSAGE_ELEMENT, DIME_NAMESPACE, DIME_SOAP_ENVELOPE_URI, DIME_STREAM, DIME_TYPE_FORMAT_HEADER, TYPE_ABSOLUTEURI, TYPE_MEDIATYPE, TYPE_NONE, TYPE_UNCHANGED, TYPE_UNKNOWN, VERSION_ONE
 
Fields inherited from interface electric.util.mime.IMIMEConstants
DATA_DIRECTORY, DEFAULT_MIMEDATA_DIRECTORY, DEFAULT_START_MIME_PART, MIME_ATTACHMENT_STYLE, MIME_EXTENSION, STAR_SLASH_STAR_DATAHANDLER
 
Constructor Summary
SOAPMessageDecl(Element root, MessageDecl messageDecl, java.lang.String type)
          Create a SOAPMessageDecl given an XML Element corresponding to the WSDL at description/binding/operation/{input,output}.
SOAPMessageDecl(MessageDecl messageDecl, java.lang.String namespace, java.lang.String use, java.lang.String encodingStyle, java.lang.String type, java.lang.String messageDeclNamespace)
          Create a SOAPMessageDecl with the appropriate attributes.
SOAPMessageDecl(java.lang.String namespace, boolean literal)
          Create a mostly-empty SOAPMessageDecl appropriate for use with jaxrpc Call object.
 
Method Summary
 java.lang.String getAttachmentStyle()
           
 java.lang.String getDefaultAttachmentStyle()
           
 MessageDecl getMessageDecl()
          The corresponding message declaration inside the porttype operation.
 java.lang.String getNamespace()
          If this is an rpc call, this is the namespace off the soap:body contained inside this declaration.
 void setAttachmentStyle(java.lang.String attachmentStyle)
          Set the attachment style.
static void setDefaultAttachmentStyle(java.lang.String style)
           
 void setMessageDecl(MessageDecl messageDecl)
           
 void setNamespace(java.lang.String namespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPMessageDecl

public SOAPMessageDecl(java.lang.String namespace,
                       boolean literal)
Create a mostly-empty SOAPMessageDecl appropriate for use with jaxrpc Call object.

Parameters:
namespace -
literal -

SOAPMessageDecl

public SOAPMessageDecl(MessageDecl messageDecl,
                       java.lang.String namespace,
                       java.lang.String use,
                       java.lang.String encodingStyle,
                       java.lang.String type,
                       java.lang.String messageDeclNamespace)
Create a SOAPMessageDecl with the appropriate attributes. Normally, this method is part of the generation of WSDL from a Java class.

Parameters:
messageDecl -
namespace -
use -
encodingStyle -
type -
See Also:
SOAPOperationFactory

SOAPMessageDecl

public SOAPMessageDecl(Element root,
                       MessageDecl messageDecl,
                       java.lang.String type)
                throws WSDLException
Create a SOAPMessageDecl given an XML Element corresponding to the WSDL at description/binding/operation/{input,output}. This method is generally used by SOAP clients to generate a WSDL object structure corresponding to the WSDL XML retrieved from a service.

Parameters:
root -
messageDecl -
type -
Throws:
WSDLException
Method Detail

getAttachmentStyle

public java.lang.String getAttachmentStyle()
Returns:
the attachment style.

setAttachmentStyle

public void setAttachmentStyle(java.lang.String attachmentStyle)
Set the attachment style. Possible styles include "mime" and "dime". Default is "mime".

Parameters:
attachmentStyle - the attachment style, null means use default.

setDefaultAttachmentStyle

public static void setDefaultAttachmentStyle(java.lang.String style)
Parameters:
style -

getDefaultAttachmentStyle

public java.lang.String getDefaultAttachmentStyle()
Returns:
the default attachment style.

getNamespace

public java.lang.String getNamespace()
If this is an rpc call, this is the namespace off the soap:body contained inside this declaration.


setNamespace

public void setNamespace(java.lang.String namespace)
Parameters:
namespace -

getMessageDecl

public MessageDecl getMessageDecl()
The corresponding message declaration inside the porttype operation.


setMessageDecl

public void setMessageDecl(MessageDecl messageDecl)
Parameters:
messageDecl -


copyright© 2001-2004 by webMethods All Rights Reserved.