Fixes are available
8.5.5.1: WebSphere Application Server V8.5.5 Fix Pack 1
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
APAR status
Closed as program error.
Error description
When running wsgen command with -inlineSchemas option, UnsupportedOperationException could be thrown. Here is sample command syntaxt and thrown exception. wsgen.bat" -cp . testService -wsdl -inlineSchemas java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0 at sun.reflect.NativeMethodAccessorImpl.invoke at sun.reflect.DelegatingMethodAccessorImpl.invoke at java.lang.reflect.Method.invoke at com.ibm.ws.bootstrap.WSLauncher.main Caused by: java.lang.UnsupportedOperationException at com.ibm.jtc.jax.xml.txw2.output.TXWSerializer.startDocument at com.ibm.jtc.jax.xml.bind.v2.schemagen.XmlSchemaGenerator $CommentFilter.startDocument(XmlSchemaGenerator.java:506z at com.ibm.jtc.jax.xml.txw2.Document$1.onStartTag at com.ibm.jtc.jax.xml.txw2.StartTag.accept at com.ibm.jtc.jax.xml.txw2.Document.run at com.ibm.jtc.jax.xml.txw2.Content.setNext at com.ibm.jtc.jax.xml.txw2.ContainerElement.addChild at com.ibm.jtc.jax.xml.txw2.ContainerElement._element at com.ibm.jtc.jax.xml.txw2.ContainerElement.addElement at com.ibm.jtc.jax.xml.txw2.ContainerElement.invoke at $Proxy21.element at com.ibm.jtc.jax.xml.bind.v2.schemagen.XmlSchemaGenerator $Namespace$ElementWithType.writeTo at com.ibm.jtc.jax.xml.bind.v2.schemagen.XmlSchemaGenerator $Namespace.writeTo at com.ibm.jtc.jax.xml.bind.v2.schemagen.XmlSchemaGenerator $Namespace.access$700 at com.ibm.jtc.jax.xml.bind.v2.schemagen.XmlSchemaGenerator .write at com.ibm.jtc.jax.xml.bind.v2.runtime.JAXBContextImpl .generateSchema at com.ibm.jtc.jax.xml.ws.wsdl.writer.WSDLGenerator .generateTypes at com.ibm.jtc.jax.xml.ws.wsdl.writer.WSDLGenerator .generateDocument at com.ibm.jtc.jax.xml.ws.wsdl.writer.WSDLGenerator .doGeneration at com.ibm.jtc.jax.tools.ws.wscompile.WsgenTool.buildModel at com.ibm.jtc.jax.tools.ws.wscompile.WsgenTool.run at sun.reflect.NativeMethodAccessorImpl.invoke0 at sun.reflect.NativeMethodAccessorImpl.invoke at sun.reflect.DelegatingMethodAccessorImpl.invoke at java.lang.reflect.Method.invoke at com.ibm.jtc.jax.tools.ws.Invoker.invoke at com.ibm.jtc.jax.tools.ws.WsGen.main at com.ibm.ws.jaxws.tools.WsGen.main ... 5 more
Local fix
not using inlineSchemas option. and manually edit wsdl with inline schema style.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server using JAX-WS web services. * **************************************************************** * PROBLEM DESCRIPTION: Wsgen fails with UnsupportedException * * while generating artifacts if the * * '-inlineSchemas' option is used. * **************************************************************** * RECOMMENDATION: Install a fix pack containing this APAR. * **************************************************************** IBM has implemented a feature in JAX-WS 2.2.1 RI which includes JAXB version information as 'comments'. Wsgen fails with UnsupportedException as JAXB uses TXWSerializer for 'inlineSchemas' which does not support comments.
Problem conclusion
The problem is resolved by imposing a check on result type and exemptimg it from including the version info if the corresponding serializer does not support comments. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.8, and 8.5.5.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM88616
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-05-07
Closed date
2013-07-12
Last modified date
2013-07-12
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
11 January 2022