org.apache.juddi.v3.client.mapping
Class ReadWSDL
java.lang.Object
org.apache.juddi.v3.client.mapping.ReadWSDL
public class ReadWSDL
- extends Object
A WSDL parser/reader
- Author:
- Kurt T Stam
Modified for supporting http based credentials by Alex O'Ree
Method Summary |
javax.wsdl.Definition |
readWSDL(String fileName)
|
javax.wsdl.Definition |
readWSDL(URL wsdlUrl)
Reads a WSDL file, assumes that credentials are not required. |
javax.wsdl.Definition |
readWSDL(URL wsdlUrl,
String username,
String password)
Reads a WSDL file, assumes that credentials are required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadWSDL
public ReadWSDL()
readWSDL
public javax.wsdl.Definition readWSDL(String fileName)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
readWSDL
public javax.wsdl.Definition readWSDL(URL wsdlUrl,
String username,
String password)
throws javax.wsdl.WSDLException
- Reads a WSDL file, assumes that credentials are required. This is useful for when the WSDL document itself
is protected by HTTP based authentication mechanisms
- Parameters:
wsdlUrl
- username
- password
- domain
-
- Returns:
- a Definition object representing the WSDL
- Throws:
javax.wsdl.WSDLException
readWSDL
public javax.wsdl.Definition readWSDL(URL wsdlUrl)
throws javax.wsdl.WSDLException
- Reads a WSDL file, assumes that credentials are not required. This is a convenience wrapper for
readWSDL(URL wsdlUrl, null, null, null)
- Parameters:
wsdlUrl
-
- Returns:
- a Definition object representing the WSDL
- Throws:
javax.wsdl.WSDLException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.