Class Wsdl
- java.lang.Object
- 
- org.pentaho.di.trans.steps.webservices.wsdl.Wsdl
 
- 
- All Implemented Interfaces:
- Serializable
 
 public final class Wsdl extends Object implements Serializable Wsdl abstraction.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor 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)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WsdlComplexTypesgetComplexTypes()Get the WsdlComplexTypes instance of this wsdl.WsdlOperationgetOperation(String operationName)Find the specified operation in the WSDL definition.List<WsdlOperation>getOperations()Get a list of all operations defined in this WSDL.StringgetPortName()Get the name of the current port.QNamegetPortTypeQName()Get the PortType name for the service which has been specified by serviceName and portName at construction time.StringgetServiceEndpoint()Get the service endpoint.StringgetServiceName()Get the name of this service.StringgetTargetNamespace()Get the target namespace for the WSDL.WsdlTypesgetWsdlTypes()Returns this objects WSDL types.voidsetPort(QName portName)Change the port of the service.
 
- 
- 
- 
Constructor Detail- 
Wsdlpublic 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
 
 - 
Wsdlpublic Wsdl(URI wsdlURI, QName serviceQName, String portName, String username, String password) throws org.apache.http.auth.AuthenticationException - Throws:
- org.apache.http.auth.AuthenticationException
 
 - 
Wsdlpublic Wsdl(javax.wsdl.xml.WSDLLocator wsdlLocator, QName serviceQName, String portName) throws org.apache.http.auth.AuthenticationExceptionLoads 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
 
 
- 
 - 
Method Detail- 
getComplexTypespublic WsdlComplexTypes 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.
 
 - 
getOperationpublic 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
 
 - 
getOperationspublic List<WsdlOperation> getOperations() throws org.pentaho.di.core.exception.KettleStepException Get a list of all operations defined in this WSDL.- Returns:
- List of WsdlOperations.
- Throws:
- org.pentaho.di.core.exception.KettleStepException
 
 - 
getPortNamepublic String getPortName() Get the name of the current port.- Returns:
- Name of the current port.
 
 - 
getPortTypeQNamepublic QName getPortTypeQName() Get the PortType name for the service which has been specified by serviceName and portName at construction time.- Returns:
- QName of the PortType.
 
 - 
getServiceEndpointpublic String getServiceEndpoint() Get the service endpoint.- Returns:
- String containing the service endpoint.
 
 - 
getServiceNamepublic String getServiceName() Get the name of this service.- Returns:
- Service name.
 
 - 
getTargetNamespacepublic String getTargetNamespace() Get the target namespace for the WSDL.- Returns:
- The targetNamespace
 
 - 
setPortpublic void setPort(QName portName) Change the port of the service.- Parameters:
- portName- The new port name.
- Throws:
- IllegalArgumentException- if port name is not defined in WSDL.
 
 - 
getWsdlTypespublic WsdlTypes getWsdlTypes() Returns this objects WSDL types.- Returns:
- WsdlTepes
 
 
- 
 
-