public class CXFConsumerImpl extends WSContractConsumer
PROVIDER_PROPERTY| Constructor and Description |
|---|
CXFConsumerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(URL wsdl)
Generate the required artifacts using the specified WSDL URL.
|
protected static int |
getJVMMajorVersion() |
void |
setAdditionalCompilerClassPath(List<String> additionalCompilerClassPath)
Sets the additional classpath to use if/when invoking the Java compiler.
|
void |
setAdditionalHeaders(boolean additionalHeaders)
Enables or disables processing of implicit SOAP headers (i.e.
|
void |
setBindingFiles(List<File> bindingFiles)
Specifies the JAX-WS and JAXB binding files to use on import operations.
|
void |
setCatalog(File catalog)
Sets the OASIS XML Catalog file to use for entity resolution.
|
void |
setClientJar(File clientJar)
Set the clientjar file name
|
void |
setEncoding(String encoding)
Sets the charset encoding to be used for generating sources
|
void |
setExtension(boolean extension)
Enables/Disables SOAP 1.2 binding extension
|
void |
setGenerateSource(boolean generateSource)
Enables/Disables Java source generation.
|
void |
setMessageStream(PrintStream messageStream)
Sets the PrintStream to use for status feedback.
|
void |
setNoCompile(boolean nocompile)
Enables/Disables Java source compilation.
|
void |
setOutputDirectory(File directory)
Sets the main output directory.
|
void |
setSourceDirectory(File directory)
Sets the source directory.
|
void |
setTarget(String target)
Set the target JAX-WS specification target.
|
void |
setTargetPackage(String targetPackage)
Sets the target package for generated source.
|
void |
setWsdlLocation(String wsdlLocation)
Sets the @@WebService.wsdlLocation and @@WebServiceClient.wsdlLocation attributes to a custom value.
|
consume, newInstance, newInstancepublic void setBindingFiles(List<File> bindingFiles)
WSContractConsumersetBindingFiles in class WSContractConsumerbindingFiles - list of JAX-WS or JAXB binding filespublic void setCatalog(File catalog)
WSContractConsumersetCatalog in class WSContractConsumercatalog - the OASIS XML Catalog filepublic void setExtension(boolean extension)
WSContractConsumersetExtension in class WSContractConsumerextension - whether or not to enable SOAP 1.2 binding extensionpublic void setGenerateSource(boolean generateSource)
WSContractConsumersetGenerateSource in class WSContractConsumergenerateSource - whether or not to generate Java source.public void setMessageStream(PrintStream messageStream)
WSContractConsumersetMessageStream in class WSContractConsumermessageStream - the stream to use for status messages:public void setOutputDirectory(File directory)
WSContractConsumersetOutputDirectory in class WSContractConsumerdirectory - the root directory for generated filespublic void setSourceDirectory(File directory)
WSContractConsumersetSourceDirectory in class WSContractConsumerdirectory - the root directory for generated source codepublic void setTargetPackage(String targetPackage)
WSContractConsumersetTargetPackage in class WSContractConsumertargetPackage - the target package for generated sourcepublic void setWsdlLocation(String wsdlLocation)
WSContractConsumersetWsdlLocation in class WSContractConsumerwsdlLocation - the custom WSDL location to use in generated sourcepublic void setEncoding(String encoding)
WSContractConsumersetEncoding in class WSContractConsumerencoding - the charset encoding to be used for generating sourcespublic void setAdditionalCompilerClassPath(List<String> additionalCompilerClassPath)
WSContractConsumerjava.class.path
property. So for most normal applications this method is not needed. However,
if this API is being used from an isolated classloader, then it needs to
be called in order to reference all jars that are required by the
implementation.setAdditionalCompilerClassPath in class WSContractConsumeradditionalCompilerClassPath - a list of strings where each entry references a
single jar or directorypublic void setAdditionalHeaders(boolean additionalHeaders)
WSContractConsumersetAdditionalHeaders in class WSContractConsumeradditionalHeaders - a boolean enabling processing of implicit SOAP headerspublic void setTarget(String target)
WSContractConsumersetTarget in class WSContractConsumertarget - the JAX-WS specification version.public void setNoCompile(boolean nocompile)
WSContractConsumersetNoCompile in class WSContractConsumernocompile - whether or not to compile Java source.public void setClientJar(File clientJar)
WSContractConsumersetClientJar in class WSContractConsumerclientJar - client Jar file namepublic void consume(URL wsdl)
WSContractConsumerconsume in class WSContractConsumerwsdl - the URL of the WSDLprotected static int getJVMMajorVersion()
Copyright © 2018 JBoss by Red Hat. All rights reserved.