JDK-8038307 : JAX-WS conformance tests fail when running JCK-devtools-8 suite against RI in EBCDIC emulation mode
  • Type: Bug
  • Component: xml
  • Sub-Component: jax-ws
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-03-25
  • Updated: 2017-03-09
  • Resolved: 2014-04-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b08Fixed
Description
When running JCK-devtools-8 suite against JDK-8 in EBCDIC emulation mode following tests fail:

jaxws/mapping/w2jmapping/document/literal/noncustomization/HeaderTest.html#HeaderTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/ServiceAndPortTest.html#ServiceAndPortTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/OperationTest.html#OperationTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/WrapperStyleTest.html#WrapperStyleTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/PortTypeTest.html#PortTypeTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/FaultTest.html#FaultTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/NonWrapperStyleTest.html#NonWrapperStyleTest
jaxws/mapping/w2jmapping/document/literal/noncustomization/SoapHeaderAndFaultTest.html#SoapHeaderAndFaultTest
jaxws/mapping/w2jmapping/document/literal/customization/PortTypeTest.html#PortTypeTest
jaxws/mapping/w2jmapping/document/literal/customization/OperationTest.html#OperationTest
jaxws/mapping/w2jmapping/document/literal/customization/SoapHeaderAndFaultTest.html#SoapHeaderAndFaultTest
jaxws/mapping/w2jmapping/document/literal/customization/HeaderTest.html#HeaderTest
jaxws/mapping/w2jmapping/document/literal/customization/ServiceAndPortTest.html#ServiceAndPortTest
jaxws/mapping/w2jmapping/document/literal/customization/FaultTest.html#FaultTest
jaxws/mapping/w2jmapping/document/literal/customization/WrapperStyleTest.html#WrapperStyleTest
jaxws/mapping/w2jmapping/document/literal/customization/ServiceConstructorsTest.html#ServiceConstructorsTest
jaxws/mapping/w2jmapping/document/literal/customization/NonWrapperStyleTest.html#NonWrapperStyleTest
jaxws/mapping/w2jmapping/document/literal/annotations/WebFaultAnnotationsTest.html#WebFaultAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/WebServiceAnnotationTest.html#WebServiceAnnotationTest
jaxws/mapping/w2jmapping/document/literal/annotations/HandlerChainAnnotationsTest.html#HandlerChainAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/ResponseWrapperAnnotationTest.html#ResponseWrapperAnnotationTest
jaxws/mapping/w2jmapping/document/literal/annotations/SOAPBindingAnnotationTest.html#SOAPBindingAnnotationTest
jaxws/mapping/w2jmapping/document/literal/annotations/HelloOperationAnnotationsTest.html#HelloOperationAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/OnewayAnnotationsTest.html#OnewayAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/WebServiceClientAnnotationsTest.html#WebServiceClientAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/WebEndpointAnnotationsTest.html#WebEndpointAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/RequestWrapperAnnotationTest.html#RequestWrapperAnnotationTest
jaxws/mapping/w2jmapping/document/literal/annotations/ActionFaultActionAndAddressingAnnotationsTest.html#ActionFaultActionAndAddressingAnnotationsTest
jaxws/mapping/w2jmapping/document/literal/annotations/WebParamModesAnnotationsTest.html#WebParamModesAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/HeaderTest.html#HeaderTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/OperationTest.html#OperationTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/WrapperStyleTest.html#WrapperStyleTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/NonWrapperStyleTest.html#NonWrapperStyleTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/ServiceAndPortTest.html#ServiceAndPortTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/FaultTest.html#FaultTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/SoapHeaderAndFaultTest.html#SoapHeaderAndFaultTest
jaxws/mapping/w2jmapping/rpc/literal/noncustomization/PortTypeTest.html#PortTypeTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/WebServiceClientAnnotationsTest.html#WebServiceClientAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/WebEndpointAnnotationsTest.html#WebEndpointAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/WebServiceAnnotationTest.html#WebServiceAnnotationTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/ClassLevelSOAPBindingAnnotationTest.html#ClassLevelSOAPBindingAnnotationTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/WebParamModesAnnotationsTest.html#WebParamModesAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/WebFaultAnnotationsTest.html#WebFaultAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/ActionFaultActionAndAddressingAnnotationsTest.html#ActionFaultActionAndAddressingAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/OnewayAnnotationsTest.html#OnewayAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/annotations/HelloOperationAnnotationsTest.html#HelloOperationAnnotationsTest
jaxws/mapping/w2jmapping/rpc/literal/customization/FaultTest.html#FaultTest
jaxws/mapping/w2jmapping/rpc/literal/customization/PortTypeTest.html#PortTypeTest
jaxws/mapping/w2jmapping/rpc/literal/customization/EnableWrapperStyleFalseTest.html#EnableWrapperStyleFalseTest
jaxws/mapping/w2jmapping/rpc/literal/customization/ServiceAndPortTest.html#ServiceAndPortTest
jaxws/mapping/w2jmapping/rpc/literal/customization/OperationTest.html#OperationTest
jaxws/mapping/w2jmapping/rpc/literal/customization/HeaderTest.html#HeaderTest
jaxws/mapping/w2jmapping/rpc/literal/customization/SoapHeaderAndFaultTest.html#SoapHeaderAndFaultTest
jaxws/mapping/w2jmapping/rpc/literal/customization/EnableWrapperStyleTrueTest.html#EnableWrapperStyleTrueTest

The tests above fail with the output similar to following one:

parsing WSDL...


[ERROR] IOException thrown when processing "http://dummy.pseudo-schema#schema2". Exception: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence..

I suppose some internal schema couldn't be read.

The minimized test is attached; instructions to reproduce the issue:
1. Copy attached test1.zip file to Solaris machine.
2. Unzip test1.zip.
3. In the unzipped test1 directory modify run.sh by setting JDK_HOME environment variable to proper value.
4. Change current directory to unzipped test1 directory.
5. Run run.sh script from unzipped test1 directory.
Comments
Test passed
25-12-2014

"conformance" label is removed since this is not conformance issue because public documentation doesn't specify how file.encoding Java property affects wsimport behavior when it's started through internal API.
11-04-2014

Issue fixed in JAX-WS trunk.
31-03-2014

Mirane would you please evaluate this one? Thanks.
26-03-2014