Deprecated Soap getPrefix() calls should be replaced.
-----------------------------------------------------
Key: CXF-3081
URL: https://issues.apache.org/jira/browse/CXF-3081
Project: CXF
Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Robert Liguori
Priority: Minor
I think the getPrefix() calls from the org.apache.cxf.binding.soap.SoapVersion
class should be replaced with getPrefix() calls from
org.apache.cxf.binding.soap.Soap11 and org.apache.cxf.binding.soap.Soap12 in
order to resolve the respective warnings in the following reference (from a CXF
2.3.0 maven build):
Reference:
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CXF Runtime SOAP Binding
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\target
[INFO] [checkstyle:checkstyle {execution: validate}]
[INFO] Starting audit...
Audit done.
[INFO] Preparing pmd:check
[INFO] [pmd:pmd {execution: pmd}]
[INFO] [pmd:check {execution: validate}]
[INFO]
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 7 resources
[INFO] skip non existing resourceDirectory
C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\src\main\resources-filtered
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 68 source files to
C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\target\classes
[WARNING]
\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\src\main\java\org\apache\cxf\binding\soap\Soap12.java:[141,18]
[deprecation] getPrefix() in org.apache.cxf.binding.soap.SoapVersion has been
deprecated
[WARNING]
\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\src\main\java\org\apache\cxf\binding\soap\Soap11.java:[161,18]
[deprecation] getPrefix() in org.apache.cxf.binding.soap.SoapVersion has been
deprecated
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 12 resources
[INFO] skip non existing resourceDirectory
C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\target\generated\src\test\resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 16 source files to
C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\target\test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\bindings\soap\target\surefire-reports
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.