electric.wsdl
Class Operation
java.lang.Object
electric.wsdl.Operation
- All Implemented Interfaces:
- IWSDLConstants
- public final class Operation
- extends java.lang.Object
- implements IWSDLConstants
Operation is the GLUE internal representation of a
wsdl:portType/wsdl:operation element.
- Author:
- webMethods
Fields inherited from interface electric.wsdl.IWSDLConstants |
ADDRESS, BINDING, DEFINITIONS, DESCRIPTION, DOCUMENT, DOCUMENTATION, ELEMENT, ENCODED, ENCODING_STYLE, ENDPOINT, FAULT, FAULT_DETAIL, GET, GETPOST, HTTP, INPUT, LITERAL, LOCATION, MESSAGE, METHOD_NAMESPACE, MIME, NAME, NAMESPACE, OPERATION, OUTPUT, PARAMETER_ORDER, PARAMETERS, PART, PORT, PORT_TYPE, POST, RPC, SERVICE, SOAP, SOAP_ACTION, STYLE, TARGET_NAMESPACE, TARGET_NAMESPACE_PREFIX, TNS, TRANSPORT, TYPE, USE, VERB, WSDL_EXTENSION, WSDL_NAMESPACE, WSDL_PREFIX, WSDL_SOAP_NAMESPACE, WSDL_SOAP_PREFIX, WSDL_SOAP11_NAMESPACE, WSDL_SOAP11_PREFIX, WSDL_SOAP12_NAMESPACE, WSDL_SOAP12_PREFIX |
Constructor Summary |
Operation(WSDL wsdl,
Element operation)
Create a new Operation object by parsing the given wsdl:operation
DOM element. |
Operation(WSDL wsdl,
java.lang.String namespace,
MethodDescriptor descriptor,
int index,
java.lang.String suffix,
java.lang.String resultPartName,
boolean rpc,
boolean literal)
|
Operation(WSDL wsdl,
java.lang.String namespace,
java.lang.reflect.Method method,
int index,
java.lang.String suffix,
java.lang.String resultPartName,
boolean rpc,
boolean literal)
Create a new Operation object based on the given Java Method. |
Operation(WSDL wsdl,
java.lang.String namespace,
java.lang.reflect.Method method,
int index,
java.lang.String suffix,
java.lang.String resultPartName,
boolean rpc,
java.lang.String name,
boolean literal)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Operation
public Operation(WSDL wsdl,
Element operation)
throws WSDLException,
SchemaException
- Create a new Operation object by parsing the given wsdl:operation
DOM element. This constructor is used when building up a WSDL
data structure based on an existing WSDL document.
- Parameters:
wsdl
- parent wsdl object.operation
- wsdl:portType/wsdl:operation
- Throws:
WSDLException
SchemaException
Operation
public Operation(WSDL wsdl,
java.lang.String namespace,
java.lang.reflect.Method method,
int index,
java.lang.String suffix,
java.lang.String resultPartName,
boolean rpc,
boolean literal)
throws WSDLException,
SchemaException
- Create a new Operation object based on the given Java Method.
This constructor is used when building up a WSDL data structure
based on Java code rather than on a WSDL document.
- Parameters:
wsdl
- namespace
- method
- index
- suffix
- resultPartName
- rpc
-
- Throws:
WSDLException
SchemaException
Operation
public Operation(WSDL wsdl,
java.lang.String namespace,
MethodDescriptor descriptor,
int index,
java.lang.String suffix,
java.lang.String resultPartName,
boolean rpc,
boolean literal)
throws WSDLException,
SchemaException
- Parameters:
wsdl
- namespace
- descriptor
- index
- suffix
- resultPartName
- rpc
-
- Throws:
WSDLException
SchemaException
Operation
public Operation(WSDL wsdl,
java.lang.String namespace,
java.lang.reflect.Method method,
int index,
java.lang.String suffix,
java.lang.String resultPartName,
boolean rpc,
java.lang.String name,
boolean literal)
throws WSDLException,
SchemaException
- Parameters:
wsdl
- namespace
- method
- index
- suffix
- resultPartName
- rpc
- name
-
- Throws:
WSDLException
SchemaException
toString
public java.lang.String toString()
addExceptions
public void addExceptions(java.lang.reflect.Method method,
int index,
java.lang.String namespace,
boolean rpc)
throws SchemaException
- Parameters:
method
- index
- namespace
-
- Throws:
SchemaException
getWSDL
public WSDL getWSDL()
getName
public java.lang.String getName()
getDocumentation
public java.lang.String getDocumentation()
getArgNames
public java.lang.String[] getArgNames()
getInput
public MessageDecl getInput()
getOutput
public MessageDecl getOutput()
getFaults
public MessageDecl[] getFaults()
- Returns:
- array of faults for this operation.
getPart
public Part getPart(java.lang.String name)
- Parameters:
name
-
hasParameterWithName
public boolean hasParameterWithName(java.lang.String name)
- Parameters:
name
-
getParameterOrder
public java.lang.String getParameterOrder()
addDependencies
public void addDependencies(java.util.Vector dependencies)
- Parameters:
dependencies
-
writeWSDL
public void writeWSDL(Element portType)
- Parameters:
portType
-
copyright© 2001-2004 by webMethods All Rights Reserved.