public final class Wsdl extends Object implements Serializable
Constructor and Description |
---|
Wsdl(URI wsdlURI,
QName serviceQName,
String portName)
Loads and parses the specified WSDL file.
|
Wsdl(URI wsdlURI,
QName serviceQName,
String portName,
String username,
String password) |
Wsdl(javax.wsdl.xml.WSDLLocator wsdlLocator,
QName serviceQName,
String portName)
Loads and parses the specified WSDL file.
|
Wsdl(javax.wsdl.xml.WSDLLocator wsdlLocator,
QName serviceQName,
String portName,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
WsdlComplexTypes |
getComplexTypes()
Get the WsdlComplexTypes instance of this wsdl.
|
WsdlOperation |
getOperation(String operationName)
Find the specified operation in the WSDL definition.
|
List<WsdlOperation> |
getOperations()
Get a list of all operations defined in this WSDL.
|
String |
getPortName()
Get the name of the current port.
|
QName |
getPortTypeQName()
Get the PortType name for the service which has been specified by serviceName and portName at construction time.
|
String |
getServiceEndpoint()
Get the service endpoint.
|
String |
getServiceName()
Get the name of this service.
|
String |
getTargetNamespace()
Get the target namespace for the WSDL.
|
WsdlTypes |
getWsdlTypes()
Returns this objects WSDL types.
|
void |
setPort(QName portName)
Change the port of the service.
|
public Wsdl(URI wsdlURI, QName serviceQName, String portName) throws org.apache.http.auth.AuthenticationException
wsdlURI
- URI of a WSDL file.serviceQName
- Name of the service in the WSDL, if null default to first service in WSDL.portName
- The service port name, if null default to first port in service.org.apache.http.auth.AuthenticationException
public Wsdl(URI wsdlURI, QName serviceQName, String portName, String username, String password) throws org.apache.http.auth.AuthenticationException
org.apache.http.auth.AuthenticationException
public Wsdl(javax.wsdl.xml.WSDLLocator wsdlLocator, QName serviceQName, String portName) throws org.apache.http.auth.AuthenticationException
wsdlLocator
- A javax.wsdl.WSDLLocator instance.serviceQName
- Name of the service in the WSDL.portName
- The service port name.org.apache.http.auth.AuthenticationException
public WsdlComplexTypes getComplexTypes()
public WsdlOperation getOperation(String operationName) throws KettleStepException
operationName
- Name of operation to find.KettleStepException
public List<WsdlOperation> getOperations() throws KettleStepException
KettleStepException
public String getPortName()
public QName getPortTypeQName()
public String getServiceEndpoint()
public String getServiceName()
public String getTargetNamespace()
public void setPort(QName portName)
portName
- The new port name.IllegalArgumentException
- if port name is not defined in WSDL.public WsdlTypes getWsdlTypes()
Copyright © 2018 Hitachi Vantara. All rights reserved.