Class ServiceDeploymentUtil

java.lang.Object
org.wso2.am.integration.test.utils.generic.ServiceDeploymentUtil

public class ServiceDeploymentUtil extends Object
  • Constructor Details

    • ServiceDeploymentUtil

      public ServiceDeploymentUtil()
  • Method Details

    • isServiceWSDlExist

      public static boolean isServiceWSDlExist(String wsdlURL, long synchronizingDelay) throws IOException
      Check whether the wsdl is exists or not
      Parameters:
      wsdlURL - - URL of the wsdl
      synchronizingDelay - - time interval to wait until service get deployed on worker nodes.
      Returns:
      - status of the wsdl availability
      Throws:
      IOException - - Throws if given wsdl cannot be found
    • isWSDLAvailable

      public static boolean isWSDLAvailable(String serviceEndpoint) throws IOException
      Check whether the wsdl is available
      Parameters:
      serviceEndpoint - - service endpoint (without ?wsdl)
      Returns:
      - Status of wsdl availability
      Throws:
      IOException - - Throws if wsdl cannot be found