public class WSDLParser extends Object
Constructor and Description |
---|
WSDLParser(String wsdlLocation)
Constructor which takes the location of the base wsdl file, and begins to
process it
|
Modifier and Type | Method and Description |
---|---|
static void |
flushCache(String wsdlLocation)
flushes all the caches of entries associated with provided wsdl location
|
String |
getOperationDocumentation(String operationName)
Provides the documentation for the given operation name, or returns an
empty string if no documentation is provided by the WSDL.
|
String |
getOperationEndpointLocation(String portName) |
List<String> |
getOperationEndpointLocations(String operationName) |
List<TypeDescriptor> |
getOperationInputParameters(String operationName)
Returns a List of the TypeDescriptors representing the parameters for the
inputs to the service
|
String |
getOperationNamespaceURI(String operationName)
returns the namespace uri for the given operation name, throws
UnknownOperationException if the operationName is not matched to one
described by the WSDL.
|
List<TypeDescriptor> |
getOperationOutputParameters(String operationName)
Returns a List of the TypeDescriptors representing the parameters for the
outputs of the service
|
QName |
getOperationQname(String operationName) |
List<String> |
getOperations() |
List<String> |
getOperations(String portName) |
List<String> |
getPorts(QName serviceName) |
List<QName> |
getServices() |
String |
getSOAPActionURI(String operationName)
Returns the actionURI for the given operation
|
String |
getStyle()
Deprecated.
|
String |
getStyle(String operationName) |
String |
getUse(String operationName)
Returns either literal or encoded, describing the 'use' for this
operation
|
String |
getWSDLLocation() |
WSRF_Version |
isWSRFPort(String portName) |
boolean |
isWsrfService()
Checks whether ANY of defined ports is an WSRF one.
|
public WSDLParser(String wsdlLocation) throws ParserConfigurationException, javax.wsdl.WSDLException, IOException, SAXException
wsdlLocation
- - the location of the wsdl fileParserConfigurationException
javax.wsdl.WSDLException
IOException
SAXException
public List<String> getOperations()
public boolean isWsrfService()
public static void flushCache(String wsdlLocation)
wsdlLocation
- public String getWSDLLocation()
public List<String> getOperationEndpointLocations(String operationName) throws UnknownOperationException
UnknownOperationException
@Deprecated public String getStyle() throws UnknownOperationException
UnknownOperationException
public String getStyle(String operationName) throws UnknownOperationException
UnknownOperationException
public List<TypeDescriptor> getOperationInputParameters(String operationName) throws UnknownOperationException, IOException
operationName
- UnknownOperationException
- if no operation matches the nameIOException
public List<TypeDescriptor> getOperationOutputParameters(String operationName) throws UnknownOperationException, IOException
operationName
- UnknownOperationException
- if no operation matches the nameIOException
public String getOperationNamespaceURI(String operationName) throws UnknownOperationException
Note that if you need the namespace for
constructing the fully qualified element name of the operation, you might
want to use getOperationQname(String)
instead.
operationName
- UnknownOperationException
getOperationQname(String)
public QName getOperationQname(String operationName) throws UnknownOperationException
UnknownOperationException
public String getUse(String operationName) throws UnknownOperationException
operationName
- UnknownOperationException
public String getSOAPActionURI(String operationName) throws UnknownOperationException
operationName
- UnknownOperationException
public String getOperationDocumentation(String operationName) throws UnknownOperationException
operationName
- UnknownOperationException
public WSRF_Version isWSRFPort(String portName)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.