com.pega.pegarules.pub.util
Interface WebSvcsParser


public interface WebSvcsParser

WebSvcsParser base class, used to generate new class instances

Version:
$Revision: 27850 $ $Date: 2012-05-21 07:33:04 -0400 (Mon, 21 May 2012) $
Author:
Martin Solomon

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Method Summary
 boolean axisClientIsGenerated()
          Tests if the Axis client generation has been successfully performed on the WSDL.
 boolean axisClientIsInitialized(java.lang.String aClassName)
          Tests if the specified class has been previously loaded using PRClassLoader.
 boolean elementHasSimpleType(javax.xml.namespace.QName aElemQName)
          Looks up the specified element name in the Axis WSDL-to-Java symbol table, and checks if its type is declared as a simple type.
 boolean elementIsDefined(javax.xml.namespace.QName aElemQName)
          Looks up the specified element name in the Axis WSDL-to-Java symbol table.
 java.util.List generateAxisClientClasses(java.lang.String aWSDLURL, java.lang.String aWSDLData)
          Generates and compiles all of Axis client classes for a given WSDL.
 java.lang.String getAxisBindingStubClass(javax.xml.namespace.QName aBindingQName)
          Looks up the specified binding name from the WSDL file in the Axis WSDL-to-Java symbol table, and returns the name of the Axis java class that is used for sending the SOAP request message, and parsing the response.
 java.lang.String getAxisClassForElement(javax.xml.namespace.QName aElemQName)
          Looks up the specified element name in the Axis WSDL-to-Java symbol table, and returns the name of the Axis java class that is used for data mapping.
 java.lang.String getAxisClassForType(javax.xml.namespace.QName aTypeQName)
          Looks up the specified type name in the Axis WSDL-to-Java symbol table, and returns the name of the Axis java class that is used for data mapping.
 java.lang.String getBindingName()
          Deprecated.  
 java.util.List getBindingOperations()
          Deprecated.  
 java.lang.String getBindingProtocol()
          Deprecated.  
 java.lang.String getBindingProtocolForCurrentPort()
          Returns the binding protocol for the current port.
 javax.xml.namespace.QName getCurrentBinding()
          Get the qualified name of the binding for the current port.
 java.lang.String getCurrentPort()
          Returns the name of the current port.
 javax.xml.namespace.QName getCurrentPortType()
          Get the qualified name of the port type for the current port.
 javax.xml.namespace.QName getCurrentService()
          Get the qualified name of the service that is currently being operated on.
 javax.xml.namespace.QName getElementType(javax.xml.namespace.QName aElemQName)
          Looks up the specified element name in the Axis WSDL-to-Java symbol table, and returns its declared type.
 java.lang.String getEncodedOrLiteral(java.lang.String aMethodSig)
          Returns the value of the 'use' attribute for the SOAP operation.
 java.lang.String getEncodedOrLiteralBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getEncodingStyle(java.lang.String aMethodSig)
          Returns the encoding style for a given SOAP operation.
 java.lang.String getEncodingStyleBySig(java.lang.String aMethodSig)
          Deprecated.  
 javax.wsdl.extensions.addressing.EndpointReference getEndpointReference()
          Returns Endpoint reference element specific data .
 javax.wsdl.extensions.http.HTTPAddress getHTTPAddress()
          Returns the HttpAddress element for the current port.
 javax.wsdl.extensions.http.HTTPAddress getHTTPAddress(javax.wsdl.Port aPort)
          Returns the HttpBinding for the current port.
 javax.wsdl.extensions.http.HTTPBinding getHTTPBinding()
          Returns the http binding for the current port.
 javax.wsdl.extensions.http.HTTPOperation getHTTPOperation(java.lang.String aMethodSig)
          Returns the Http Operation for the current port.
 java.lang.String getHTTPRelativeURIScheme(java.lang.String aMethodSignature)
          Returns the relative URI scheme bound to Operation input.
 javax.wsdl.Input getInput(java.lang.String aMethodSig)
          /** Returns Input object pertaining to an operation.
 java.lang.String getInputMessageName(java.lang.String aMethodSig)
          Returns the Input Message Name of the specified method.
 java.lang.String getInputParameterType(int aOperationIndex, int aPartIndex)
          Deprecated.  
 java.util.List getJMSMessageRequestProperties(int aOperationIndex)
          Deprecated.  
 java.lang.String getJMSMessageType(java.lang.String aMethodName)
          Deprecated.  
 java.lang.String getLocalNamePart(java.lang.String aQName)
          Deprecated.  
 java.lang.String[] getMethods()
          Deprecated.  
 java.lang.String getNamespacePrefixPart(java.lang.String aQName)
          Deprecated.  
 java.lang.String getNamespaceURI(java.lang.String aMethodSig)
          Returns the namespace URI associated with a given method.
 java.lang.String getNamespaceURIBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getNamespaceURIForPrefix(java.lang.String aPrefix)
          Deprecated.  
 javax.wsdl.Operation getOperation(java.lang.String aMethodSig)
          Returns Operation object .
 java.lang.String[] getOperationInputParameters(int aOperationIndex)
          Deprecated.  
 java.lang.String[] getOperationInputParts(java.lang.String aMethodSig)
          Returns the parts bound to the Operation input for the current port.
 java.lang.String[] getOperationOutputParameters(int aOperationIndex)
          Deprecated.  
 java.lang.String[] getOperationOutputParts(java.lang.String aMethodSig)
          Returns the parts bound to the Operation output for the current port.
 java.lang.String getOperationStyle(java.lang.String aMethodSig)
          Return the operation style (document|rpc) for a given method.
 java.lang.String getOperationStyleBySig(java.lang.String aMethodSig)
          Deprecated.  
 javax.wsdl.Output getOutput(java.lang.String aMethodSig)
          Returns output object pertaining to an operation.
 java.lang.String getOutputMessageName(java.lang.String aMethodSig)
          Returns the Output Message Name of the specified method.
 java.lang.String getOutputParameterType(int aOperationIndex, int aPartIndex)
          Deprecated.  
 java.lang.String getParameterNativeType(boolean aInput, int aOperationIndex, int aPartIndex)
          Deprecated.  
 java.lang.String getParameterOrder(java.lang.String aMethodSig)
          Return the parameterOrder attribute for a given method.
 java.lang.String getParameterOrderBySig(java.lang.String aMethodSig)
          Deprecated.  
 javax.wsdl.extensions.ExtensibilityElement getPortAddress()
          Deprecated.  
 java.util.List getPortList(javax.xml.namespace.QName aExtElem)
          Returns a list of port names for the current service that contain the extensibility element specified by the namespace and local name.
 java.lang.String getPortName()
          Deprecated.  
 java.lang.String getPortTypeName()
          Deprecated.  
 java.lang.String getRequestHeaderElementName(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getRequestHeaderElementNameBySig(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 javax.xml.namespace.QName getRequestHeaderQName(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Returns the QName of the type or element for a given request header.
 java.lang.String[] getRequestHeaders(java.lang.String aMethodSig)
          Returns an array of request header names;
 java.lang.String[] getRequestHeadersBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getRequestHeaderType(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getRequestHeaderTypeBySig(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getRequestHeaderUseBySig(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getRequestParameterElementName(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String getRequestParameterElementNameBySig(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 javax.xml.namespace.QName getRequestParameterQName(java.lang.String aMethodSig, java.lang.String aParamName)
          Returns the QName of the type or element for a given request parameter.
 javax.xml.namespace.QName getRequestParameterQNameBySig(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String[] getRequestParameters(java.lang.String aMethodSig)
          Returns an array of the request parameter names.
 java.lang.String[] getRequestParametersBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getRequestParameterType(java.lang.String aMethodSig, java.lang.String param)
          Deprecated.  
 java.lang.String getRequestParameterTypeBySig(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String getResponseHeaderElementName(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getResponseHeaderElementNameBySig(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 javax.xml.namespace.QName getResponseHeaderQName(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Returns the QName of the type or element for a given response header.
 java.lang.String[] getResponseHeaders(java.lang.String aMethodSig)
          Returns an array of response header names;
 java.lang.String[] getResponseHeadersBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getResponseHeaderType(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getResponseHeaderTypeBySig(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getResponseHeaderUseBySig(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Deprecated.  
 java.lang.String getResponseParameterElementName(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String getResponseParameterElementNameBySig(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 javax.xml.namespace.QName getResponseParameterQName(java.lang.String aMethodSig, java.lang.String aParamName)
          Returns the QName of the type or element for a given response parameter.
 javax.xml.namespace.QName getResponseParameterQNameBySig(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String[] getResponseParameters(java.lang.String aMethodSig)
          Returns an array of the response parameter names.
 java.lang.String[] getResponseParametersBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getResponseParameterType(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String getResponseParameterTypeBySig(java.lang.String aMethodSig, java.lang.String aParamName)
          Deprecated.  
 java.lang.String getServiceName()
          Deprecated.  
 java.util.List getServiceNames(javax.xml.namespace.QName aExtElem)
          Returns a list of service names valid for this WSDL document containing ports that contain the extensibility element specified by the namespace and local name.
 java.lang.String getSOAPAction(java.lang.String aMethodSig)
          Return the soap action for a given method.
 java.lang.String getSOAPActionBySig(java.lang.String aMethodSig)
          Deprecated.  
 java.lang.String getSOAPAddressForCurrentPort()
          Returns the SOAP endpoint URL for the current port.
 java.lang.String[] getSOAPMethodSignatures()
          Returns a list of unique SOAP method signatures.
 java.lang.String getSOAPURL()
          Deprecated.  
 java.lang.String getSOAPVersionForCurrentPort()
          Returns the SOAP version for the current port.
 java.lang.String getTargetNamespaceURI()
          Returns the target namespace URI.
 javax.wsdl.extensions.addressing.UsingAddressing getUsingAddressing()
          Returns UsingAddressing element .
 java.lang.String getWSDLURL()
          Returns the URL of the WSDL document.
 boolean hasValidHTTPPort()
          Returns if valid HTTP port.
 boolean hasValidSOAPPort()
           
 void initializeAxisClientClasses(java.util.List aClassList)
          Specifies that the PRClassLoader should be the class loader used for each java class name in the input list.
 boolean isBuiltInType(javax.xml.namespace.QName aTypeQName)
          Checks if the specified type belongs to a known namespace.
 boolean isSimpleType(javax.xml.namespace.QName aTypeQName)
          Looks up the specified type name in the Axis WSDL-to-Java symbol table, and checks if it is declared as a simple type.
 void parse(java.io.Reader aReader)
          Parse a web services definition document
 void parse(java.lang.String aSource)
          Parse a web services definition document
 boolean requestHeaderIsElement(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Returns true if the specified request header message part refers to an element, false otherwise.
 boolean requestParameterIsElement(java.lang.String aMethodSig, java.lang.String aParamName)
          Returns true if the specified request parameter message part refers to an element, false otherwise.
 java.util.List resolveAddressingActionHeader(java.lang.String aMethodSig)
          Returns WS-Addressing Action header specific data .
 boolean responseHeaderIsElement(java.lang.String aMethodSig, java.lang.String aHeaderName)
          Returns true if the specified response header message part refers to an element, false otherwise.
 boolean responseParameterIsElement(java.lang.String aMethodSig, java.lang.String aParamName)
          Returns true if the specified response parameter message part refers to an element, false otherwise.
 java.util.Map retrieveJMSBindingInformation()
          Returns map containing all the jms properties in the wsdl set at port,service,binding level .
 void setCurrentPort(java.lang.String aPortName)
          Sets the current port for the current service.
 void setCurrentService(javax.xml.namespace.QName aServiceName)
          Specify the qualified name of the service to be operated on.
 void setPackageName(java.lang.String aPackageName)
          Sets the package name for generated Axis classes.
 void setWSDLURL(java.lang.String aWSDLURL)
          Sets the URL of the WSDL document.
 java.lang.String toString()
          Returns the WSDL document as a character string.
 boolean typeIsDefined(javax.xml.namespace.QName aTypeQName)
          Looks up the specified type name in the Axis WSDL-to-Java symbol table.
 java.lang.String validateService(javax.xml.namespace.QName aServiceKey)
          Validates a given service in wsdl for the validity of SOAP Address, location and Binding.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

static final java.lang.String VERSION
See Also:
Constant Field Values
Method Detail

parse

void parse(java.lang.String aSource)
           throws PRException
Parse a web services definition document

Parameters:
aSource - Web services definition document, as string.
Throws:
PRException

parse

void parse(java.io.Reader aReader)
           throws PRException
Parse a web services definition document

Parameters:
aReader - Web services definition document, as reader.
Throws:
PRException

setWSDLURL

void setWSDLURL(java.lang.String aWSDLURL)
Sets the URL of the WSDL document.

Parameters:
aWSDLURL - The WSDL document URL.

getWSDLURL

java.lang.String getWSDLURL()
Returns the URL of the WSDL document.

Returns:
The WSDL document URL.

getTargetNamespaceURI

java.lang.String getTargetNamespaceURI()
Returns the target namespace URI.

Returns:
The target namespace URI.

getServiceNames

java.util.List getServiceNames(javax.xml.namespace.QName aExtElem)
Returns a list of service names valid for this WSDL document containing ports that contain the extensibility element specified by the namespace and local name.

Parameters:
aExtElem - QName of an extensibility element.
Returns:
A list of service names.

setCurrentService

void setCurrentService(javax.xml.namespace.QName aServiceName)
Specify the qualified name of the service to be operated on.

Parameters:
aServiceName - The service name.

getCurrentService

javax.xml.namespace.QName getCurrentService()
Get the qualified name of the service that is currently being operated on.

Returns:
The current service name.

getPortList

java.util.List getPortList(javax.xml.namespace.QName aExtElem)
Returns a list of port names for the current service that contain the extensibility element specified by the namespace and local name.

Parameters:
aExtElem - QName of an extensibility element.
Returns:
A list of port names

setCurrentPort

void setCurrentPort(java.lang.String aPortName)
Sets the current port for the current service.

Parameters:
aPortName - The port name to use for the current service.

getCurrentPort

java.lang.String getCurrentPort()
Returns the name of the current port.

Returns:
The current port name.

getSOAPVersionForCurrentPort

java.lang.String getSOAPVersionForCurrentPort()
Returns the SOAP version for the current port.

Returns:
SOAP1.1 or SOAP1.2

getSOAPAddressForCurrentPort

java.lang.String getSOAPAddressForCurrentPort()
Returns the SOAP endpoint URL for the current port.

Returns:
The SOAP endpoint URL for the current port.

getCurrentBinding

javax.xml.namespace.QName getCurrentBinding()
Get the qualified name of the binding for the current port.

Returns:
The current binding name.

getCurrentPortType

javax.xml.namespace.QName getCurrentPortType()
Get the qualified name of the port type for the current port.

Returns:
The current port type name.

getSOAPMethodSignatures

java.lang.String[] getSOAPMethodSignatures()
Returns a list of unique SOAP method signatures.

Returns:
a list of unique SOAP method signatures.

getSOAPAction

java.lang.String getSOAPAction(java.lang.String aMethodSig)
Return the soap action for a given method.

Parameters:
aMethodSig - The method signature.
Returns:
The operation style.

getOperationStyle

java.lang.String getOperationStyle(java.lang.String aMethodSig)
Return the operation style (document|rpc) for a given method.

Parameters:
aMethodSig - The method signature.
Returns:
The operation style.

getEncodedOrLiteral

java.lang.String getEncodedOrLiteral(java.lang.String aMethodSig)
Returns the value of the 'use' attribute for the SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The value of the 'use' attribute.

getEncodingStyle

java.lang.String getEncodingStyle(java.lang.String aMethodSig)
Returns the encoding style for a given SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The encoding style.

getNamespaceURI

java.lang.String getNamespaceURI(java.lang.String aMethodSig)
Returns the namespace URI associated with a given method.

Parameters:
aMethodSig - The method signature.
Returns:
The namespace URI.

getParameterOrder

java.lang.String getParameterOrder(java.lang.String aMethodSig)
Return the parameterOrder attribute for a given method.

Parameters:
aMethodSig - The method signature.
Returns:
The parameterOrder attribute.

getInputMessageName

java.lang.String getInputMessageName(java.lang.String aMethodSig)
Returns the Input Message Name of the specified method.

Parameters:
aMethodSig - The method signature.
Returns:
The Input Message Name of the method.

getOutputMessageName

java.lang.String getOutputMessageName(java.lang.String aMethodSig)
Returns the Output Message Name of the specified method.

Parameters:
aMethodSig - The method signature.
Returns:
The Output Message Name of the method.

getRequestHeaders

java.lang.String[] getRequestHeaders(java.lang.String aMethodSig)
Returns an array of request header names;

Parameters:
aMethodSig - The method signature.
Returns:
String array of header names.

requestHeaderIsElement

boolean requestHeaderIsElement(java.lang.String aMethodSig,
                               java.lang.String aHeaderName)
Returns true if the specified request header message part refers to an element, false otherwise.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
true if the header is an element, false otherwise.

getRequestHeaderQName

javax.xml.namespace.QName getRequestHeaderQName(java.lang.String aMethodSig,
                                                java.lang.String aHeaderName)
Returns the QName of the type or element for a given request header.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The type or element QName.

getResponseHeaders

java.lang.String[] getResponseHeaders(java.lang.String aMethodSig)
Returns an array of response header names;

Parameters:
aMethodSig - The method signature.
Returns:
String array of header names.

responseHeaderIsElement

boolean responseHeaderIsElement(java.lang.String aMethodSig,
                                java.lang.String aHeaderName)
Returns true if the specified response header message part refers to an element, false otherwise.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
true if the header is an element, false otherwise.

getResponseHeaderQName

javax.xml.namespace.QName getResponseHeaderQName(java.lang.String aMethodSig,
                                                 java.lang.String aHeaderName)
Returns the QName of the type or element for a given response header.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The type or element QName.

getRequestParameters

java.lang.String[] getRequestParameters(java.lang.String aMethodSig)
Returns an array of the request parameter names.

Parameters:
aMethodSig - The method signature.
Returns:
The request parameters.

requestParameterIsElement

boolean requestParameterIsElement(java.lang.String aMethodSig,
                                  java.lang.String aParamName)
Returns true if the specified request parameter message part refers to an element, false otherwise.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
true if the parameter is an element, false otherwise.

getRequestParameterQName

javax.xml.namespace.QName getRequestParameterQName(java.lang.String aMethodSig,
                                                   java.lang.String aParamName)
Returns the QName of the type or element for a given request parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The type or element QName.

getResponseParameters

java.lang.String[] getResponseParameters(java.lang.String aMethodSig)
Returns an array of the response parameter names.

Parameters:
aMethodSig - The method signature.
Returns:
The response parameters.

responseParameterIsElement

boolean responseParameterIsElement(java.lang.String aMethodSig,
                                   java.lang.String aParamName)
Returns true if the specified response parameter message part refers to an element, false otherwise.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
true if the parameter is an element, false otherwise.

getResponseParameterQName

javax.xml.namespace.QName getResponseParameterQName(java.lang.String aMethodSig,
                                                    java.lang.String aParamName)
Returns the QName of the type or element for a given response parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The type or element QName.

toString

java.lang.String toString()
Returns the WSDL document as a character string.

Overrides:
toString in class java.lang.Object
Returns:
The WSDL document as a character string.

getServiceName

java.lang.String getServiceName()
Deprecated. 

Returns the service name that contains the soap:address element.

Returns:
The service name.

getPortName

java.lang.String getPortName()
Deprecated. 

Returns the port name from the port that contains the soap:address element.

Returns:
The port name.

getSOAPURL

java.lang.String getSOAPURL()
Deprecated. 

Returns the SOAP target URL.

Returns:
The SOAP target URL.

getPortAddress

javax.wsdl.extensions.ExtensibilityElement getPortAddress()
Deprecated. 

Returns the port address.

Returns:
The port address.

getBindingName

java.lang.String getBindingName()
Deprecated. 

Returns the name of the soap binding.

Returns:
The binding name.

getBindingOperations

java.util.List getBindingOperations()
Deprecated. 

Returns a list of binding operations.

Returns:
A list of binding operations.

getPortTypeName

java.lang.String getPortTypeName()
Deprecated. 

Returns the name of the port type.

Returns:
The port type name.

getMethods

java.lang.String[] getMethods()
Deprecated. 

Returns an array of method names described in the WSDL document.

Returns:
An array of method names described in the WSDL document

getSOAPActionBySig

java.lang.String getSOAPActionBySig(java.lang.String aMethodSig)
Deprecated. 

Returns the SOAP action for this SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The SOAP action.

getOperationStyleBySig

java.lang.String getOperationStyleBySig(java.lang.String aMethodSig)
Deprecated. 

Return the operation style for this SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The operation style.

getEncodedOrLiteralBySig

java.lang.String getEncodedOrLiteralBySig(java.lang.String aMethodSig)
Deprecated. 

Returns the value of the 'use' attribute for the SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The value of the 'use' attribute.

getEncodingStyleBySig

java.lang.String getEncodingStyleBySig(java.lang.String aMethodSig)
Deprecated. 

Returns the encoding style for a given SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The encoding style.

getNamespaceURIBySig

java.lang.String getNamespaceURIBySig(java.lang.String aMethodSig)
Deprecated. 

Returns the namespace URI for this SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The namespace URI.

getParameterOrderBySig

java.lang.String getParameterOrderBySig(java.lang.String aMethodSig)
Deprecated. 

Returns the parameter order for this SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
The parameter order.

getRequestHeadersBySig

java.lang.String[] getRequestHeadersBySig(java.lang.String aMethodSig)
Deprecated. 

Returns a list of request header names for a given SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
A list of request header namess.

getRequestHeaderElementName

java.lang.String getRequestHeaderElementName(java.lang.String aMethodSig,
                                             java.lang.String aHeaderName)
Deprecated. 

Returns the element name for the given SOAP method and request header name.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The element name or null;

getRequestHeaderElementNameBySig

java.lang.String getRequestHeaderElementNameBySig(java.lang.String aMethodSig,
                                                  java.lang.String aHeaderName)
Deprecated. 

Returns the element name of a SOAP request header.

Parameters:
aMethodSig - Method signature.
aHeaderName - The part name of the SOAP header.
Returns:
A qualified name reference (String).

getRequestHeaderType

java.lang.String getRequestHeaderType(java.lang.String aMethodSig,
                                      java.lang.String aHeaderName)
Deprecated. 

Returns the type for a given request header for a given method.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The header type.

getRequestHeaderTypeBySig

java.lang.String getRequestHeaderTypeBySig(java.lang.String aMethodSig,
                                           java.lang.String aHeaderName)
Deprecated. 

Returns the request header type.

Parameters:
aMethodSig - The method signature
aHeaderName - The header name.
Returns:
The request header type.

getRequestHeaderUseBySig

java.lang.String getRequestHeaderUseBySig(java.lang.String aMethodSig,
                                          java.lang.String aHeaderName)
Deprecated. 

Returns the 'use' attribute of a SOAP request header.

Parameters:
aMethodSig - The method signature of a binding operation.
aHeaderName - The part name of the SOAP header.
Returns:
'encoded', 'literal', or null if aMethodSig doesn't correspond to a binding operation.

getResponseHeadersBySig

java.lang.String[] getResponseHeadersBySig(java.lang.String aMethodSig)
Deprecated. 

Returns a list of response header names for a given SOAP operation.

Parameters:
aMethodSig - The method signature.
Returns:
A list of response header namess.

getResponseHeaderElementName

java.lang.String getResponseHeaderElementName(java.lang.String aMethodSig,
                                              java.lang.String aHeaderName)
Deprecated. 

Returns the element name for the given SOAP method and response header name.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The element name or null;

getResponseHeaderElementNameBySig

java.lang.String getResponseHeaderElementNameBySig(java.lang.String aMethodSig,
                                                   java.lang.String aHeaderName)
Deprecated. 

Returns the element name of a SOAP response header.

Parameters:
aMethodSig - Method signature.
aHeaderName - The part name of the SOAP header.
Returns:
A qualified name reference (String).

getResponseHeaderType

java.lang.String getResponseHeaderType(java.lang.String aMethodSig,
                                       java.lang.String aHeaderName)
Deprecated. 

Returns the type for a given response header for a given method.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The header type.

getResponseHeaderTypeBySig

java.lang.String getResponseHeaderTypeBySig(java.lang.String aMethodSig,
                                            java.lang.String aHeaderName)
Deprecated. 

Returns the response header type.

Parameters:
aMethodSig - The method signature.
aHeaderName - The header name.
Returns:
The response header type.

getResponseHeaderUseBySig

java.lang.String getResponseHeaderUseBySig(java.lang.String aMethodSig,
                                           java.lang.String aHeaderName)
Deprecated. 

Returns the 'use' attribute of a SOAP response header.

Parameters:
aMethodSig - The method signature of a binding operation.
aHeaderName - The part name of the SOAP header.
Returns:
'encoded', 'literal', or null if aMethodSig doesn't correspond to a binding operation.

getRequestParametersBySig

java.lang.String[] getRequestParametersBySig(java.lang.String aMethodSig)
Deprecated. 

Returns a list of request parameter names.

Parameters:
aMethodSig - The method signature.
Returns:
A list of response parameter names.

getRequestParameterQNameBySig

javax.xml.namespace.QName getRequestParameterQNameBySig(java.lang.String aMethodSig,
                                                        java.lang.String aParamName)
Deprecated. 

Returns the QName of the type or element for a given request parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The type or element QName.

getRequestParameterElementName

java.lang.String getRequestParameterElementName(java.lang.String aMethodSig,
                                                java.lang.String aParamName)
Deprecated. 

Returns the request parameter element name for a given method and parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The element name or null if not a document/literal method.

getRequestParameterElementNameBySig

java.lang.String getRequestParameterElementNameBySig(java.lang.String aMethodSig,
                                                     java.lang.String aParamName)
Deprecated. 

Returns the element name for a given request parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The element name.

getRequestParameterType

java.lang.String getRequestParameterType(java.lang.String aMethodSig,
                                         java.lang.String param)
Deprecated. 

Returns the data type for a given parameter of a given method.

Parameters:
aMethodSig - The method signature.
param - The name of the parameter.
Returns:
The data type.

getRequestParameterTypeBySig

java.lang.String getRequestParameterTypeBySig(java.lang.String aMethodSig,
                                              java.lang.String aParamName)
Deprecated. 

Returns the type for a given request parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The type.

getResponseParametersBySig

java.lang.String[] getResponseParametersBySig(java.lang.String aMethodSig)
Deprecated. 

Returns a list of response parameter names.

Parameters:
aMethodSig - The method signature.
Returns:
A list of response parameter names.

getResponseParameterQNameBySig

javax.xml.namespace.QName getResponseParameterQNameBySig(java.lang.String aMethodSig,
                                                         java.lang.String aParamName)
Deprecated. 

Returns the QName of the type or element for a given response parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The type or element QName.

getResponseParameterElementName

java.lang.String getResponseParameterElementName(java.lang.String aMethodSig,
                                                 java.lang.String aParamName)
Deprecated. 

Returns the response parameter element name for a given method and parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The element name or null if not a document/literal method.

getResponseParameterElementNameBySig

java.lang.String getResponseParameterElementNameBySig(java.lang.String aMethodSig,
                                                      java.lang.String aParamName)
Deprecated. 

Returns the element name for a given response parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The element name.

getResponseParameterType

java.lang.String getResponseParameterType(java.lang.String aMethodSig,
                                          java.lang.String aParamName)
Deprecated. 

Returns the data type for a given parameter of a given method.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The data type.

getResponseParameterTypeBySig

java.lang.String getResponseParameterTypeBySig(java.lang.String aMethodSig,
                                               java.lang.String aParamName)
Deprecated. 

Returns the type for a given response parameter.

Parameters:
aMethodSig - The method signature.
aParamName - The parameter name.
Returns:
The type.

getOperationInputParameters

java.lang.String[] getOperationInputParameters(int aOperationIndex)
Deprecated. 

Returns an array of input parameter names.

Parameters:
aOperationIndex - The operation index.
Returns:
An array of input parameter names.

getInputParameterType

java.lang.String getInputParameterType(int aOperationIndex,
                                       int aPartIndex)
Deprecated. 

Returns input parameter WSDL data type (QName as a String .

Parameters:
aOperationIndex - operation index.
aPartIndex - operation input message part index.
Returns:
input parameter WSDL data type

getOperationOutputParameters

java.lang.String[] getOperationOutputParameters(int aOperationIndex)
Deprecated. 

Returns an array of output parameter names.

Parameters:
aOperationIndex - The operation index.
Returns:
An array of output parameter names.

getOutputParameterType

java.lang.String getOutputParameterType(int aOperationIndex,
                                        int aPartIndex)
Deprecated. 

Returns output parameter WSDL data type (QName as a String .

Parameters:
aOperationIndex - operation index.
aPartIndex - operation output message part index.
Returns:
output parameter WSDL data type

getParameterNativeType

java.lang.String getParameterNativeType(boolean aInput,
                                        int aOperationIndex,
                                        int aPartIndex)
Deprecated. 

Returns output parameter WSDL data type (QName as a String .

Parameters:
aInput - if true, input parameter, else output parameter.
aOperationIndex - operation index.
aPartIndex - operation output message part index.
Returns:
output parameter native data type

getNamespaceURIForPrefix

java.lang.String getNamespaceURIForPrefix(java.lang.String aPrefix)
Deprecated. 

Returns the namespace URI for a given prefix.

Parameters:
aPrefix - The prefix value.
Returns:
The namespace URI.

getLocalNamePart

java.lang.String getLocalNamePart(java.lang.String aQName)
Deprecated. 

Returns the local name of a qualified name representation from the WSDL document.

Parameters:
aQName - The QName from the WSDL document.
Returns:
The local name.

getNamespacePrefixPart

java.lang.String getNamespacePrefixPart(java.lang.String aQName)
Deprecated. 

Returns the namespace prefix of a qualified name representation from the WSDL document.

Parameters:
aQName - The QName from the WSDL document.
Returns:
The namespace prefix.

getBindingProtocol

java.lang.String getBindingProtocol()
Deprecated. 

Returns the binding.protocol

Returns:
The binding protocol.

getJMSMessageType

java.lang.String getJMSMessageType(java.lang.String aMethodName)
Deprecated. 

Returns the JMS message type.

Parameters:
aMethodName - The name of the JMS operation.
Returns:
The JMS message type.

getJMSMessageRequestProperties

java.util.List getJMSMessageRequestProperties(int aOperationIndex)
Deprecated. 

Returns array of message property names .

Parameters:
aOperationIndex - operation index.
Returns:
array of property names.

setPackageName

void setPackageName(java.lang.String aPackageName)
Sets the package name for generated Axis classes.

Parameters:
aPackageName - The package name.

typeIsDefined

boolean typeIsDefined(javax.xml.namespace.QName aTypeQName)
Looks up the specified type name in the Axis WSDL-to-Java symbol table. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aTypeQName - The namespace-qualified type name
Returns:
true if the symbol table contains the type name, false otherwise.

elementIsDefined

boolean elementIsDefined(javax.xml.namespace.QName aElemQName)
Looks up the specified element name in the Axis WSDL-to-Java symbol table. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aElemQName - The namespace-qualified element name
Returns:
true if the symbol table contains the element name, false otherwise.

isBuiltInType

boolean isBuiltInType(javax.xml.namespace.QName aTypeQName)
Checks if the specified type belongs to a known namespace. These currently include: http://www.w3.org/2001/XMLSchema http://www.w3.org/2000/XMLSchema http://www.w3.org/1999/XMLSchema http://www.w3.org/XML/1998/namespace http://schemas.xmlsoap.org/soap/encoding/

Parameters:
aTypeQName - The namespace-qualified type name
Returns:
true if the type name belongs to a known namespace, false otherwise.

isSimpleType

boolean isSimpleType(javax.xml.namespace.QName aTypeQName)
Looks up the specified type name in the Axis WSDL-to-Java symbol table, and checks if it is declared as a simple type. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aTypeQName - The namespace-qualified type name
Returns:
true if the symbol table contains the type and it has simple type, false otherwise.

elementHasSimpleType

boolean elementHasSimpleType(javax.xml.namespace.QName aElemQName)
Looks up the specified element name in the Axis WSDL-to-Java symbol table, and checks if its type is declared as a simple type. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aElemQName - The namespace-qualified element name
Returns:
true if the symbol table contains the element and it has simple type, false otherwise.

getElementType

javax.xml.namespace.QName getElementType(javax.xml.namespace.QName aElemQName)
Looks up the specified element name in the Axis WSDL-to-Java symbol table, and returns its declared type. Elements that use anonamous typedefinitions have the same namespace as the element declaration, and a local name that is the same as the element, prefixed with a '>' character to avoid name collisions. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aElemQName - The namespace-qualified element name
Returns:
the namespace-qualified type name if the symbol table contains the element, null otherwise.

getAxisClassForType

java.lang.String getAxisClassForType(javax.xml.namespace.QName aTypeQName)
Looks up the specified type name in the Axis WSDL-to-Java symbol table, and returns the name of the Axis java class that is used for data mapping. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aTypeQName - The namespace-qualified type name
Returns:
the Axis class name if the symbol table contains the type, null otherwise.

getAxisClassForElement

java.lang.String getAxisClassForElement(javax.xml.namespace.QName aElemQName)
Looks up the specified element name in the Axis WSDL-to-Java symbol table, and returns the name of the Axis java class that is used for data mapping. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aElemQName - The namespace-qualified element name
Returns:
the Axis class name if the symbol table contains the element, null otherwise.

getAxisBindingStubClass

java.lang.String getAxisBindingStubClass(javax.xml.namespace.QName aBindingQName)
Looks up the specified binding name from the WSDL file in the Axis WSDL-to-Java symbol table, and returns the name of the Axis java class that is used for sending the SOAP request message, and parsing the response. The generateAxisClientClasses method should be called prior to calling this method.

Parameters:
aBindingQName - The namespace-qualified binding name
Returns:
the Axis class name if the symbol table contains the binding, null otherwise.

axisClientIsInitialized

boolean axisClientIsInitialized(java.lang.String aClassName)
Tests if the specified class has been previously loaded using PRClassLoader.

Parameters:
aClassName - The name of one of the generated Axis classes
Returns:
true if PRClassLoader is the class loader for the specified class, false otherwise.

initializeAxisClientClasses

void initializeAxisClientClasses(java.util.List aClassList)
Specifies that the PRClassLoader should be the class loader used for each java class name in the input list. This is required at runtime for Axis to be able to use the Class.forName method to locate the classes is uses for deserializing response values.

Parameters:
aClassList - The list of Axis classes used in the connect call.

axisClientIsGenerated

boolean axisClientIsGenerated()
Tests if the Axis client generation has been successfully performed on the WSDL.

Returns:
true if PRClassLoader is the class loader for the specified class, false otherwise.

generateAxisClientClasses

java.util.List generateAxisClientClasses(java.lang.String aWSDLURL,
                                         java.lang.String aWSDLData)
                                         throws PRException
Generates and compiles all of Axis client classes for a given WSDL.

Parameters:
aWSDLURL - The original WSDL document URL.
aWSDLData - The WSDL data content, modified by the WSDL parser.
Returns:
The list of generated java classes.
Throws:
PRException

validateService

java.lang.String validateService(javax.xml.namespace.QName aServiceKey)
Validates a given service in wsdl for the validity of SOAP Address, location and Binding.

Parameters:
aServiceKey - The QName that identifies the service
Returns:
The error messsage if validation fails. Null if the given service is valid.

hasValidSOAPPort

boolean hasValidSOAPPort()
Returns:
true if there is a valid port with SOAP address

getBindingProtocolForCurrentPort

java.lang.String getBindingProtocolForCurrentPort()
Returns the binding protocol for the current port.

Returns:
SOAP1.1 or SOAP1.2 or null

getHTTPBinding

javax.wsdl.extensions.http.HTTPBinding getHTTPBinding()
Returns the http binding for the current port.

Returns:
HTTPBinding or null

getHTTPOperation

javax.wsdl.extensions.http.HTTPOperation getHTTPOperation(java.lang.String aMethodSig)
Returns the Http Operation for the current port.

Parameters:
aMethodSig -
Returns:
HTTPOperation or null

getHTTPAddress

javax.wsdl.extensions.http.HTTPAddress getHTTPAddress()
Returns the HttpAddress element for the current port.

Returns:
HTTPAddress or null

getHTTPAddress

javax.wsdl.extensions.http.HTTPAddress getHTTPAddress(javax.wsdl.Port aPort)
Returns the HttpBinding for the current port.

Parameters:
aPort -
Returns:
HTTPAddress or null

getOperationInputParts

java.lang.String[] getOperationInputParts(java.lang.String aMethodSig)
Returns the parts bound to the Operation input for the current port.

Parameters:
aMethodSig -
Returns:
partNames[] or null

getOperationOutputParts

java.lang.String[] getOperationOutputParts(java.lang.String aMethodSig)
Returns the parts bound to the Operation output for the current port.

Parameters:
aMethodSig -
Returns:
SOAP1.1 or SOAP1.2 or null

hasValidHTTPPort

boolean hasValidHTTPPort()
Returns if valid HTTP port.

Returns:
true if valid

getHTTPRelativeURIScheme

java.lang.String getHTTPRelativeURIScheme(java.lang.String aMethodSignature)
Returns the relative URI scheme bound to Operation input.

Parameters:
aMethodSignature -
Returns:
true if valid

retrieveJMSBindingInformation

java.util.Map retrieveJMSBindingInformation()
Returns map containing all the jms properties in the wsdl set at port,service,binding level .

Returns:
java.util.Map

getInput

javax.wsdl.Input getInput(java.lang.String aMethodSig)
/** Returns Input object pertaining to an operation.

Parameters:
aMethodSig -
Returns:
javax.wsdl.Input

getOutput

javax.wsdl.Output getOutput(java.lang.String aMethodSig)
Returns output object pertaining to an operation.

Parameters:
aMethodSig -
Returns:
javax.wsdl.Output

getOperation

javax.wsdl.Operation getOperation(java.lang.String aMethodSig)
Returns Operation object .

Parameters:
aMethodSig -
Returns:
java.util.Map

getUsingAddressing

javax.wsdl.extensions.addressing.UsingAddressing getUsingAddressing()
Returns UsingAddressing element .

Returns:
java.util.Map

resolveAddressingActionHeader

java.util.List resolveAddressingActionHeader(java.lang.String aMethodSig)
Returns WS-Addressing Action header specific data .

Parameters:
aMethodSig -
Returns:
java.util.List

getEndpointReference

javax.wsdl.extensions.addressing.EndpointReference getEndpointReference()
Returns Endpoint reference element specific data .

Returns:
EndpointReference


Copyright © 2012 Pegasystems Inc. All Rights Reserved.