|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wsrp.util.WsdlUtils
WSDL Utils.
Nested Class Summary | |
static class |
WsdlUtils.WsrpPortStruct
Specifies WSRP ports offered by a producer. |
Method Summary | |
static boolean |
acceptsMime(String producerWsdlUrl)
Verifies whether the Producer accepts MIME requests. |
static ServiceDescription |
getServiceDescription(String serviceDescriptionPortUrl,
String registrationHandle,
byte[] registrationState)
Returns the service description given the WSDL URL. |
static ServiceDescription |
getServiceDescriptionByWsdl(String producerWsdlUrl)
Returns the service description given the WSDL URL. |
static ServiceDescription |
getServiceDescriptionByWsdl(String producerWsdlUrl,
String registrationHandle,
byte[] registrationState)
Returns the service description given the WSDL URL. |
static DefinitionsDocument |
getWsdlDocument(String wsdlUrl)
Returns a WSDL for the WSDL URL. |
static WsdlUtils.WsrpPortStruct |
getWsrpPortUrls(DefinitionsDocument wsdl)
Returns WSDL Ports. |
static boolean |
validateWsdl(DefinitionsDocument wsdl)
Returns true if the given WSDL has mandatory WSRP ports. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean acceptsMime(String producerWsdlUrl) throws XmlException, IOException
Verifies whether the Producer accepts MIME requests.
producerWsdlUrl
-
XmlException
IOException
public static ServiceDescription getServiceDescription(String serviceDescriptionPortUrl, String registrationHandle, byte[] registrationState) throws IOException
Returns the service description given the WSDL URL.
serviceDescriptionPortUrl
- service description port URLregistrationHandle
- registration handleregistrationState
- registration state
UnknownHostException
- thrown if host in the given WSDL URL is not known
FileNotFoundException
- thrown if there is at the given WSDL URL is not found
IOException
public static ServiceDescription getServiceDescriptionByWsdl(String producerWsdlUrl) throws XmlException, IOException
Returns the service description given the WSDL URL.
producerWsdlUrl
- WSDL URL
IllegalArgumentException
- if the WSDL is not valid per the validateWsdl method
UnknownHostException
- thrown if host in the given WSDL URL is not known
FileNotFoundException
- thrown if there is at the given WSDL URL is not found
UnsupportedContentTypeException
- thrown if the response content type at the given URL is not supported
XmlException
- throws if there are XML parse errrors
IOException
public static ServiceDescription getServiceDescriptionByWsdl(String producerWsdlUrl, String registrationHandle, byte[] registrationState) throws XmlException, IOException
Returns the service description given the WSDL URL.
producerWsdlUrl
- WSDL URLregistrationHandle
- registration handleregistrationState
- registration state
IllegalArgumentException
- if the WSDL is not valid per the validateWsdl method
UnknownHostException
- thrown if host in the given WSDL URL is not known
FileNotFoundException
- thrown if there is at the given WSDL URL is not found
UnsupportedContentTypeException
- thrown if the response content type at the given URL is not supported
XmlException
- throws if there are XML parse errrors
IOException
public static DefinitionsDocument getWsdlDocument(String wsdlUrl) throws XmlException, IOException
Returns a WSDL for the WSDL URL.
wsdlUrl
-
UnknownHostException
- thrown if host in the given WSDL URL is not known
FileNotFoundException
- thrown if there is at the given WSDL URL is not found
UnsupportedContentTypeException
- thrown if the response content type at the given URL is not supported
IllegalArgumentException
- thrown if the docuemnt at the given URL is not a WSDL
XmlException
- throws if there are XML parse errrors
IOException
public static WsdlUtils.WsrpPortStruct getWsrpPortUrls(DefinitionsDocument wsdl)
Returns WSDL Ports.
wsdl
-
public static boolean validateWsdl(DefinitionsDocument wsdl)
Returns true
if the given WSDL has mandatory WSRP ports. Returns false
otherwise.
wsdl
-
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |