All Superinterfaces:
GovernanceArtifact
All Known Implementing Classes:
WsdlImpl

public interface Wsdl extends GovernanceArtifact
  • Method Details

    • getWsdlElement

      org.apache.axiom.om.OMElement getWsdlElement()
      Method to obtain the WSDL element of this WSDL artifact.
      Returns:
      the WSDL element.
    • setWsdlElement

      void setWsdlElement(org.apache.axiom.om.OMElement wsdlElement)
      Method to set the WSDL element of this WSDL artifact.
      Parameters:
      wsdlElement - the WSDL element.
    • attachSchema

      void attachSchema(Schema schema) throws GovernanceException
      Attach a schema artifact to a WSDL artifact. Both the artifacts should be saved, before calling this method.
      Parameters:
      schema - the schema to attach.
      Throws:
      GovernanceException - if the operation failed.
    • detachSchema

      void detachSchema(String schemaId) throws GovernanceException
      Detach a schema artifact from a WSDL artifact. Both the artifacts should be saved, before calling this method.
      Parameters:
      schemaId - the identifier of the schema to detach.
      Throws:
      GovernanceException - if the operation failed.
    • getAttachedSchemas

      Schema[] getAttachedSchemas() throws GovernanceException
      Method to retrieve all schemas attached to this WSDL artifact.
      Returns:
      all schemas attached to this WSDL artifact.
      Throws:
      GovernanceException - if the operation failed.
    • attachEndpoint

      void attachEndpoint(Endpoint endpoint) throws GovernanceException
      Attach an endpoint artifact to a WSDL artifact. Both the artifacts should be saved, before calling this method.
      Parameters:
      endpoint - the endpoint to attach.
      Throws:
      GovernanceException - if the operation failed.
    • detachEndpoint

      void detachEndpoint(String endpointId) throws GovernanceException
      Detach an endpoint artifact from a WSDL artifact. Both the artifacts should be saved, before calling this method.
      Parameters:
      endpointId - the identifier of the endpoint to detach.
      Throws:
      GovernanceException - if the operation failed.
    • getAttachedEndpoints

      Endpoint[] getAttachedEndpoints() throws GovernanceException
      Method to retrieve all endpoints attached to this WSDL artifact.
      Returns:
      all endpoints attached to this WSDL artifact.
      Throws:
      GovernanceException - if the operation failed.