org.apache.axis2.description
Class AxisService2WSDL20

java.lang.Object
  extended by org.apache.axis2.description.AxisService2WSDL20
All Implemented Interfaces:
WSDL2Constants

public class AxisService2WSDL20
extends java.lang.Object
implements WSDL2Constants


Field Summary
 
Fields inherited from interface org.apache.axis2.description.WSDL2Constants
ATTR_WHTTP_AUTHENTICATION_REALM, ATTR_WHTTP_AUTHENTICATION_TYPE, ATTR_WHTTP_CODE, ATTR_WHTTP_CONTENT_ENCODING, ATTR_WHTTP_FAULT_SERIALIZATION, ATTR_WHTTP_HEADER, ATTR_WHTTP_IGNORE_UNCITED, ATTR_WHTTP_INPUT_SERIALIZATION, ATTR_WHTTP_LOCATION, ATTR_WHTTP_METHOD, ATTR_WHTTP_OUTPUT_SERIALIZATION, ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR, ATTR_WRPC_SIGNATURE, ATTR_WSDLX_SAFE, ATTR_WSOAP_ACTION, ATTR_WSOAP_ADDRESS, ATTR_WSOAP_CODE, ATTR_WSOAP_HEADER, ATTR_WSOAP_MEP, ATTR_WSOAP_MODULE, ATTR_WSOAP_PROTOCOL, ATTR_WSOAP_SUBCODES, ATTR_WSOAP_VERSION, ATTRIBUTE_ACTION, ATTRIBUTE_ADDRESS, ATTRIBUTE_AUTHENTICATION_REALM, ATTRIBUTE_AUTHENTICATION_TYPE, ATTRIBUTE_CODE, ATTRIBUTE_CONTENT_ENCODING, ATTRIBUTE_CONTENT_ENCODING_DEFAULT, ATTRIBUTE_ELEMENT, ATTRIBUTE_FAULT_SERIALIZATION, ATTRIBUTE_HEADER, ATTRIBUTE_IGNORE_UNCITED, ATTRIBUTE_INPUT_SERIALIZATION, ATTRIBUTE_LOCATION, ATTRIBUTE_MEP, ATTRIBUTE_MEP_DEFAULT, ATTRIBUTE_METHOD, ATTRIBUTE_METHOD_DEFAULT, ATTRIBUTE_MODULE, ATTRIBUTE_MUST_UNDERSTAND, ATTRIBUTE_NAME, ATTRIBUTE_NAME_PATTERN, ATTRIBUTE_OUTPUT_SERIALIZATION, ATTRIBUTE_PROTOCOL, ATTRIBUTE_QUERY_PARAMETER_SEPERATOR, ATTRIBUTE_QUERY_PARAMETER_SEPERATOR_DEFAULT, ATTRIBUTE_REF, ATTRIBUTE_REQUIRED, ATTRIBUTE_SAFE, ATTRIBUTE_SIGNATURE, ATTRIBUTE_STYLE, ATTRIBUTE_SUBCODES, ATTRIBUTE_TYPE, ATTRIBUTE_VERSION, BINDING_LOCAL_NAME, DEFAULT_HTTP_ENDPOINT_NAME, DEFAULT_HTTPS_PREFIX, DEFAULT_INTERFACE_NAME, DEFAULT_SOAP11_ENDPOINT_NAME, DEFAULT_SOAP12_ENDPOINT_NAME, DEFAULT_TARGET_NAMESPACE_PREFIX, DEFAULT_WSDL_NAMESPACE_PREFIX, DESCRIPTION, DOCUMENTATION, ENDPOINT_LOCAL_NAME, FAULT_LOCAL_NAME, HTTP_LOCATION_TABLE, HTTP_PREFIX, HTTP_PROTOCAL, IN_FAULT_LOCAL_NAME, IN_PUT_LOCAL_NAME, INTERFACE_LOCAL_NAME, INTERFACE_PREFIX, LEGAL_CHARACTERS_IN_PATH, LEGAL_CHARACTERS_IN_QUERY, LEGAL_CHARACTERS_IN_URL, MEP_URI_IN_ONLY, MEP_URI_IN_OPTIONAL_OUT, MEP_URI_IN_OUT, MEP_URI_OUT_IN, MEP_URI_OUT_ONLY, MEP_URI_OUT_OPTIONAL_IN, MEP_URI_ROBUST_IN_ONLY, MEP_URI_ROBUST_OUT_ONLY, MESSAGE_LABEL, MESSAGE_LABEL_IN, MESSAGE_LABEL_OUT, NMTOKEN_ANY, NMTOKEN_ELEMENT, NMTOKEN_NONE, NMTOKEN_OTHER, OPERATION_LOCAL_NAME, OPERATION_STYLE, OUT_FAULT_LOCAL_NAME, OUT_PUT_LOCAL_NAME, RPC_IN, RPC_INOUT, RPC_RETURN, SERVICE_LOCAL_NAME, SOAP_BINDING_PREFIX, SOAP_ENV_PREFIX, SOAP_PREFIX, SOAP_VERSION_1_1, SOAP_VERSION_1_2, STYLE_IRI, STYLE_MULTIPART, STYLE_RPC, TARGET_NAMESPACE, TEMPLATE_ENCODE_ESCAPING_CHARACTER, TYPES_LOCAL_NALE, URI_WSDL2_EXTENSIONS, URI_WSDL2_HTTP, URI_WSDL2_RPC, URI_WSDL2_SOAP, URI_WSOAP_MEP, WSDL_EXTENTION_PREFIX, WSDL_NAMESPACE, WSDL_RPC_PREFIX
 
Constructor Summary
AxisService2WSDL20(AxisService service)
           
AxisService2WSDL20(AxisService service, java.lang.String serviceName)
           
 
Method Summary
 org.apache.axiom.om.OMElement generateInterfaceOperationElement(AxisOperation axisOperation, org.apache.axiom.om.OMNamespace wsdl, org.apache.axiom.om.OMNamespace tns, org.apache.axiom.om.OMNamespace wsdlx, org.apache.axiom.om.OMNamespace wrpc)
          Generates the interface Operation element.
 org.apache.axiom.om.OMElement generateOM()
          Generates a WSDL 2.0 document for this web service
 void setEPRs(java.lang.String[] eprs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisService2WSDL20

public AxisService2WSDL20(AxisService service)

AxisService2WSDL20

public AxisService2WSDL20(AxisService service,
                          java.lang.String serviceName)
Method Detail

generateOM

public org.apache.axiom.om.OMElement generateOM()
                                         throws java.lang.Exception
Generates a WSDL 2.0 document for this web service

Returns:
The WSDL2 document element
Throws:
java.lang.Exception - - Thrown in case an exception occurs

generateInterfaceOperationElement

public org.apache.axiom.om.OMElement generateInterfaceOperationElement(AxisOperation axisOperation,
                                                                       org.apache.axiom.om.OMNamespace wsdl,
                                                                       org.apache.axiom.om.OMNamespace tns,
                                                                       org.apache.axiom.om.OMNamespace wsdlx,
                                                                       org.apache.axiom.om.OMNamespace wrpc)
                                                                throws java.net.URISyntaxException,
                                                                       AxisFault,
                                                                       javax.xml.stream.XMLStreamException,
                                                                       javax.xml.stream.FactoryConfigurationError
Generates the interface Operation element. As with the binding operations we dont need to ask AxisMessage to serialize its message cause AxisMessage does not have specific properties as bindings.

Parameters:
axisOperation - the operation to write
wsdl - the WSDL namespace
tns - the target namespace
wsdlx - the WSDL extentions namespace (WSDL 2.0)
Returns:
the generated <operation> element
Throws:
javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamException
java.net.URISyntaxException
AxisFault

setEPRs

public void setEPRs(java.lang.String[] eprs)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.