Class Wsdl
java.lang.Object
org.pentaho.di.trans.steps.webservices.wsdl.Wsdl
- All Implemented Interfaces:
Serializable
Wsdl abstraction.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the WsdlComplexTypes instance of this wsdl.getOperation
(String operationName) Find the specified operation in the WSDL definition.Get a list of all operations defined in this WSDL.Get the name of the current port.Get the PortType name for the service which has been specified by serviceName and portName at construction time.Get the service endpoint.Get the name of this service.Get the target namespace for the WSDL.Returns this objects WSDL types.void
Change the port of the service.
-
Constructor Details
-
Wsdl
public Wsdl(URI wsdlURI, QName serviceQName, String portName) throws org.apache.http.auth.AuthenticationException Loads and parses the specified WSDL file.- Parameters:
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.- Throws:
org.apache.http.auth.AuthenticationException
-
Wsdl
public Wsdl(URI wsdlURI, QName serviceQName, String portName, String username, String password) throws org.apache.http.auth.AuthenticationException - Throws:
org.apache.http.auth.AuthenticationException
-
Wsdl
public Wsdl(javax.wsdl.xml.WSDLLocator wsdlLocator, QName serviceQName, String portName) throws org.apache.http.auth.AuthenticationException Loads and parses the specified WSDL file.- Parameters:
wsdlLocator
- A javax.wsdl.WSDLLocator instance.serviceQName
- Name of the service in the WSDL.portName
- The service port name.- Throws:
org.apache.http.auth.AuthenticationException
-
Wsdl
public Wsdl(javax.wsdl.xml.WSDLLocator wsdlLocator, QName serviceQName, String portName, String username, String password) throws org.apache.http.auth.AuthenticationException - Throws:
org.apache.http.auth.AuthenticationException
-
-
Method Details
-
getComplexTypes
Get the WsdlComplexTypes instance of this wsdl. WsdlComplex types provides type information for named complextypes defined in the wsdl's <types> section.- Returns:
- WsdlComplexTypes instance.
-
getOperation
public WsdlOperation getOperation(String operationName) throws org.pentaho.di.core.exception.KettleStepException Find the specified operation in the WSDL definition.- Parameters:
operationName
- Name of operation to find.- Returns:
- A WsdlOperation instance, null if operation can not be found in WSDL.
- Throws:
org.pentaho.di.core.exception.KettleStepException
-
getOperations
Get a list of all operations defined in this WSDL.- Returns:
- List of WsdlOperations.
- Throws:
org.pentaho.di.core.exception.KettleStepException
-
getPortName
Get the name of the current port.- Returns:
- Name of the current port.
-
getPortTypeQName
Get the PortType name for the service which has been specified by serviceName and portName at construction time.- Returns:
- QName of the PortType.
-
getServiceEndpoint
Get the service endpoint.- Returns:
- String containing the service endpoint.
-
getServiceName
Get the name of this service.- Returns:
- Service name.
-
getTargetNamespace
Get the target namespace for the WSDL.- Returns:
- The targetNamespace
-
setPort
Change the port of the service.- Parameters:
portName
- The new port name.- Throws:
IllegalArgumentException
- if port name is not defined in WSDL.
-
getWsdlTypes
Returns this objects WSDL types.- Returns:
- WsdlTepes
-