WsdlUtils Class

com.bea.wsrp.util
WsdlUtils Class

public abstract class WsdlUtils

    extends Object

WSDL Utils.


Hierarchy
Object
  WsdlUtils

Nested Class Summary

public static classWsdlUtils.WsrpPortStruct
          

Specifies WSRP ports offered by a producer.

Method Summary

public static boolean
acceptsMime(String producerWsdlUrl)

Verifies whether the Producer accepts MIME requests.

public static ServiceDescription
getServiceDescription(String serviceDescriptionPortUrl, String registrationHandle, byte[] registrationState)

Returns the service description given the WSDL URL.

public static ServiceDescription
getServiceDescriptionByWsdl(String producerWsdlUrl, String registrationHandle, byte[] registrationState)

Returns the service description given the WSDL URL.

public static ServiceDescription
getServiceDescriptionByWsdl(String producerWsdlUrl)

Returns the service description given the WSDL URL.

public static DefinitionsDocument
getWsdlDocument(String wsdlUrl)

Returns a WSDL for the WSDL URL.

public static WsdlUtils.WsrpPortStruct
getWsrpPortUrls(DefinitionsDocument wsdl)

Returns WSDL Ports.

public static boolean
validateWsdl(DefinitionsDocument wsdl)

Returns true if the given WSDL has mandatory WSRP ports.

 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Method Detail

acceptsMime(String) Method

public static boolean acceptsMime(String producerWsdlUrl)
throws XmlException, IOException

Verifies whether the Producer accepts MIME requests.

Exceptions

XmlException
IOException

getServiceDescription(String, String, byte[]) Method

public static ServiceDescription getServiceDescription(String serviceDescriptionPortUrl, 
                                                       String registrationHandle, 
                                                       byte[] registrationState)
throws IOException

Returns the service description given the WSDL URL.

Parameters

serviceDescriptionPortUrl
service description port URL
registrationHandle
registration handle
registrationState
registration state

Exceptions

IOException

getServiceDescriptionByWsdl(String, String, byte[]) Method

public static ServiceDescription getServiceDescriptionByWsdl(String producerWsdlUrl, 
                                                             String registrationHandle, 
                                                             byte[] registrationState)
throws XmlException, IOException

Returns the service description given the WSDL URL.

Parameters

producerWsdlUrl
WSDL URL
registrationHandle
registration handle
registrationState
registration state

Exceptions

XmlException
throws if there are XML parse errrors
IOException

getServiceDescriptionByWsdl(String) Method

public static ServiceDescription getServiceDescriptionByWsdl(String producerWsdlUrl)
throws XmlException, IOException

Returns the service description given the WSDL URL.

Parameters

producerWsdlUrl
WSDL URL

Exceptions

XmlException
throws if there are XML parse errrors
IOException

getWsdlDocument(String) Method

public static DefinitionsDocument getWsdlDocument(String wsdlUrl)
throws XmlException, IOException

Returns a WSDL for the WSDL URL.

Exceptions

XmlException
throws if there are XML parse errrors
IOException

getWsrpPortUrls(DefinitionsDocument) Method

public static WsdlUtils.WsrpPortStruct getWsrpPortUrls(DefinitionsDocument wsdl)

Returns WSDL Ports.


validateWsdl(DefinitionsDocument) Method

public static boolean validateWsdl(DefinitionsDocument wsdl)

Returns true if the given WSDL has mandatory WSRP ports. Returns false otherwise.

Returns

boolean