Class SoapContract
java.lang.Object
com.aquima.interactions.communication.impl.SoapContract
- All Implemented Interfaces:
ISoapContract
This class holds the static definition of a soap contract.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Constructor Summary
ConstructorsConstructorDescriptionSoapContract
(ISoapContractDS datasource, CommunicationEngine communicationEngine) Constructs a soap contract with a datasource. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addWsdl
(WsdlDefinition wsdl) This method returns the name of the entry wsdl of the contract.getName()
This method returns the name of the contract.This method returns the type contract of the wsdl.This method returns the binary content of the wsdl.String[]
getWsdls()
This method returns the available wsdls
-
Constructor Details
-
SoapContract
public SoapContract(ISoapContractDS datasource, CommunicationEngine communicationEngine) throws InitializationException Constructs a soap contract with a datasource.- Parameters:
datasource
- The datasource, may not be null.- Throws:
InitializationException
- This exception is thrown when the definition could not be created.
-
-
Method Details
-
getMainWsdl
Description copied from interface:ISoapContract
This method returns the name of the entry wsdl of the contract.- Specified by:
getMainWsdl
in interfaceISoapContract
- Returns:
- The name of the entry wsdl, may not be null.
-
getWsdls
Description copied from interface:ISoapContract
This method returns the available wsdls- Specified by:
getWsdls
in interfaceISoapContract
- Returns:
- The available wsdls, may not be null.
-
getWsdl
Description copied from interface:ISoapContract
This method returns the binary content of the wsdl.- Specified by:
getWsdl
in interfaceISoapContract
- Parameters:
wsdlName
- The name of the wsdl.- Returns:
- The bytes of the wsdl.
- Throws:
UnknownWsdlException
- when there is no wsdl for the given name
-
addWsdl
-
getName
Description copied from interface:ISoapContract
This method returns the name of the contract.- Specified by:
getName
in interfaceISoapContract
- Returns:
- The name of the contract, may not be null.
-
getSchemaContract
Description copied from interface:ISoapContract
This method returns the type contract of the wsdl.- Specified by:
getSchemaContract
in interfaceISoapContract
- Returns:
- The type contract of the wsdl, may not be null.
-