Class AxisService2WSDL20

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

public class AxisService2WSDL20 extends Object implements WSDL2Constants
  • Constructor Details

    • AxisService2WSDL20

      public AxisService2WSDL20(AxisService service)
    • AxisService2WSDL20

      public AxisService2WSDL20(AxisService service, String serviceName)
  • Method Details

    • generateOM

      public org.apache.axiom.om.OMElement generateOM() throws Exception
      Generates a WSDL 2.0 document for this web service
      Returns:
      The WSDL2 document element
      Throws:
      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 URISyntaxException, AxisFault, XMLStreamException, 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:
      FactoryConfigurationError
      XMLStreamException
      URISyntaxException
      AxisFault
    • setEPRs

      public void setEPRs(String[] eprs)