Class WsdlConverter
java.lang.Object
com.aquima.interactions.communication.impl.converter.WsdlConverter
Internal converter class to write a wsdl for a soap service contract.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Constructor Summary
ConstructorsConstructorDescriptionWsdlConverter
(ISoapContract contract, SoapVersion soapVersion, IResourceResolver resourceResolver) Internal constructor to create a wsd converter. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(String wsdlName, OutputStream stream) This method writes the requested wsdl to an output stream.
-
Constructor Details
-
WsdlConverter
public WsdlConverter(ISoapContract contract, SoapVersion soapVersion, IResourceResolver resourceResolver) Internal constructor to create a wsd converter.- Parameters:
contract
- The contract definition object, may not be null.soapVersion
- The version of the SOAP service, may not be null.resourceResolver
- The wsdl resource resolver, may not be null.
-
-
Method Details
-
write
This method writes the requested wsdl to an output stream.- Parameters:
wsdlName
- The requested wsdl, may not be null or empty.stream
- The output stream, may not be null.- Throws:
IOException
- Is thrown when writing to the output stream fails.XmlException
- Is thrown when the wsdl xml could not be created due to an XML construction failure.UnknownWsdlException
- Is thrown when the requested wsdl name doe not exist.
-