Closed as program error.
When attempting to use a JAXB/JAXWS MTOM enabled web service, certain APIs are non-functional on z/OS. The stacktrace for this issue will show a failure to parse headers and/or the message itself: com.sun.xml.internal.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: java.lang.IllegalStateException: Internal Error. Didn't get Headers even after complete parsing. at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode at com.sun.xml.internal.ws.transport.http.client. HttpTransportPipe.process at com.sun.xml.internal.ws.transport.http.client. HttpTransportPipe.processRequest ... This problem is due to incorrect encoding of strings between the default platform codepage (EBCDIC) and the network encoding (ASCII / ISO-8859)
Running the JVM in "ASCII" mode with a different default encoding may resolve your issue, but may also cause problems in applications that expect normal z/OS EBCDIC processing. This would require the following three arguments to the JVM to change the default encoding, ensure EBCDIC messages, and allow EBCDIC input parameters/arguments: -Dfile.encoding=ISO8859-1 -Dconsole.encoding=CP1047 -Xnoargsconversion
As per JAX specification, the header of the message should be in ASCII format and it has to be processed in ASCII encoding. For non-zOS platforms, the default encoding is ASCII and it process the message properly. For zOS, the default encoding is EBCDIC and process the message in EBCDIC as encoding is not explicitly specified while processing the message which cause the failure.
This defect will be fixed in: 6.0.0 SR11 6.0.1 SR3 7.0.0 SR3 . JVM is updated to use ASCII encoding explicitly for processing message headers in web service.
Reported component name
JAVA CLASS LIBS
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA CLASS LIBS
Fixed component ID
Applicable component levels
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.